Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. import hashlib
  2.  
  3. hashes = ["86a1ea3adf8fbb53eb7a9b6b6b01c020", "099b3b060154898840f0ebdfb46ec78f", "912ec803b2ce49e4a541068d495ab570", "1a1dc91c907325c69271ddf0c944bc72", "81dc9bdb52d04dc20036dbd8313ed055", "3d3e47f4b9143d4d788b5bda77ba41f9", "902fbdd2b1df0c4f70b4a5d23525e932", "4a7d1ed414474e4033ac29ccb8653d9b", "912ec803b2ce49e4a541068d495ab570", "6d87a19f011653459575ceb722db3b69", "9996535e07258a7bbfd8b132435c5962", "17d33d006957f5528a413429c3049b35"]
  4. attempt = ""
  5. index = [0]
  6. charset = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
  7.  
  8. # Increments the character by one
  9. def incrementChar():
  10. index[0] += 1
  11. for pos in range(len(index)):
  12. if index[pos] >= len(charset) + 1:
  13. if len(index) > pos:
  14. index.append(1)
  15. index[pos] = 0
  16. else:
  17. index[pos] += 1
  18.  
  19. # Decodes index into attempt
  20. def decodeAttempt():
  21. print("wip")
  22.  
  23. incrementChar()
  24. print(index)
  25. #hashlib.md5("Nobody inspects the spammish repetition").hexdigest()
  26.  
  27.  
  28. # def solve_password(word):
  29. # global attempted_password
  30. # for character in word:
  31. # for entry in list_of_chars:
  32. # if character == entry:
  33. # attempted_password += character
  34. # continue
  35. # return attempted_password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement