update version_list

This commit is contained in:
SiYuan 2024-09-23 22:08:00 +08:00
parent 8be7d0d34e
commit 2622c32b38
4 changed files with 382 additions and 14 deletions

View File

@ -4,6 +4,7 @@
# Description: # Description:
# Author: xaoyaoo # Author: xaoyaoo
# Date: 2023/08/21 # Date: 2023/08/21
# License: https://github.com/xaoyaoo/PyWxDump/blob/3b794bcb47b0457d1245ce5b4cfec61b74524073/LICENSE MIT
# 微信数据库采用的加密算法是256位的AES-CBC。数据库的默认的页大小是4096字节即4KB其中每一个页都是被单独加解密的。 # 微信数据库采用的加密算法是256位的AES-CBC。数据库的默认的页大小是4096字节即4KB其中每一个页都是被单独加解密的。
# 加密文件的每一个页都有一个随机的初始化向量,它被保存在每一页的末尾。 # 加密文件的每一个页都有一个随机的初始化向量,它被保存在每一页的末尾。
# 加密文件的每一页都存有着消息认证码算法使用的是HMAC-SHA1安卓数据库使用的是SHA512。它也被保存在每一页的末尾。 # 加密文件的每一页都存有着消息认证码算法使用的是HMAC-SHA1安卓数据库使用的是SHA512。它也被保存在每一页的末尾。

View File

@ -4,6 +4,7 @@
# Description: # Description:
# Author: xaoyaoo # Author: xaoyaoo
# Date: 2023/08/22 # Date: 2023/08/22
# License: https://github.com/xaoyaoo/PyWxDump/blob/3b794bcb47b0457d1245ce5b4cfec61b74524073/LICENSE MIT
# ------------------------------------------------------------------------------- # -------------------------------------------------------------------------------
import argparse import argparse
import ctypes import ctypes
@ -247,20 +248,6 @@ class BiasAddr:
key_bias = self.get_key_bias2(self.db_path) if key_bias <= 0 and self.db_path else key_bias 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]} 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 return rdata

View File

@ -817,5 +817,195 @@
46014472, 46014472,
0, 0,
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
] ]
} }

View File

@ -817,5 +817,195 @@
46014472, 46014472,
0, 0,
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
] ]
} }