1 Download and Installation

The official download the latest version: www.charlesproxy.com/download/, download directly after installation,

Or use I have downloaded: pan.baidu.com/s/1tEQ8s6xn…

Download the Mac OS version as shown below:

2 crack

Charles is charged, and when opened, there will be a reminder of 30-day access, as shown in the picture:

To crack it, replace a Charles. jar file and search for the corresponding cracked JAR file.

Also can use I downloaded: pan.baidu.com/s/1EnDC8ozb… Note that this is only available for Charles V4.2.8.

The replacement steps are as follows: Open the application -> Select Charles -> Show the package contents

Then go to Contents->Java-> and replace the charles.jar we downloaded here with the charles.jar

Restart Charles and the 30-day expiration will no longer be displayed.

Note: The cracked JAR file must correspond to the Charles version, otherwise it may not open properly.

To download other versions of jar files, please click the link

3 Mac HTTP packet capture

  • Open Charles to set up the agent

  • Allows fetching network requests on a Mac

  • Start caught

4 MAC HTTPS packet capture

First, add and trust the certificate.

On the menu bar, choose Help > SSL Proxying > Install Charles Root Certificate. The Charles Proxy CA Certificate is automatically imported.

After you add the certificate to the keystring, you can see that the certificate is not trusted

Right click and set the certificate to always be trusted

Enter the password, you can see the certificate has been information.

Finally, set the corresponding proxy.

5 IOS Mobile Phone Packet Capture

General steps for capturing data on iOS devices

  • IOS devices and Macs connect to the same wifi
  • To view the Mac IP address, go to System Preferences > Network. For example, my IP address is 192.168.199.131
  • On the iOS device, set the proxy server connected to wifi, enter the IP address obtained in the step for the server, namely 192.168.199.131, and enter 8888 for the port:

  • Open the Charles
  • The iOS device does the network operation, and Charles can grab the network request

6 iOS HTTPS packet capture

6.1 Configuring Pre-HTTP Packet Capture

6.2 Configuring HTTPS Packet Capture

The following is HTTPS packet capture based on HTTP packet capture:

  • Install SSL certificates to mobile devices

Click Help -> SSL Proxying -> Install Charles Root Certificate on a Mobile Device

Pop-up window appears to get the address CHLS. Pro/SSL

Enter the address CHLS. Pro/SSL in the Safari browser of the mobile phone. The certificate installation page is displayed

Note:

  • Set up the mobile HTTP proxy;

  • Keep Charles open on your computer, otherwise Safari will not install the certificate if you type the url CHLS. Pro/SSL

  • If you want to delete the certificate after installation, click General -> Description File -> Select Description File -> Delete Description File

  • Charles set Proxy

Check Enable SSL Proxying and click Add

After the configuration is complete, you can see that HTTPS packet capture succeeds

However, the request always returns unknown!

Take the iPhone as an example: Turn on Settings – Generic – About Native – Certificate trust Settings, trust Charles certificate, request again, and you’re done

7 Android caught

1. Install the certificate:

Download the certificate from Charles first:

Next, install the certificate on Android.

The downloaded certificate ends in.pem. If the certificate cannot be installed, change it to.crt.

After the installation is successful, packets can be captured.