Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hashlib
- count = 0
- f = open('words.txt')
- for line in f:
- count += 1
- line = line.strip()
- username = "user1176" ######
- realm = "Boutique Cassee"
- hashedpw = username +":"+realm+":"+line
- hashedpw = (hashlib.md5(hashedpw.encode('utf-8')).hexdigest())
- dbhash = "5e4753910dd5d5b734771f26feeb6de2" #####
- if hashedpw == dbhash:
- print("password:", line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement