Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from itertools import product
- import os
- import string
- chars = []
- digits = []
- chars += string.ascii_lowercase
- chars += string.ascii_uppercase
- digits += string.digits
- charscombo = map("".join, product(chars, repeat=3))
- digitcombo = map("".join, product(chars, repeat=3))
- intstring = "zzzzzzzyyyyyyyfffffffjjjjjffffff"
- for char in charscombo:
- for dgt in digitcombo:
- completestring = dgt + intstring + char
- execall = "./key.exe " + completestring
- result = os.system(execall)
- if(result == 256):
- with open("test.txt", "a") as answerfile:
- answerfile.write(completestring)
- answerfile.write('\n')
- print("done")
Add Comment
Please, Sign In to add comment