This is the 8th day of my participation in the August Text Challenge.More challenges in August

preface

Is an HTTP proxy server,HTTP monitor, and reverse proxy server that allows Charles to monitor all data sent and received by an application when it connects to Charles’s proxy to access the Internet. It allows a developer to view all HTTP traffic connected to the Internet, including requests,

Response and HTTP headers (including cookies and caching information).

Step 1: Configure the HTTP proxy. This step is the same as fetching HTTP requests:

Open the software, open the agent, look at the yellow boxTo set the port, see the red box

View Settings; Install this setting, the default should be this, here and behind and phone above the corresponding can \

Mobile phone set

Use the MAC command window, enter: ifconfig, view the CURRENT MAC IP address, and record it, 192.168.0.169 \

On your Android phone (tablet, TV, etc.), find the wifi network setting location, scroll out the proxy Settings area, and enter the proxy host name as the IP address found in the previous step, 192.168.0.169 \

Enter the port number in step 3:8888. Then save the device. Note: Different mobile devices may have different Settings for accessing wifi agent, but they are all similar. \

After the previous step, a dialog box will pop up on Charles on the MAC. Select Allow \

After the above, your computer should be able to proxy mobile phone requests, but only HTTP requests, HTTP request return is garbled, if you want to proxy HTTPS requests, no garbled, you need to install a certificate;


HTTPS requests require certificates installed on both the PC and the mobile

HTTTPS install the computer certificate to capture the first step; Install computer certificate/be careful to find the corresponding certificate in the key chain and set the trust

Packet capture HTTPS Step 2; Set the available status and capture port information

Add \ from the menu proxy – > SSL Proxying setings

At this point, the computer should be able to access HTTPS requests and return data that is not garbled

The HTTPS certificate is installed on the mobile phone, and the content of the mobile phone is proxy on the computer

Ios mobile phone, on the premise of connecting to the computer agent, using safari browser direct access

CHLS. Pro/SSL Download the certificate and add it to trust

Then visit the following website on the phone, and visit the HTTPS url in Charles

Android phone, I am Huawei Meta10 first connected to Charles software agent and then visited the website;

CHLS. Pro/SSL I am using chrome browser, there is a page to download the certificate, after downloading can be \

After installation, HTTPS requests can be viewed on the computer.