Skip to content

Instantly share code, notes, and snippets.

@blha303
Last active August 29, 2015 13:57
Show Gist options
  • Save blha303/9569125 to your computer and use it in GitHub Desktop.
Save blha303/9569125 to your computer and use it in GitHub Desktop.
Best game ever.
# Usage: python bestgameever.py <password>
# Hint: It's alphanumeric, less than 5 characters.
from sys import argv
import hashlib
code = "98f588baf6859ca943164042560b6479dc277a8c481f186b6ef1b03cb5670dcdbeb226cd2e3808fd12f0b84eff6803290e667735b49fc4134206997e2add5ddf"
if len(argv) > 1:
if hashlib.sha512(hashlib.md5(argv[1]).hexdigest()).hexdigest() == code:
print "Yep."
else:
print "Nope."
else:
print "Nope."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment