Follow us on Twitter!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 57
Guests Online: 55
Members Online: 2

Registered Members: 82803
Newest Member: Tired_of_being_ignorant
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

RE: pyhton help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-09 19:37
OK i am working on a program that encrypts/encodes and decrypts/decodes and a md5 brute forcer that reads from a text file is part of it. i have it set so it can encrypt multiple strings at once and return them all but when i want to decrypt more than one it only returns the last one.

here is the md5 part of the code

decrypter
Code
    if(option == "md5"):
       
        path1 = raw_input("Enter the path for the Hash ")
        print ""
        path2 = raw_input("Enter the path for the Word List ")
       
        path1 = open(path1, 'r')
        path2 = open(path2, 'r')
       
        path1 = path1.readlines()
        path2 = path2.readlines()

        for y in path1:
           md = y[0:len(y)]
       
           for x in path2:
            theHash = md5.new(x[0:len(x)-1])
            theHash = theHash.digest()
            theHash = theHash.encode("hex")
       
            if(theHash==md):
               print "Your hash/hashes "
               print ""
               print md+" = "+x
               print ""




any help would be appreciated