Last active
August 29, 2015 14:21
-
-
Save JohnTroony/06bdce6a6263a3084a91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Troon Jay | |
from itertools import product | |
def allwords(chars, length): | |
for letters in product(chars, repeat=length): | |
yield ''.join(letters) | |
def main(): | |
characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!#$%&'()*+,-./:;?@[\]^_`{|}~)" | |
wordlen=1 | |
for word in allwords(characters, wordlen): | |
passwrd="Insecure_admin"+word | |
print(passwrd) | |
if __name__=="__main__": | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment