SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2.  
  3. from hashlib import md5
  4. from getpass import getpass
  5. from os import popen
  6.  
  7. s='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZZZ'
  8.  
  9. site=raw_input('Site: ')
  10. y=getpass()
  11. z=getpass()
  12. if z!='' and y != z:
  13.         print "NOT EQUAL!"
  14.         exit(1)
  15. p="".join([s[ord(x)>>2] for x in md5(site+md5(y).hexdigest()).digest()[:8]])
  16. print p
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top