2024-12-2-SQL注入基操

2024-12-2-SQL注入基操

十二月 02, 2024

SQL 注入基操

基本判断

sqlLabs 第一题

http://127.0.0.1/Less-1/?id=1'

回显

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1'' LIMIT 0,1' at line 1

翻译

您的SQL语法有错误;查看与MySQL服务器版本对应的手册,了解第1行“1”“LIMIT 0,1”附近使用的正确语法 这时候已经很明显了

有报错回显的注入

1
2
3


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' LIMIT 0,1' at line 1