您的当前位置:首页>全部文章>文章详情

charles抓包(http/https)

发表于:2021-09-27 11:06:01浏览:55次TAG: #ubuntu

Charles安装

https://www.charlesproxy.com/download/

http 抓包配置

  1. 查看电脑IP地址(系统偏好设置->网络) -> 192.168.80.221
  2. 设置手机HTTP代理 (设置 - 无线局域网 - wifi 配置 - 配置代理)
    • 服务器: 192.168.80.221
    • 端口: 8888
  3. 电脑端允许手机访问, 点击 Allow 允许

https 抓包配置

1. 安装ssl证书到手机设备

电脑端 charles 点击 Hlep -> SSL Proxying -> Install Charles Root Certificate on a Mobile Device 出现弹窗

Configure your device to use Charles as its HTTP proxy on 192.168.22.221:8888, then browse to `chls.pro/ssl` to download and install the certificate.

2. 在手机浏览器输入 chls.pro/ssl, 出现证书安装页面,点击安装 (手机需要设置密码)

  1. 通用 - 描述文件 - (点击 - 安装 - 输入手机密码)
  2. 通用 - 关于本机 - 证书信任设置 - (勾选 - 继续)

3. Charles设置Proxy

Proxy -> SSL Proxying Settings…
勾选 Enable SSL Proxying
点击Add 添加配置

  1. Host: *
  2. Port: 443
栏目分类全部>
腾讯云采购季云服务器一折促销