1.sql注入 通过把SQL命令插入到Web表单提交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令. 2.sql注入类型 按照注入点类型来分类 (1)数字型注入点 在 Web 端大概是 http://xxx.com/news.php?id=1 这种形式,其注入点 id 类型为数字,所以叫数字型注入点.这一类的 SQL 语句原型大概为 select * from 表名 where id=1.组合出来的sql注入语句为:select * from news where id…
#SQL注入各个类型检测方式 http://127.0.0.1/day6/1.php?id=1 union select 1,name,pass from admin 数字型 数字型不用特意加字符,直接 and1=2检测是否有注入点: http://127.0.0.1/day6/1.php?key=-test' union select 1,name,pass from admin --+ 字符型 字符型需要在'xx--+ 中间输入命令,' and 1=2 --+ 检测是否有注入点: http:…