274 words
1 minutes
海外抓包环境速配
2025-03-25

1. 下载证书到手机#

手机必须已root且已解锁System分区才能做如下操作

导出证书并保存到指定目录。

image-20250325152617092

命名为charles-ssl-proxying-certificate 并保存到桌面

2. 处理证书文件#

安装OpenSSL#

需要提前在自己电脑上下载并安装 OpenSSL。

http://slproweb.com/products/Win32OpenSSL.html

运行

"C:\Program Files\OpenSSL-Win64\bin\openssl"  x509 -subject_hash_old -in charles-ssl-proxying-certificate.pem

openssl添加到环境变量以方便下次使用

image-20250325153221002

下次直接在桌面打开cmd

openssl x509 -subject_hash_old -in charles-ssl-proxying-certificate.pem

image-20250325153434632

重命名为 处理证书得到的字符串.0#

408e9689.pem

3. 安装证书#

adb push 408e9689.pem /sdcard

打开 Root Explorer 管理器 ,返回根目录并挂载读写权限 & 将证书拷贝到系统目录 /system/etc/security/cacerts

image-20220428193426241

添加上bookmark方便下次使用

image-20250325154920967

4.重启#

发现证书没了 :(

2.2 重启后证书消失的解决方案#

重命名pemcrt, settings里安装用户证书

image-20250325163318944

在面具中刷入Move Certificates模块,帮我们实现自动将用户证书移动到系统证书。

代理#

Proxy -> External Proxy Settings 用完后记得关掉 端口7890是clash的

image-20250325163658623

手机wifi配置proxy和port

image-20250325164025055

image-20250325163912173

海外抓包环境速配
https://zycreverse.netlify.app/posts/captureenv/
Author
会写点代码的本子画手
Published at
2025-03-25