Skip to content

Instantly share code, notes, and snippets.

@errzey
Created May 20, 2010 16:23
Show Gist options
  • Save errzey/407755 to your computer and use it in GitHub Desktop.
Save errzey/407755 to your computer and use it in GitHub Desktop.
# md5 brute force in 3 lines of python.
# ./this <digest> <wordfile>
import sys, hashlib
for line in file(sys.argv[2]):
if hashlib.md5(line.rstrip()).hexdigest() == sys.argv[1]: print line,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment