Advertisement
ajithkp560

MD5 Decrypter Dictionary Mode (Single)

May 27th, 2012
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.04 KB | None | 0 0
  1. #dictionary: http://pastebin.com/ghtTame2
  2. #image: http://i46.tinypic.com/jqpyf5.jpg
  3.  
  4. #Requirements: Good Word Dictionary and create it as dictionary.txt in same directory
  5. #Don't forgot to visit www.teamopenfire.com
  6. #If you like this Share it via Facebook and Twitter::: My request
  7. import hashlib
  8. import sys
  9.  
  10. print "\t################################################################"
  11. print "\t#                                        www.teamopenfire.com  #"
  12. print "\t#       ###############      ########       ############       #"
  13. print "\t#       #             #     ##      ##      #          #       #"
  14. print "\t#       ######   ######     ##      ##      #   ########       #"
  15. print "\t#            #   #          ##      ##      #   #              #"
  16. print "\t#            #   #          ##      ##      #   #####          #"
  17. print "\t#            #   #          ##      ##      #   #####          #"
  18. print "\t#            #   #          ##      ##      #   #              #"
  19. print "\t#            #   #          ##      ##      #   #              #"
  20. print "\t#            #####    [#]    ########   [#] #####              #"
  21. print "\t#                                                MD5 Decrypter #"
  22. print "\t#                                            coded by Ajith KP #"
  23. print "\t#                          Greets to Coded32 and T.O.F members #"
  24. print "\t################################################################"
  25. try:
  26.     md5 = raw_input("\t\n\nMD5 Hash:")
  27.  
  28.  
  29.     try:
  30.         dictionary = open("dictionary.txt","r")
  31.     except(IOError):
  32.         print "dictionary.txt not found!"
  33.     for passwd in dictionary.read().split('\n'):
  34.         if hashlib.md5(passwd).hexdigest() == md5:
  35.            
  36.             print("\n\t[OK]"+md5+" : "+passwd+"\n")
  37.             raw_input("Decrytion Success; Press Enter To Exit")
  38.             sys.exit()
  39.     else:
  40.             print "\n\tFailed; Password not found in dictionary"
  41.  
  42. except (KeyboardInterrupt):
  43.     print "\n\t[x] Session cancelled"
  44. except (SystemExit):
  45.     print "\t[X] Exit Success"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement