Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib, urllib2, re
- print ''' Simple Md5 Cracker
- //Indonesian Backtrack team
- //aiden_
- '''
- print "=" * 40
- regex = '<p>(.*?)</p>'
- pola = re.compile(regex)
- url = 'http://www.md5.net/md5-cracker/'
- #generator[hash]=098f6bcd4621d373cade4e832627b4f6&generator[submit]=
- hash = open('hash.txt','r')
- hash = hash.readlines()
- for i in hash:
- #print i
- i = i.replace("\n","")
- data = {'generator[hash]' : i,'generator[submit]' : ''}
- post_data = urllib.urlencode(data)
- crack = urllib2.urlopen(url, post_data)
- hasil = crack.read()
- hasil = re.findall(pola, hasil)
- print hasil[0]+' : '+i
- saveres = open('resultcrack.txt','a')
- saveres.write(hasil[0]+' : '+i+"\n")
Add Comment
Please, Sign In to add comment