Lembrando ele é bom para estudos !
por que ele procura hash em algum sites !
por que ele procura hash em algum sites !
Código PHP:
#!/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"
Comment