当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
【图像去噪】基于matlab稀疏表示KSVD图像去噪【含Matlab源码 2016期】
训练正常&异常的GAN损失函数loss变化应该是怎么样的
mysql存生僻字奇怪问题,mysql为什么不能辨别mb4字符?
pyspark---low frequency feature processing
xshell开启ssh端口转发,通过公网机器访问内网机器
redis AOF持久化个人理解
consul理解
mysql5.7服务器The innodb_system data file 'ibdata1' must be writable导致无法启动服务器
c现代方法16章基础
Transformer、BERT、GPT 论文精读笔记
AI中台序列标注任务:三个数据集构造过程记录
postman将接口返回结果生成json文件到本地
进程的创建
Roson的Qt之旅#105 QML Image引用大尺寸图片
【云原生--Kubernetes】Pod重启策略
数据仓库指标体系实践
Fortify白盒神器20.1.1下载及安装(非百度网盘)
【图像边缘检测】基于matlab灰度图像的积累加权边缘检测【含Matlab源码 2010期】
DSP Trick:向量长度估算
9月考,如何选择靠谱正规的培训机构?