Bulk .txt files generator based on spintax. HELP !!!

shuttershades

Senior Member
Joined
Oct 26, 2013
Messages
909
Reaction score
515
Looking for a tool or python3 script to generate multiple .txt or .csv files where on each file there is a unique combination.
I know there are free tools online who can make these but my spintax generate over 20k combinations :D
 
I did this with SpinnerChief a while back. I think, it still has a free version. If i can remember well, you can set the number of permutations you want to output into .txt files, so it won't wreck the system/tool. It was years ago, so probably now if you have a better setup with enough RAM, it can handle it without crashing.
 
If you want to only generate the files you can use this:
Code:
import random, string
filetype = "txt" # if you want csv/exe or whatever just replace the text between the "
amount_of_files = 5 # the amount of files you want to generate
amount_of_letters = 5 # amount of letters in the filename

for _ in range(amount_of_files):
    filename = "".join([random.choice(string.ascii_letters + "01234566789") for _ in range(amount_of_letters)])
    with open(f"files/{filename}.{filetype}", 'w') as f:
        f.write("")

input("Done. Press any key to exit")
 
If you want to only generate the files you can use this:
Code:
import random, string
filetype = "txt" # if you want csv/exe or whatever just replace the text between the "
amount_of_files = 5 # the amount of files you want to generate
amount_of_letters = 5 # amount of letters in the filename

for _ in range(amount_of_files):
    filename = "".join([random.choice(string.ascii_letters + "01234566789") for _ in range(amount_of_letters)])
    with open(f"files/{filename}.{filetype}", 'w') as f:
        f.write("")

input("Done. Press any key to exit")
Thx for your help.
What if I want to generate all combinations?
amount_of_files = unlimited
amount_of_letters = unlimited
 
like you can hash the file for a unique identity so you can check if that combination is already done
 
is there some simple tool , to enter 100 keyword sentences and have NESTED LOOPS done ........ i know how to do basic syntax , but how to do nested loops .... direct message me
 
Back
Top