Mobile APP interface interception (packet capture)-Charles

Charles download address

Charles download address

Just click the next step during installation

Note: The webpage will not open when using Charles. Just exit at this time.

use

1. Open Charles and find the Charles IP address and port. You need to enter it into the mobile proxy settings later.

 2. Turn on the mobile phone, connect the mobile phone and the computer to the same WIFI, and start proxy settings (taking Apple mobile phone as an example)

 3. After configuring the agent, the computer will pop up the following confirmation window, click the "Allow" button

 4. At this time, open the APP and all the interfaces will appear.

 HTTPS packet capture configuration

After completing the above configuration, we opened the https interface and found that some showed unknown. At this time, we have to install an SSL certificate.

1. Copy the chls.pro/ssl address and paste it into the address bar of your mobile browser. Remember, copying can save a lot of trouble , and then click Allow

2. Trust certificate, taking Apple mobile phone as an example

Go to settings->General->About this machine->Trust certificate settings-> Find the Charles certificate and trust it

3. After the trust is completed, we are looking at the results. There is no unknown anymore. It’s over! !

Guess you like

Origin blog.csdn.net/Javahtml12/article/details/129867726