charls基于夜神模拟器抓取安卓7.0应用程序https请求

charls基于夜神模拟器抓取安卓7.0应用程序https请求

1、安装charls(安装步骤这里就不详细说了)

2、下载证书(证书后缀名 xx.pem)

tips:

bash 复制代码
将抓包软件的证书安装成系统证书(需 ROOT)
系统证书目录:/system/etc/security/cacerts/
其中的每个证书的命名规则如下:
<Certificate_Hash>.
文件名是一个 Hash 值,而后缀是一个数字。
文件名可以用下面的命令计算出来:
openssl x509 -subject_hash_old -in <Certificate_File>
后缀名的数字是为了防止文件名冲突的,比如如果两个证书算出的 Hash 值是一样的话,那么一个证书的后缀名数字可以设置成 0,而另一个证书的后缀名数字可以设置成 1

3、使用git bash生成证书hash

bash 复制代码
 openssl x509 -subject_hash_old -in charls.pem

接下来就把下载charls的证书 charls.pem 改名为生成的hash值.0

然后把hash值.0移到安卓设备/system/etc/security/cacerts/里

4、上传证书到安卓的系统证书目录下(夜神模拟器方案)

bash 复制代码
adb connect 127.0.0.1:62025

adb root

adb remount

adb shell mount -o rw,remount /

adb push D:/workplace/1b5b10bc.0 /system/etc/security/cacerts

abd reboot

查看证书 已经到了系统证书下了

5、验证抓包

已经可以抓到https的包了

相关推荐
用户86022504674721 天前
Claw 分析 Perfetto Trace
android
游戏开发爱好者81 天前
使用Fiddler设置HTTPS抓包诊断Power Query网络问题
android·ios·小程序·https·uni-app·iphone·webview
源远流长jerry1 天前
TCP 三次握手深度解析:从内核源码到生产实践
linux·运维·网络·网络协议·tcp/ip
阿巴斯甜1 天前
Lifecycle
android
fengci.1 天前
CTF+随机困难部分
android·开发语言·网络·安全·php
阿巴斯甜1 天前
LiveData
android
OCN_Yang1 天前
Android 开发:XML、Flutter、Compose 怎么选?
android
꯭爿꯭巎꯭1 天前
壁纸引擎安卓版(wallpaper engine安卓版免费下载)
android
xlq223221 天前
53.tcp socket
linux·服务器·开发语言·网络·网络协议·tcp/ip
阿巴斯甜1 天前
viewModel
android