Skip to content

Instantly share code, notes, and snippets.

@JohnTroony
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnTroony/06bdce6a6263a3084a91 to your computer and use it in GitHub Desktop.
Save JohnTroony/06bdce6a6263a3084a91 to your computer and use it in GitHub Desktop.
#!/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