Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import hashlib
  2. count = 0
  3.  
  4. f = open('words.txt')
  5. for line in f:
  6. count += 1
  7.  
  8. line = line.strip()
  9. username = "user1176" ######
  10. realm = "Boutique Cassee"
  11.  
  12. hashedpw = username +":"+realm+":"+line
  13. hashedpw = (hashlib.md5(hashedpw.encode('utf-8')).hexdigest())
  14.  
  15. dbhash = "5e4753910dd5d5b734771f26feeb6de2" #####
  16.  
  17. if hashedpw == dbhash:
  18. print("password:", line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement