Skip to content

Instantly share code, notes, and snippets.

@liamkinne
Created January 9, 2018 01:57
Show Gist options
  • Save liamkinne/81d7d2afc51858f2d3580c7f12d3e570 to your computer and use it in GitHub Desktop.
Save liamkinne/81d7d2afc51858f2d3580c7f12d3e570 to your computer and use it in GitHub Desktop.
import hashlib
import string
hashes = [
"81dc9bdb52d04dc20036dbd8313ed055",
"9e925e9341b490bfd3b4c4ca3b0c1ef2",
"0c6abf7ea4e78916347286a0824e0303",
"cd02fb25032a3044e82e0878472f2cf8",
"92bc5692652c7de350a473a64f364cf7",
]
for a in string.printable:
for b in string.printable:
for c in string.printable:
for d in string.printable:
word = a+b+c+d
hash = hashlib.md5(word.encode("utf-8")).hexdigest()
#print(str(hash))
if hash in hashes:
print("Sucess")
print(word)
print(hash)
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment