Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: D4rk-cracker : A md5 cracker in python Share/Save - My123World.Com!

  1. #1
    Garage Member D4rk357's Avatar
    Join Date
    Jul 2010
    Location
    localhost@mumbai
    Posts
    153
    Blog Entries
    1

    D4rk-cracker : A md5 cracker in python

    This is my second code in python .. i have worked upon handling unexpected requests and a good format in which the information will be printed .
    This tool can easily be expanded by adding more online md5 crack resources .

    Code:
    #!/usr/bin/python
    
    # D4rk-cracker-- A small python code for MD5 cracking
    # Coded By D4rk357[2010]
    
    
    import urllib,urllib2, re,sys,cookielib
    from socket import*
    
    if len(sys.argv) != 2:
    	print "\n|-----------------------------------------------------------------|"
            print "|          lastman100[@]gmail[dot]com                             |"
            print "|           10/2010     MD 5 Cracker    v0.1                      |"                   
    	print "| Visit   : www.garage4hackers.com                                |"
            print "|-----------------------------------------------------------------|\n"
    	
    mhash= raw_input('please enter the hash to crack :')
    params =  urllib.urlencode({'term':mhash})
    f=urllib.urlopen("http://md5crack.com/crackmd5.php", params)
    tas= f.read()
    link=re.compile('Found: md5'+'\S+'+'\s+'+'\S+'+'\s+'+'\w+')
    
    if link.search(tas):
    	a= link.search(tas).group()
    	print("[+]cracking...\n \n[+]Hash Cracked from md5crack.com \n")
    	print a.strip('[Found,:]')
    else:
    	print "[+] Hash not found on md5crack.com\n"
    
    
    	
    params=urllib.urlencode({'oc_check_md5':mhash})
    f=urllib.urlopen("http://opencrack.hashkiller.com/",params)
    tas=f.read()
    link=re.compile('result'+'.*'+'\S')
    if link.search(tas):
    	a= link.search(tas).group()
    	print("\n[+]Hash Cracked from hashkiller.com \n")
    	print a.strip('[result,",>,<br/>]') 
    else:
    	print "[+] \nHash not found on hashkiller.com\n"
    
    params=urllib.urlencode({'search_field':mhash})
    f=urllib.urlopen("http://hashchecker.com/index.php?_sls=search_hash",params)
    tas=f.read()
    link=re.compile('Your md5 hash is :'+'\S+'+'\s+'+'\S+'+'\s+'+'\S+')
    
    if link.search(tas):
    	a= link.search(tas).group()
    	print("\n[+]Hash Cracked from hashchecker.com \n")
    	print a.strip('[Your md5 hash is :,<br>,<li>,<b>,</b>]')
    else:
    	print "[+] \nHash not found on hashchecker.com\n"
    Last edited by D4rk357; 11-13-2010 at 02:57 PM.
    Spirit was turned 2 ashes ,soul endured so much pain..
    now the darker time evanescence ,the fallen shall rise again.

  2. #2
    Rocking as always bro...and sexy shot
    The three great essentials to achieve anything worth while are: Hard work, Stick-to-itiveness, and Common sense. - Thomas A. Edison
    __________________________________________________ _____________________

  3. #3
    Garage Member D4rk357's Avatar
    Join Date
    Jul 2010
    Location
    localhost@mumbai
    Posts
    153
    Blog Entries
    1
    Thanks Prashant . I had this idea from past 1 year to make this tool ..but i was procastinating .. The EMpty() ne jab force kiya ki taal mat .. work hard tabhi i completed it (After being forced by the_empty to work hard on the idea...I finally managed to complete it)
    Last edited by b0nd; 11-14-2010 at 06:42 AM. Reason: Conversion of Hindi text to English text for few of our beloved members
    Spirit was turned 2 ashes ,soul endured so much pain..
    now the darker time evanescence ,the fallen shall rise again.

  4. #4
    Security Researcher
    Join Date
    May 2011
    Location
    Pune, Maharashtra, India
    Posts
    237
    Blog Entries
    1
    Good idea.... Hey bro just one suggestion
    why not add more such sites in the list in sense what i am trying to say is utilize most of the online resorces and then when all exhausted say its not found.
    Also if someone has necessary resources can we create a md5 hash dump (wondering what would be the size of dump for 15 Character small caps alphabet and number + special character basically whole keyboard. )
    I am bad at maths however i suppose it should be
    15*26*26*10*20*32 = 64GB approx
    considering 15 char 26 a-z 26 A-Z 10 0-9 20 special char 32 bits of hash.
    (This might be wrong in that case please do correct me.)

  5. #5
    ... I am no Expert b0nd.g4h@gmail.com b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    744
    Probably it would be something like following:
    Considering 102 charset (26 + 26 + 10 + 20 = 102)

    For 15 character password:
    1st place can be filled by 102 chars, at the same time 2nd place can be filled by 102 chars, at the same time 3rd place can be filled by 102 chars...and so on...
    So total combination 102^15 and total chars would be 102^15 * 15 i.e so many bytes
    (102^15 * 15)/(1024 * 1024 * 1024) GB.

    That's why they could not be generated till date. My calculation is not precise but I know the sum would even cross Peta bytes.
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

  6. #6
    Security Researcher fb1h2s's Avatar
    Join Date
    Jul 2010
    Location
    India
    Posts
    616
    Blog Entries
    32
    @Anant we have a project which WIPU's (dream project), where we are planning to set up our on Cracking server. We believe we will have it done by this year hopefully .
    Hacking Is a Matter of Time Knowledge and Patience

  7. #7
    Security Researcher
    Join Date
    May 2011
    Location
    Pune, Maharashtra, India
    Posts
    237
    Blog Entries
    1
    I can contribute with some funds.... (although not much but still something better then nothing.)

  8. #8
    Security Researcher
    Join Date
    May 2011
    Location
    Pune, Maharashtra, India
    Posts
    237
    Blog Entries
    1
    Quote Originally Posted by b0nd View Post
    Probably it would be something like following:
    Considering 102 charset (26 + 26 + 10 + 20 = 102)

    For 15 character password:
    1st place can be filled by 102 chars, at the same time 2nd place can be filled by 102 chars, at the same time 3rd place can be filled by 102 chars...and so on...
    So total combination 102^15 and total chars would be 102^15 * 15 i.e so many bytes
    (102^15 * 15)/(1024 * 1024 * 1024) GB.

    That's why they could not be generated till date. My calculation is not precise but I know the sum would even cross Peta bytes.
    I seem to forgot that we also need to store the word for which md5 is generated.......

  9. #9
    Security Researcher
    Join Date
    May 2011
    Location
    Pune, Maharashtra, India
    Posts
    237
    Blog Entries
    1
    Hey as per our last pune meet adding some more site examples here

    API for Md5 generation and cracking :
    http://md5.noisette.ch/
    http://crax.eth24.net/api/

    More sites :
    http://www.cmd5.org/
    http://www.hashhack.com/ <- although looks like it has human check but for me on different computer's different browser and different ip's the check was same 3+2 =
    http://bokehman.com/cracker/
    http://passcracking.com/

    covers large number of links
    http://www.stottmeister.com/blog/200...md5-passwords/


    Now all we need is to write all this down in a neat script first and then as decided write it in a multithreaaded application.

    Others also please do send in your suggestion.
    Website :
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    Blog :
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  10. #10
    Garage Member D4rk357's Avatar
    Join Date
    Jul 2010
    Location
    localhost@mumbai
    Posts
    153
    Blog Entries
    1
    Nice idea .....One problem i faced is some of the very good md5 cracking resources online have captcha and i couldn't get around them . Secondly some websites required login ....That problem can be soolved by making a user on website and providing login through the code but the last time i checked ( which was few months back ) due to my own limited knowledge of python i could not login using the script and handle cookies but this time around i will be able to do it .. as i have worked a bit on that ....but first part is still the pain in ass that captcha thing ....
    Spirit was turned 2 ashes ,soul endured so much pain..
    now the darker time evanescence ,the fallen shall rise again.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •