sql注入----sql injection 判断sql注入点


1.  单引号判断(')

 Error: 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 ''' at line 1  

错误:您的SQL语法有错误;检查与MySQL服务器版本相对应的手册,以获取第1行中靠近“”使用的正确语法

 2.盲注:有时候输入框中输入的内容不存,也有可能没得。

先了解一下like,比如select * from user where name like '%myName%'

如下:

 搜索出来的内容都是包含a的,在头脑里面考虑到like的用法,进行闭合。比如select * from movies where id=1 and sleep(10);