当前位置:网站首页>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
边栏推荐
- thop 使用心得
- How to choose a reliable and formal training institution for the exam in September?
- mysql 8.0.12 安装配置方法并--设置修改密码
- 智能客服,还有多少AI泡沫?
- 服务器资源监控工具-nmon、nmon_analyser
- Postman will return to the interface to generate a json file to the local
- mysql服务器上的mysql这个实例中表的介绍
- 如何像用自来水一样使用数据库?|腾讯云数据库TDSQL-C
- pyspark---encode the suuid interval (based on the number of exposures and clicks)
- C语言实现树的底层遍历--超简代码
猜你喜欢
随机推荐
mysql系统变量与状态变量
依赖注入(DI),自动配置,集合注入
Roson的Qt之旅#103 QML之标签导航控件TabBar
tmp
pgaudit 的安装使用《postgresql》
从学生到职场的转变
Windows安装MySQL(MIS)
sqlite 日期字段加一天
JS函数获取本月的第一天和最后一天
Postman will return to the interface to generate a json file to the local
PMP每日一练 | 考试不迷路-8.2(包含敏捷+多选)
Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器
ceph简介
RHCSA第四天
Charles抓包工具学习记录
调用feign报错openfeign/feign-core/10.4.0/feign-core-10.4.0.jar
DeFi明斯基时刻:压力测试与启示
ArcEngine(二)加载地图文档
VR全景市场拓展技巧之“拓客宝典”
Karatsuba大数乘法的Verilog实现