当前位置:网站首页>Use Charles to capture the package of the applet through the mobile agent
Use Charles to capture the package of the applet through the mobile agent
2022-06-24 03:06:00 【cailynyu】
Background introduction
stay PC End Use Charles It can capture packets of applet interface , For subsequent use Jmeter Tools for interface pressure measurement and use Grafana Prepare for tool visual interface pressure test results .
however , For small programs that the computer does not support access for the time being , You can only capture packets through a mobile agent . This article mainly demonstrates how to use Charles adopt Mobile agent Capture packets for small programs .
Charles To configure
One 、 Configure the root certificate on the computer side
- open Charles, Install root certificate
2. After successful installation, the key chain access interface will pop up , Here's the picture :
3. Double click the certificate , The certificate details interface pops up , Click on 「 trust 」 Options , Configured to always trust , Pictured :
Two 、 Configure the root certificate on the mobile terminal
- Choose to install the certificate of the mobile terminal on the computer
2. Display after selection IP And port number , For mobile phone settings http agent
3. The network of the mobile phone is set to that of the computer http agent PS: At this time, it must be ensured that the mobile phone and the computer are on the same network , And the mobile phone can access the computer ip And port ( It is recommended that the computer and mobile phone be connected to the same hotspot /WiFi)
4. When you access the network after setting up , The server will pop up a prompt , Click on Allow( Agree to connect )
5. Mobile phone installed Charles Of https certificate Method 1 : Mobile browser access chls.pro/ssl Download the certificate Method 2 : Save the certificate on the computer and import it into the mobile phone , After successful import, you can directly install the certificate on the mobile phone
3、 ... and 、 Configure the computer side capture rules
- Get into Charles Of SSL Agent settings :
2. Tick start SSL agent , And add a crawl rule , For example, here we add a grab all https(443 port ) Request :
3. At this time, the phone opens https Application requested , You can see the normal https The requested data is missing :
summary
This article mainly introduces how to use Charles adopt Mobile agent Capture packets for small programs . For example, there are other problems in the process of capturing packets , Welcome to comment on .
Reference resources :https://www.jianshu.com/p/adcbc085fcae
边栏推荐
- What is cloud desktop and how to connect to the server? What does the mainstream architecture of cloud desktop include?
- What are the benefits of rack servers for cloud desktops? What can cloud desktop do?
- Why enterprises need fortress machines
- South Korea's national network is disconnected. Who launched the network "attack"?
- Is the cloud desktop server highly required for installation and configuration? Is cloud desktop easy to use?
- How to pair cloud game servers? Is the cloud game server expensive?
- What is the principle of intelligent image recognition? What are the applications of intelligent image recognition?
- How does the fortress machine connect to the server? Which is easy to use, fortress machine or firewall?
- [51nod] 3216 Awards
- What is the role of the distributed configuration center? What are the advantages of a distributed configuration center?
猜你喜欢
![[summary of interview questions] zj6 redis](/img/4b/eadf66ca8d834f049f3546d348fa32.jpg)
[summary of interview questions] zj6 redis

The cost of on-site development of software talent outsourcing is higher than that of software project outsourcing. Why

2022-2028 global medical modified polypropylene industry research and trend analysis report

2022-2028 global tungsten copper alloy industry research and trend analysis report

2022-2028 global high tibial osteotomy plate industry research and trend analysis report
![[51nod] 2653 section XOR](/img/2d/cb4bf4e14939ce432cac6d35b6a41b.jpg)
[51nod] 2653 section XOR

2022-2028 global medical coating materials industry research and trend analysis report

UI automation based on Selenium

2022-2028 global marine wet exhaust hose industry research and trend analysis report

2022-2028 global portable two-way radio equipment industry research and trend analysis report
随机推荐
New Google brain research: how does reinforcement learning learn to observe with sound?
Innovation or hype? Is low code a real artifact or a fake tuyere?
Three Scheduling Strategies in yarn
What is the GPU usage for cloud desktops and servers? What can cloud desktop do?
How to register a trademark? Is the process troublesome?
What is the performance improvement after upgrading the 4800h to the 5800h?
Vscode common shortcut keys, updating
LeetCode 1323. Maximum number of 6 and 9
14. Tencent cloud IOT device side learning - data template application development
Why enterprises need fortress machines
More than 10 million Android users installed a fraud app and doubled the number of blackmail attacks in the UK | global network security hotspot
Is the IP of the fortress machine the IP of the server? How to deploy the fortress machine
CPS November additional incentive rules
October 27, 2021: curriculum. You must take numcourses this semester
Grc: GRC interface is mixed with restful API
Storage crash MySQL database recovery case
How to pair cloud game servers? Is the cloud game server expensive?
Easynvr shows that the channel is online but cannot be played. Troubleshooting (non video streaming)
Grpc: how to reasonably manage log configuration?
Permission maintenance topic: domain controller permission maintenance