Skip to content

Commit 25d0b39

Browse files
authored
auto decrypt (#44)
1 parent f2aa923 commit 25d0b39

File tree

20 files changed

+2889
-698
lines changed

20 files changed

+2889
-698
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ go install github.com/sjzar/chatlog@latest
5858

5959
### macOS 版本提示
6060

61-
1. macOS 用户在获取密钥前,需要确认已经关闭 SIP 并安装 Xcode。由于 macOS 的安全机制,在正常情况在无法读取微信进程的内存数据,所以需要临时关闭 SIP。关闭 SIP 的方法:
61+
1. macOS 用户在获取密钥前,需要确认已经关闭 SIP 并安装 Xcode Command Line Tools。由于 macOS 的安全机制,在正常情况在无法读取微信进程的内存数据,所以需要临时关闭 SIP。关闭 SIP 的方法:
6262

6363
```shell
6464
# 1. 进入恢复模式
@@ -72,10 +72,17 @@ go install github.com/sjzar/chatlog@latest
7272
# 4. 重启系统
7373
```
7474

75-
2. 目前的 macOS 版本方案依赖 `lldb` 工具,所以需要安装 Xcode,可以从 App Store 进行下载。
75+
2. 目前的 macOS 版本方案依赖 `lldb` 工具,所以需要安装 Xcode Command Line Tools。
76+
77+
```shell
78+
# 在 terminal 执行以下命令安装 Xcode Command Line Tools:
79+
xcode-select --install
80+
```
7681

7782
3. 仅获取数据密钥步骤需要关闭 SIP;获取数据密钥后即可重新打开 SIP,不影响解密数据和 HTTP 服务的运行。
7883

84+
4. 如果是 Apple Silicon 芯片的 mac 用户,请检查 微信、chatlog、terminal 均不要运行在 Rosetta 模式下运行,否则可能无法获取密钥。
85+
7986
### Terminal UI 模式
8087

8188
1. 启动程序:

0 commit comments

Comments
 (0)