-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
当前仓库代码中,config.json 和 all_keys.json 的读写大量依赖 open(...) 的系统默认编码,没有统一指定 encoding。
会读写 config.json,但未指定编码
- config.py:172
- config.py:184-185
- config.py:189-190
- find_image_key.py:337
- find_image_key.py:395-396
- find_image_key_monitor.py:230
- find_image_key_monitor.py:295-296
会读取 all_keys.json / keys_file,但未指定编码
- main.py:31
- main.py:62
- mcp_server.py:32
- mcp_server.py:55
- decrypt_db.py:119
- monitor.py:152
- monitor_web.py:1886
- latency_test.py:18
项目内已显式指定 UTF-8 的写入点
- key_scan_common.py:161
当前仓库内对于 JSON 文件编码处理并不统一。
使用微信版本号: 4.1.8.26 打开运行main.py时提示解密失败
尝试将所有文件统一成UTF8编码后可以正常解密数据库
这几个问题都有可能是这个原因造成 #27 #26
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels