Charles抓包配置以及VPN抓包

 
 
代理抓包工具:Charles
notion image
点击安装install 然后导入到手机中
  1. 直接下载pem 然后 push到手机里
  1. 访问 【Chls.pro/ssl】 这个地址 去下载。
 
打开手机——> 安全———>加密凭证
notion image
然后点击安装证书
notion image
最后查看受信任的证书。
notion image
我们要把用户的 证书移到系统中。
 
安装这个Move Certificates 然后重启 大小是6.97kb 不是这个的可能有点问题 需要移除重新安装。
notion image
然后发现 移成功了。
notion image
保持链接状态。使得手机和电脑在同一台计算机下。

设置charles

proxy————> proxy Settings
notion image
proxy————> SSL proxing Settings
notion image
 
 

消除 Wi-Fi 和移动网络上出现的感叹号

 
 
在手机里 以shell方式运行
adb shell settings put global captive_portal_http_url http://captive.v2ex.co/generate_204 adb shell settings put global captive_portal_https_url https://captive.v2ex.co/generate_204
reboot重启即可