Skip to content

Commit d8f0103

Browse files
committed
fix(sh): 🐛 Fix logical errors
1 parent e1c329c commit d8f0103

7 files changed

Lines changed: 13 additions & 7 deletions

File tree

498 KB
Loading
818 KB
Loading
186 KB
Loading

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ https://book.hacktricks.xyz/v/cn/mobile-pentesting/android-app-pentesting/instal
1212

1313
1. 导出证书后直接`push`到手机,直接安装重启即可,不需要格式转换.
1414

15+
## 使用实测
16+
17+
![iShot_2024-02-19_01.38.02](README.assets/iShot_2024-02-19_01.38.02.png)
18+
![iShot_2024-02-19_01.36.50](README.assets/iShot_2024-02-19_01.36.50.png)
19+
![iShot_2024-02-19_01.27.27](README.assets/iShot_2024-02-19_01.27.27.png)
20+
1521
## ~~手动直接安装证书到系统证书目录~~
1622

1723
1. ~~导出抓包软件证书 转换 证书为 pem 格式~~

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=MoveCertificate
22
name=MoveCertificate
3-
version=v1.4.2
4-
versionCode=6
3+
version=v1.4.3
4+
versionCode=7
55
author=iyue
66
description=Supports magiskv20.4+/kernelsu Android 7-14 move certificates
77
updateJson=https://ys1231.cn:82/modules/MoveCertificate/update.json

service.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ chmod 755 $MODDIR/certificates
3737
cp -u /system/etc/security/cacerts/* $MODDIR/certificates/
3838

3939
# Move our new certificate, so we trust that too
40-
mv -f /data/misc/user/0/cacerts-added/* $MODDIR/certificates/
40+
cp -u /data/misc/user/0/cacerts-added/* $MODDIR/certificates/
4141

4242
# Create the in-memory mount on top of the system certs folder
4343
mount -t tmpfs tmpfs /system/etc/security/cacerts/
4444

4545
# Copy the existing certs back into the tmpfs, so we keep trusting them
46-
mv -f $MODDIR/certificates/* /system/etc/security/cacerts/
46+
cp -f $MODDIR/certificates/* /system/etc/security/cacerts/
4747

4848
# Update the perms & selinux context labels
4949
chown root:root /system/etc/security/cacerts

update.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"versionCode": 6,
3-
"version": "v1.4.2",
4-
"zipUrl": "https://ys1231.cn:82/modules/MoveCertificate/MoveCertificate-v1.4.2.zip",
2+
"versionCode": 7,
3+
"version": "v1.4.3",
4+
"zipUrl": "https://ys1231.cn:82/modules/MoveCertificate/MoveCertificate-v1.4.3.zip",
55
"changelog": "https://ys1231.cn:82/modules/MoveCertificate/changelog.md"
66
}

0 commit comments

Comments
 (0)