Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- from hashlib import md5
- from getpass import getpass
- from os import popen
- s='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZZZ'
- site=raw_input('Site: ')
- y=getpass()
- z=getpass()
- if z!='' and y != z:
- print "NOT EQUAL!"
- exit(1)
- p="".join([s[ord(x)>>2] for x in md5(site+md5(y).hexdigest()).digest()[:8]])
- print p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement