Skip to content

Commit

Permalink
更新博文:从 MT 管理器提取安卓签名密钥
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord committed Dec 24, 2023
1 parent 626e765 commit 5856a39
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _posts/2023-12-23-从MT管理器提取安卓签名密钥.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tags: [Android, 网络安全]
title: 从 MT 管理器提取安卓签名密钥
slug: mt-key-extract
last_modified_at: 2023-12-23
last_modified_at: 2023-12-24
---

## 前言
Expand All @@ -11,7 +11,9 @@ last_modified_at: 2023-12-23

## 正文

首先找到这个文件,一般是在`${MT2}/keys`下,名字是`xxx.key`
注意,以下内容仅适用于在MT管理器导入时**没有**开启**“使用密码保护”****“使用 MT 账号保护”**的密钥。

首先找到这个文件,一般是在`/sdcard/MT2/keys/``/sdcard/Android/data/bin.mt.plus/MT2/keys/`下,名字是`xxx.key`

binwalk跑一遍,并提取文件:

Expand All @@ -33,7 +35,7 @@ openssl rsa -in 47E > main.pem
openssl x509 -in ../xxx.key >> main.pem
openssl pkcs12 -export -in main.pem -out main.p12 -name myname
# myname 即为密钥别名
# 这里会要求输入密码,这个密码同时是 密钥库密码 和 密钥密码
# 这里会要求输入密码,这个密码将同时是 密钥库密码 和 密钥密码
```

完成后的`main.p12`就是密钥库了,可以用keytool查看(此程序位于`Android Studio/jbr/bin/`):
Expand Down

0 comments on commit 5856a39

Please sign in to comment.