Skip to content

Instantly share code, notes, and snippets.

@LinuxPhreak
Created January 20, 2019 09:14
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 LinuxPhreak/770499e08ecd4b53e82ba20b45abe616 to your computer and use it in GitHub Desktop.
Save LinuxPhreak/770499e08ecd4b53e82ba20b45abe616 to your computer and use it in GitHub Desktop.
Check Word List to see if your password exists in it
#!/usr/bin/env python3
wordlist = input('Path to Wordlist?: ')
pw = input('Enter Password to check?: ')
with open(wordlist, encoding ='ISO-8859-1') as inF:
for line in inF:
if pw in line:
print(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment