From 55f170b84abe66f8d7150880c057ae4881ba02d4 Mon Sep 17 00:00:00 2001 From: Siyuan Ren Date: Mon, 21 Oct 2024 23:34:38 +0800 Subject: [PATCH] Fix the capitalization Needed on case sensitive filesystems --- app/decrypt/get_bias_addr.py | 2 +- app/decrypt/get_wx_info.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/decrypt/get_bias_addr.py b/app/decrypt/get_bias_addr.py index 58f6b738..951568ed 100644 --- a/app/decrypt/get_bias_addr.py +++ b/app/decrypt/get_bias_addr.py @@ -216,7 +216,7 @@ def verify_key(key, wx_db_path): pm = pymem.Pymem("WeChat.exe") module_name = "WeChatWin.dll" - MicroMsg_path = os.path.join(db_path, "MSG", "MicroMsg.db") + MicroMsg_path = os.path.join(db_path, "Msg", "MicroMsg.db") module = pymem.process.module_from_name(pm.process_handle, module_name) diff --git a/app/decrypt/get_wx_info.py b/app/decrypt/get_wx_info.py index 6d1bc2ea..9a29015a 100644 --- a/app/decrypt/get_wx_info.py +++ b/app/decrypt/get_wx_info.py @@ -327,7 +327,7 @@ def verify_key(key, wx_db_path): pm = pymem.Pymem("WeChat.exe") module_name = "WeChatWin.dll" - MicroMsg_path = os.path.join(db_path, "MSG", "MicroMsg.db") + MicroMsg_path = os.path.join(db_path, "Msg", "MicroMsg.db") type1_addrs = pm.pattern_scan_module(phone_type1.encode(), module_name, return_multiple=True) type2_addrs = pm.pattern_scan_module(phone_type2.encode(), module_name, return_multiple=True)