Skip to content

Commit b2e4462

Browse files
committed
Update README.md to add language links for English and Turkish
1 parent 6e92239 commit b2e4462

3 files changed

Lines changed: 122 additions & 0 deletions

File tree

README.en.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# [Move Certificate](https://github.com/ys1231/MoveCertificate)
2+
3+
[中文](README.md) | [Türkçe](README.tr.md)
4+
5+
A `Magisk/KernelSU/APatch` module for moving user certificates to system certificates. Supports `Android 7-15`.
6+
If your phone has an official image, you might need this module. If you compile your own ROM, you can either build it in or manually move it using `remount`.
7+
8+
# Usage
9+
10+
1. After exporting the certificate, simply `push` it to your phone and install it normally through system settings, then restart. No format conversion needed.
11+
2. Can be used with [appproxy](https://github.com/ys1231/appproxy) VPN proxy tool.
12+
13+
## Manual Certificate Installation to System Certificate Directory
14+
15+
- **This method will overwrite existing certificates, designed for multiple computers and built-in certificates**
16+
- Normally, this scenario is not needed.
17+
18+
0. If the certificate has been moved before or built into the source code, you'll find that direct installation through the system doesn't actually install the certificate. This scenario needs to be preserved.
19+
20+
1. Export the packet capture software certificate and convert it to pem format
21+
2. Get the certificate hash
22+
23+
```shell
24+
# For pem certificates (Android system uses der, so the moved certificate needs to be converted to der)
25+
## 1. Calculate hash
26+
### For OpenSSL versions above 1.0
27+
openssl x509 -inform PEM -subject_hash_old -in cacert.pem
28+
### For OpenSSL versions below 1.0
29+
openssl x509 -inform PEM -subject_hash -in cacert.pem
30+
## 2. Convert to der
31+
openssl x509 -in cacert.pem -outform der -out cacert.der
32+
mv cacert.der 02e06844.0
33+
34+
# For der certificates
35+
## 1. First convert to pem to calculate hash
36+
openssl x509 -in cacert.der -inform der -outform pem -out cacert.pem
37+
openssl x509 -inform PEM -subject_hash_old -in cacert.pem
38+
## 2. Rename certificate to hash.0
39+
mv cacert.der 02e06844.0
40+
# Or directly extract the certificate from the user directory after phone installation, no need to worry about calculation and format conversion.
41+
```
42+
43+
4. Manually rename the certificate file (before conversion) to `02e06844.0`, or coexist as `02e06844.1`
44+
5. `adb push 02e06844.0 /data/local/tmp/cert/`
45+
6. After pushing the certificate to the phone, restart to take effect.
46+
47+
# Test Results
48+
![2024-02-19_01.27.27](README.assets/2024-02-19_01.27.27.png)
49+
50+
## Star History
51+
52+
[![Star History Chart](https://api.star-history.com/svg?repos=ys1231/MoveCertificate&type=Date)](https://star-history.com/#ys1231/MoveCertificate&Date)
53+
54+
# References:
55+
- http://www.zhuoyue360.com/crack/60.html
56+
- https://topjohnwu.github.io/Magisk/guides.html#boot-scripts
57+
- https://github.com/Magisk-Modules-Repo/movecert
58+
- https://github.com/andyacer/movecert
59+
- https://book.hacktricks.xyz/v/cn/mobile-pentesting/android-app-pentesting/install-burp-certificate#android-14-zhi-hou
60+
- https://kernelsu.org/zh_CN/guide/module.html

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# [Move Certificate](https://github.com/ys1231/MoveCertificate)
22

3+
[English](README.en.md) | [Türkçe](README.tr.md)
4+
35
这是一个`Magisk/KernelSU/APatch`模块 用于移动用户证书到系统证书.支持`Android 7-15`
46
如果手机是官方镜像,可能就需要借助模块,如果是自己编译的直接内置或者`remount`手动移一下就行了.
57

README.tr.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# [Move Certificate](https://github.com/ys1231/MoveCertificate)
2+
3+
[English](README.en.md) | [中文](README.md)
4+
5+
Kullanıcı sertifikalarını sistem sertifikalarına taşımak için bir `Magisk/KernelSU/APatch` modülü. `Android 7-15` destekler.
6+
Eğer telefonunuz resmi bir imaja sahipse, bu modüle ihtiyacınız olabilir. Kendi ROM'unuzu derliyorsanız, sertifikayı doğrudan içine ekleyebilir veya `remount` kullanarak manuel olarak taşıyabilirsiniz.
7+
8+
# Kullanım
9+
10+
1. Sertifikayı dışa aktardıktan sonra, doğrudan telefonunuza `push` yapın ve sistem ayarları üzerinden normal şekilde yükleyin, ardından yeniden başlatın. Format dönüşümüne gerek yoktur.
11+
2. [appproxy](https://github.com/ys1231/appproxy) VPN proxy aracı ile kullanılabilir.
12+
13+
## Sistem Sertifika Dizinine Manuel Sertifika Kurulumu
14+
15+
- **Bu yöntem mevcut sertifikaların üzerine yazar, birden fazla bilgisayar ve yerleşik sertifikalar için tasarlanmıştır**
16+
- Normalde bu senaryoya ihtiyaç yoktur.
17+
18+
0. Eğer sertifika daha önce taşınmışsa veya kaynak koduna yerleştirilmişse, sistem üzerinden doğrudan kurulumun aslında sertifikayı kurmadığını göreceksiniz. Bu senaryo korunmalıdır.
19+
20+
1. Paket yakalama yazılımı sertifikasını dışa aktarın ve pem formatına dönüştürün
21+
2. Sertifika hash'ini alın
22+
23+
```shell
24+
# pem sertifikaları için (Android sistemi der kullanır, bu yüzden taşınan sertifikanın der'ye dönüştürülmesi gerekir)
25+
## 1. Hash hesapla
26+
### OpenSSL 1.0 üstü versiyonlar için
27+
openssl x509 -inform PEM -subject_hash_old -in cacert.pem
28+
### OpenSSL 1.0 altı versiyonlar için
29+
openssl x509 -inform PEM -subject_hash -in cacert.pem
30+
## 2. der'ye dönüştür
31+
openssl x509 -in cacert.pem -outform der -out cacert.der
32+
mv cacert.der 02e06844.0
33+
34+
# der sertifikaları için
35+
## 1. Önce hash hesaplamak için pem'e dönüştür
36+
openssl x509 -in cacert.der -inform der -outform pem -out cacert.pem
37+
openssl x509 -inform PEM -subject_hash_old -in cacert.pem
38+
## 2. Sertifikayı hash.0 olarak yeniden adlandır
39+
mv cacert.der 02e06844.0
40+
# Veya telefon kurulumundan sonra doğrudan kullanıcı dizininden sertifikayı çıkarabilirsiniz, hesaplama ve format dönüşümü endişesine gerek yok.
41+
```
42+
43+
4. Sertifika dosyasını (dönüştürmeden önce) manuel olarak `02e06844.0` olarak yeniden adlandırın veya `02e06844.1` olarak birlikte var olun
44+
5. `adb push 02e06844.0 /data/local/tmp/cert/`
45+
6. Sertifikayı telefona gönderdikten sonra, etkili olması için yeniden başlatın.
46+
47+
# Test Sonuçları
48+
![2024-02-19_01.27.27](README.assets/2024-02-19_01.27.27.png)
49+
50+
## Yıldız Geçmişi
51+
52+
[![Star History Chart](https://api.star-history.com/svg?repos=ys1231/MoveCertificate&type=Date)](https://star-history.com/#ys1231/MoveCertificate&Date)
53+
54+
# Referanslar:
55+
- http://www.zhuoyue360.com/crack/60.html
56+
- https://topjohnwu.github.io/Magisk/guides.html#boot-scripts
57+
- https://github.com/Magisk-Modules-Repo/movecert
58+
- https://github.com/andyacer/movecert
59+
- https://book.hacktricks.xyz/v/cn/mobile-pentesting/android-app-pentesting/install-burp-certificate#android-14-zhi-hou
60+
- https://kernelsu.org/zh_CN/guide/module.html

0 commit comments

Comments
 (0)