From 2622c32b38d595c7b29356f2ed95a1870c9796f4 Mon Sep 17 00:00:00 2001 From: SiYuan <863909694@qq.com> Date: Mon, 23 Sep 2024 22:08:00 +0800 Subject: [PATCH] update version_list --- app/decrypt/decrypt.py | 1 + app/decrypt/get_bias_addr.py | 15 +-- app/decrypt/version_list.json | 190 +++++++++++++++++++++++++++ app/resources/data/version_list.json | 190 +++++++++++++++++++++++++++ 4 files changed, 382 insertions(+), 14 deletions(-) diff --git a/app/decrypt/decrypt.py b/app/decrypt/decrypt.py index 0ef154e7..f4c57f48 100644 --- a/app/decrypt/decrypt.py +++ b/app/decrypt/decrypt.py @@ -4,6 +4,7 @@ # Description: # Author: xaoyaoo # Date: 2023/08/21 +# License: https://github.com/xaoyaoo/PyWxDump/blob/3b794bcb47b0457d1245ce5b4cfec61b74524073/LICENSE MIT # 微信数据库采用的加密算法是256位的AES-CBC。数据库的默认的页大小是4096字节即4KB,其中每一个页都是被单独加解密的。 # 加密文件的每一个页都有一个随机的初始化向量,它被保存在每一页的末尾。 # 加密文件的每一页都存有着消息认证码,算法使用的是HMAC-SHA1(安卓数据库使用的是SHA512)。它也被保存在每一页的末尾。 diff --git a/app/decrypt/get_bias_addr.py b/app/decrypt/get_bias_addr.py index 83d68da1..58f6b738 100644 --- a/app/decrypt/get_bias_addr.py +++ b/app/decrypt/get_bias_addr.py @@ -4,6 +4,7 @@ # Description: # Author: xaoyaoo # Date: 2023/08/22 +# License: https://github.com/xaoyaoo/PyWxDump/blob/3b794bcb47b0457d1245ce5b4cfec61b74524073/LICENSE MIT # ------------------------------------------------------------------------------- import argparse import ctypes @@ -247,20 +248,6 @@ def run(self, logging_path=False, version_list_path=None): key_bias = self.get_key_bias2(self.db_path) if key_bias <= 0 and self.db_path else key_bias rdata = {self.version: [name_bias, account_bias, mobile_bias, 0, key_bias]} - - if version_list_path and os.path.exists(version_list_path): - with open(version_list_path, "r", encoding="utf-8") as f: - data = json.load(f) - data.update(rdata) - with open(version_list_path, "w", encoding="utf-8") as f: - json.dump(data, f, ensure_ascii=False, indent=4) - if os.path.exists(logging_path) and isinstance(logging_path, str): - with open(logging_path, "a", encoding="utf-8") as f: - f.write("{版本号:昵称,账号,手机号,邮箱,KEY}" + "\n") - f.write(str(rdata) + "\n") - elif logging_path: - print("{版本号:昵称,账号,手机号,邮箱,KEY}") - print(rdata) return rdata diff --git a/app/decrypt/version_list.json b/app/decrypt/version_list.json index 076563e1..a56b00e8 100644 --- a/app/decrypt/version_list.json +++ b/app/decrypt/version_list.json @@ -817,5 +817,195 @@ 46014472, 0, 0 + ], + "3.9.10.25": [ + 95135256, + 95136592, + 95135064, + 0, + 95136528 + ], + "3.9.10.27": [ + 95125656, + 95126992, + 95125464, + 0, + 95126928 + ], + "3.8.0.27": [ + 50268814, + 46060496, + 46060497, + 0, + 0 + ], + "3.9.10.26": [ + 71305744, + 71306712, + 71305600, + 0, + 0 + ], + "3.9.11.7": [ + 93459160, + 93460496, + 93458968, + 0, + 0 + ], + "3.9.11.5": [ + 93456272, + 93456272, + 93454744, + 0, + 0 + ], + "3.9.11.8": [ + 93454872, + 93456208, + 93454680, + 0, + 93456144 + ], + "3.9.11.9": [ + 93463000, + 93464336, + 93462808, + 0, + 93464272 + ], + "3.9.11.13": [ + 93546264, + 93547600, + 93547603, + 0, + 93547536 + ], + "3.9.11.15": [ + 93550360, + 93551696, + 93550168, + 0, + 93551632 + ], + "3.9.11.17": [ + 93550360, + 0, + 93550168, + 0, + 93551632 + ], + "3.9.6.13": [ + 0, + 0, + 0, + 0, + 61965584 + ], + "3.9.6.124": [ + 62034888, + 0, + 62034696, + 0, + 62036160 + ], + "3.9.11.19": [ + 93550296, + 93551632, + 93550104, + 0, + 93551568 + ], + "3.9.11.16": [ + 69861360, + 69862328, + 69861216, + 0, + 0 + ], + "3.9.11.18": [ + 69861296, + 69862264, + 69861152, + 0, + 0 + ], + "3.9.11.23": [ + 93701208, + 93725072, + 93701016, + 0, + 0 + ], + "3.7.5.25": [ + 37899832, + 37900640, + 37899688, + 0, + 0 + ], + "3.9.11.25": [ + 93701080, + 93702416, + 93700888, + 0, + 0 + ], + "3.9.11.24": [ + 69992304, + 69993272, + 0, + 0, + 0 + ], + "3.9.0.18": [ + 48385208, + 48386112, + 48385064, + 0, + 0 + ], + "3.9.7.24": [ + 0, + 52434792, + 52433680, + 0, + 30689842 + ], + "3.9.12.4": [ + 93809448, + 0, + 93809256, + 0, + 93810720 + ], + "3.9.12.9": [ + 93815072, + 93815072, + 93813544, + 0, + 93815008 + ], + "3.9.12.11": [ + 93810784, + 93810784, + 93809256, + 0, + 93810720 + ], + "3.9.11.33": [ + 0, + 93702416, + 0, + 0, + 93702352 + ], + "3.9.12.15": [93813544, 0, 93813352, 0, 93814968], + "3.9.12.14": [ + 70045856, + 70046824, + 70045712, + 0, + 0 ] } \ No newline at end of file diff --git a/app/resources/data/version_list.json b/app/resources/data/version_list.json index 076563e1..a56b00e8 100644 --- a/app/resources/data/version_list.json +++ b/app/resources/data/version_list.json @@ -817,5 +817,195 @@ 46014472, 0, 0 + ], + "3.9.10.25": [ + 95135256, + 95136592, + 95135064, + 0, + 95136528 + ], + "3.9.10.27": [ + 95125656, + 95126992, + 95125464, + 0, + 95126928 + ], + "3.8.0.27": [ + 50268814, + 46060496, + 46060497, + 0, + 0 + ], + "3.9.10.26": [ + 71305744, + 71306712, + 71305600, + 0, + 0 + ], + "3.9.11.7": [ + 93459160, + 93460496, + 93458968, + 0, + 0 + ], + "3.9.11.5": [ + 93456272, + 93456272, + 93454744, + 0, + 0 + ], + "3.9.11.8": [ + 93454872, + 93456208, + 93454680, + 0, + 93456144 + ], + "3.9.11.9": [ + 93463000, + 93464336, + 93462808, + 0, + 93464272 + ], + "3.9.11.13": [ + 93546264, + 93547600, + 93547603, + 0, + 93547536 + ], + "3.9.11.15": [ + 93550360, + 93551696, + 93550168, + 0, + 93551632 + ], + "3.9.11.17": [ + 93550360, + 0, + 93550168, + 0, + 93551632 + ], + "3.9.6.13": [ + 0, + 0, + 0, + 0, + 61965584 + ], + "3.9.6.124": [ + 62034888, + 0, + 62034696, + 0, + 62036160 + ], + "3.9.11.19": [ + 93550296, + 93551632, + 93550104, + 0, + 93551568 + ], + "3.9.11.16": [ + 69861360, + 69862328, + 69861216, + 0, + 0 + ], + "3.9.11.18": [ + 69861296, + 69862264, + 69861152, + 0, + 0 + ], + "3.9.11.23": [ + 93701208, + 93725072, + 93701016, + 0, + 0 + ], + "3.7.5.25": [ + 37899832, + 37900640, + 37899688, + 0, + 0 + ], + "3.9.11.25": [ + 93701080, + 93702416, + 93700888, + 0, + 0 + ], + "3.9.11.24": [ + 69992304, + 69993272, + 0, + 0, + 0 + ], + "3.9.0.18": [ + 48385208, + 48386112, + 48385064, + 0, + 0 + ], + "3.9.7.24": [ + 0, + 52434792, + 52433680, + 0, + 30689842 + ], + "3.9.12.4": [ + 93809448, + 0, + 93809256, + 0, + 93810720 + ], + "3.9.12.9": [ + 93815072, + 93815072, + 93813544, + 0, + 93815008 + ], + "3.9.12.11": [ + 93810784, + 93810784, + 93809256, + 0, + 93810720 + ], + "3.9.11.33": [ + 0, + 93702416, + 0, + 0, + 93702352 + ], + "3.9.12.15": [93813544, 0, 93813352, 0, 93814968], + "3.9.12.14": [ + 70045856, + 70046824, + 70045712, + 0, + 0 ] } \ No newline at end of file