From 92e47f217ba64b73e5bfda68ab4d7a04e634497c Mon Sep 17 00:00:00 2001 From: xaoyo Date: Sat, 7 Oct 2023 22:06:52 +0800 Subject: [PATCH] =?UTF-8?q?Crypto=E5=AF=BC=E5=85=A5=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- decrypted/decrypt.py | 1 + requirements.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c71d6b..7856e86 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,7 @@ 该分支是[SharpWxDump](https://github.com/AdminTest0/SharpWxDump)的经过重构python语言版本,同时添加了一些新的功能。 -**如果觉得好用的话的话,帮忙点个[![Star](https://img.shields.io/github/stars/xaoyaoo/PyWxDump.svg?style=social&label=Star)](https://github.com/xaoyaoo/PyWxDump/) -呗** +**如果觉得好用的话的话,帮忙点个[![Star](https://img.shields.io/github/stars/xaoyaoo/PyWxDump.svg?style=social&label=Star)](https://github.com/xaoyaoo/PyWxDump/)呗** ## 二、使用方法 @@ -148,6 +147,8 @@ git clone https://github.com/xaoyaoo/PyWxDump.git * [decrypt.py](./decrypted/decrypt.py) : 数据库解密脚本 * [get_wx_decrypted_db.py](./decrypted/get_wx_decrypted_db.py) :直接读取当前登录微信的数据库,解密后保存到当前目录下的decrypted文件夹中 +[注]:每台设备、每个微信账号对应一个key,切换设备或者微信账号,key都会变化 + ![image](https://user-images.githubusercontent.com/33925462/179410883-10deefb3-793d-4e15-8475-a74954fafe19.png) * 解密后可拖入数据库工具查找敏感信息 diff --git a/decrypted/decrypt.py b/decrypted/decrypt.py index f447c7c..fcd265c 100644 --- a/decrypted/decrypt.py +++ b/decrypted/decrypt.py @@ -4,6 +4,7 @@ import hashlib import os from Cryptodome.Cipher import AES +# from Crypto.Cipher import AES # 如果上面的导入失败,可以尝试使用这个 SQLITE_FILE_HEADER = "SQLite format 3\x00" # SQLite文件头 diff --git a/requirements.txt b/requirements.txt index 1d9b053..c20c341 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ psutil -pycryptodome +pycryptodomex pywin32