当前位置:网站首页>Charles packet capture tool learning record
Charles packet capture tool learning record
2022-08-03 08:02:00 【Brother Mu Yao】
Background
I need to perform packet capture analysis on an Android APP, but fiddler cannot be installed on macOS, so I installed Charles.
Installation address: https://macwk.com/soft/charles
Reference tutorial: https://www.bilibili.com/video/BV1mQ4y1N7dn
Interface common functions
Main navigation bar:
Request bar:
Charles Port Configuration
The default is port 8888, you can also change it yourself.Remember to check "Enable transparent HTTP proxying", that is, transparent proxying (requests can be redirected without modifying the request and response).
Client Access Control
Control which IP clients can go through Charles' proxy server.After checking the lower left corner of the right image, a visit will let you confirm it.
Configure the proxy address for the client (win/mac/android)
For Windows, it needs to be configured as follows in the settings:
The ip can be found here

For macOS,Configure the proxy address as follows: 
If Charles and needIf the mac that captures the package is the same, you can use the shortcut method to set the proxy, as shown in the figure below, just check it.
For Android devices, directly long press the connected wifi, and then configure the manual proxy, as shown in the figure: 
Solve the problem of https capture and garbled characters
Solution: First, configure the proxy in Charles (Proxy->SSL Proxying Settings, as shown below).
Then, install ssl certificate on different clients.
For Windows machines:
For macOS: installSelect "Login" for the certificate, not icloud.
Click the lock to enable SSL proxy.
For Android devices, visit http://www.charlesproxy.com/getssl/ or http://chls.pro/ssl to download and install the certificate (Xiaomi mobile phone: search for the CA certificate in the settings, click to install).
Traffic Configuration (Weak Network Test Scenario)
The steps are as follows.
Breakpoint debugging
Steps: Add a breakpoint - send a request - intercept and modify the request content - send a request
边栏推荐
- 用diskpart的offline命令弹出顽固硬盘
- 测试用例设计方法之因果图详解
- 一文搞懂什么是@Component和@Bean注解以及如何使用
- LeetCode 264:丑数
- wordpress: 裁剪您的图片时发生错误
- 请求与响应:响应
- Oracle Rac Cluster File Directory Migration
- mysql5.7服务器The innodb_system data file 'ibdata1' must be writable导致无法启动服务器
- 如何在安装GBase 8c数据库的时候,报错显示“Host ips belong to different cluster?
- 前缀和(区间和,子矩阵的和)
猜你喜欢

jolt语法

- display image API OpenCV 】 【 imshow () to a depth (data type) at different image processing methods

@Async注解的坑,小心

【图像边缘检测】基于matlab灰度图像的积累加权边缘检测【含Matlab源码 2010期】

mysql的innodb存储引擎和myisam存储引擎的区别

依赖注入(DI),自动配置,集合注入

Transformer、BERT、GPT 论文精读笔记

Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器

【C语言】函数栈帧的创建和销毁详解

Fortify白盒神器20.1.1下载及安装(非百度网盘)
随机推荐
sqlite 日期字段加一天
wordpress: 裁剪您的图片时发生错误
ORB-SLAM2提取特征点
Transformer、BERT、GPT 论文精读笔记
Charles抓包工具学习记录
数据仓库指标体系实践
【云原生--Kubernetes】Pod容器与镜像拉取策略
23届微软秋招内推
mysql5.7服务器The innodb_system data file 'ibdata1' must be writable导致无法启动服务器
Oracle Rac 集群文件目录迁移
品牌方发行NFT时,应如何考量实用性?
Windows安装MySQL(MIS)
Golang协程goroutine的调度与状态变迁分析
boot-SSE
Postman will return to the interface to generate a json file to the local
DSP Trick:向量长度估算
ViewModel 记录下 +
推荐系统-排序层-模型:Wide&Deep
如何像用自来水一样使用数据库?|腾讯云数据库TDSQL-C
drop database出现1010