PyWxDump/tests/test_decrypt.py

17 lines
564 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-#
# -------------------------------------------------------------------------------
# Name: test_decrypt.py
# Description:
# Author: xaoyaoo
# Date: 2023/11/15
# -------------------------------------------------------------------------------
2024-08-03 00:40:11 +08:00
from pywxdump import WX_OFFS_PATH, WX_OFFS
from pywxdump import batch_decrypt
key = "xxxxxx" # 解密密钥
db_path = "xxxxxx" # 数据库路径文件or文件list
out_path = "xxxxxx" # 输出路径(目录)
result = batch_decrypt(key, db_path, out_path, True)