HVV常见面试题--SQL注入

一、SQL注入

  SQL注入语法:

 

  1.  联合注入

select * from user where ID=1 order by 5;

  2.  时间盲注

select * from user where id=1 and

      (substr ( (select database(),1,1)="t") and sleep(5);

  3.  布尔盲注

select schema_name from information_schemata limit 1,1;

  4.  堆叠注入

select * from user where id=1;select database();

  5.  报错注入

and 1=2 --q

  6.  延时注入

  7.  宽字节注入

 

posted @ 2022-05-03 23:08  才知几何  阅读(263)  评论(0)    收藏  举报