Skip to content

Commit

Permalink
update version_list
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Sep 23, 2024
1 parent 8be7d0d commit 2622c32
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 14 deletions.
1 change: 1 addition & 0 deletions app/decrypt/decrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)。它也被保存在每一页的末尾。
Expand Down
15 changes: 1 addition & 14 deletions app/decrypt/get_bias_addr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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


Expand Down
190 changes: 190 additions & 0 deletions app/decrypt/version_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
}
Loading

0 comments on commit 2622c32

Please sign in to comment.