当前位置:网站首页>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
边栏推荐
猜你喜欢

数据仓库指标体系实践

pyspark---encode the suuid interval (based on the number of exposures and clicks)

Transformer、BERT、GPT 论文精读笔记

服务器资源监控工具-nmon、nmon_analyser

The ORB - SLAM2 extracting feature points

Data warehouse buried point system and attribution practice

22-08-02 西安 尚医通(02)Vscode、ES6、nodejs、npm、Bable转码器

DSP Trick:向量长度估算

【云原生--Kubernetes】Pod容器与镜像拉取策略

postman将接口返回结果生成json文件到本地
随机推荐
PostMan使用,访问路径@RequestMapping
Qt5开发从入门到精通——第二篇(控件篇)
跨域嵌套传递信息(iframe)
循环神经网络RNN基础《PyTorch深度学习实践》
【云原生--Kubernetes】Pod重启策略
用云机器/虚拟机架设方舟游戏?
薛定谔的对象属性判断
Data warehouse buried point system and attribution practice
Roson的Qt之旅#105 QML Image引用大尺寸图片
redis AOF持久化个人理解
推荐系统-排序层-精排模型:LR、GBDT、Wide&Deep、DCN、DIN、DIEN、MMOE、PLE
ArcEngine(六)用tool工具实现拉框放大缩小和平移
@Async注解的坑,小心
如何像用自来水一样使用数据库?|腾讯云数据库TDSQL-C
sqlserver2019安装失败
postman将接口返回结果生成json文件到本地
DSP-ADAU1452输出通道配置
RHCSA第四天
day12---接口和协议
ArcEngine(一)加载矢量数据