Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Generate all permutations of two english words and an interger between 999, i.e.
- ducklemon584
- """
- import itertools
- wordlist = []
- intlist = list(range(100,1000))
- finresult = []
- with open('words_alpha.lst') as file:
- for line in file:
- wordlist.append(line)
- print("Generating all permutations...")
- result = ("".join([word.rstrip('\n'), word2.rstrip('\n'), str(integer)]) for word in wordlist
- for word2 in wordlist
- for integer in intlist)
- # print("Concatenating permutations into passwords...")
- # for permu in result:
- # word1, word2, interger = permu
- # finresult.append(word1+word2+interger)
- print("saving passwords...")
- with open ('spectrumTEST', 'w') as file:
- for i in result:
- file.write(str(i) + "\n")
- # print("Saving passwords to SpectrumOutput.lst...")
- # with open('SpectrumOutput.lst', 'w') as file:
- # for password in result:
- # file.write(password + '\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement