Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from string import ascii_lowercase as letters
- from itertools import product
- """
- (regardless keep the len of the word smaller)
- if you want to try upper and lowercase use ascii_letters
- for realistic passsword import ascii_letters, digits, punctuation
- """
- target = input("Enter target word: ")
- alpha = letters + " "
- for password in product(alpha, repeat=len(target)):
- print("".join(password))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement