Info BackTrack

Linux & Security Tutorial

Script Python Md5crack.py



#Requirements: Good Word Dictionary and create it as dictionary.txt in same directory
#Don't forgot to visit www.teamopenfire.com
#If you like this Share it via Facebook and Twitter::: My request
import hashlib
import sys

print "\t################################################################"
print "\t#                                        www.teamopenfire.com  #"
print "\t#       ###############      ########       ############       #"
print "\t#       #             #     ##      ##      #          #       #"
print "\t#       ######   ######     ##      ##      #   ########       #"
print "\t#            #   #          ##      ##      #   #              #"
print "\t#            #   #          ##      ##      #   #####          #"
print "\t#            #   #          ##      ##      #   #####          #"
print "\t#            #   #          ##      ##      #   #              #"
print "\t#            #   #          ##      ##      #   #              #"
print "\t#            #####    [#]    ########   [#] #####              #"
print "\t#                                                MD5 Decrypter #"
print "\t#                                            coded by Ajith KP #"
print "\t#                          Greets to Coded32 and T.O.F members #"
print "\t################################################################"
try:
    md5 = raw_input("\t\n\nMD5 Hash:")

    try:
        dictionary = open("dictionary.txt","r")
    except(IOError):
        print "dictionary.txt not found!"
    for passwd in dictionary.read().split('\n'):
        if hashlib.md5(passwd).hexdigest() == md5:

            print("\n\t[OK]"+md5+" : "+passwd+"\n")
            raw_input("Decrytion Success; Press Enter To Exit")
            sys.exit()
    else:
            print "\n\tFailed; Password not found in dictionary"

except (KeyboardInterrupt):
    print "\n\t[x] Session cancelled"
except (SystemExit):
    print "\t[X] Exit Success"

—done Artikel Terkait:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: