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
- """
- 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 = [[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 to SpectrumOutput.lst...")
- with open('SpectrumOutput.lst', 'w') as file:
- for password in finresult:
- file.write(password + '\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement