Follow us on Twitter!
Ideas are far more powerful than guns.
Friday, April 18, 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: 17
Guests Online: 15
Members Online: 2

Registered Members: 82822
Newest Member: TheBunter
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

python help


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-01-09 21:48
well no one wants to respond to the old thread so i guess i have to make a new one.

OK i am working on a program that encrypts/encodes and decrypts/decodes and a it has a md5 brute forcer that reads from a text file. 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