1.當輸入的參數為整形時,存在注入漏洞,則是數字型注入,而字符型注入的參數是字符串。
2.數字型不需要單引號來閉合,而字符串一般需要通過單引號來閉合的,例如:
//數字型:select * from table where id =3//字符型:select * from table where name=’admin’
//數字型:
select * from table where id =3
//字符型:
select * from table where name=’admin’