Guest User

Untitled

a guest
Jun 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import md5
  4. import base64
  5.  
  6. f = open("darkc0de.lst", "r")
  7.  
  8. while 1:
  9.     s = f.readline();
  10.     if not s:
  11.         print "** password not found!"
  12.         break
  13.  
  14.     h = s.strip("\r\n")
  15.     h = md5.new(h).hexdigest()
  16.     h = base64.b64encode("FirstSalt" + h + "SecondSalt")
  17.     h = md5.new(h).hexdigest()
  18.  
  19.     if (h == "091ac288e173243b2f5de0bcf1690218"):
  20.         print s
  21.         break
  22.  
  23. f.close()
Add Comment
Please, Sign In to add comment