
数据库查询语句
SQL注入
找到注入点
-
服务器调用了数据库
-
参数可控
构造轮子(POC)
-
admin'or 1=1 --
-
MySQL注释符号
-
#
-
/ /
-
查询语句
- select * from admin where username='123'and password=‘123’
查询语句
select
-
from 表名
-
[where 条件表达式1]
-
[group by 属性名1 [having 条件表达式2]]
-
[order by 属性名2 [asc | desc]]
-
Comments NOTHING