By setting himself up as a network Access Proxy for the system, Charles enables all network access requests to be done through it, enabling the interception and analysis of network packets.
Charles is a freeware and can be used for a free 30-day trial. After the trial period, unpaid users can still continue to use, but each use time can not exceed 30 minutes, and start with a 10-second delay. However, can also be found online cracked version, the Lib original file in the Charles.jar replacement can be used freely ~
Charles ' main features include:
Support SSL Proxy. You can intercept requests that analyze SSL.
Supports flow control. You can simulate slow networks and long wait times (latency) of requests.
Supports AJAX debugging. JSON or XML data can be automatically formatted for easy viewing.
Supports AMF debugging. The Flash Remoting or Flex Remoting information can be formatted for easy viewing.
Support to re-send network requests, convenient back-end debugging.
Support for modifying network request parameters.
Supports interception and dynamic modification of network requests.
Check whether Html,css and RSS content meet the standards.
Charles Download: official website https://www.charlesproxy.com/, currently the latest version is 4.1.2, Points win, Mac and Linux, Pro can download on demand. The following is an example of the WINOWS64 bit version:
Image file after download: 650) this.width=650; "Src=" Https://s2.51cto.com/wyfs02/M00/98/F2/wKioL1lCLY3hiKSZAAAHG2WmR5Y962.png-wh_ 500x0-wm_3-wmp_4-s_2510040763.png "title=" download. png "alt=" wkiol1lcly3hikszaaahg2wmr5y962.png-wh_50 "/>
Charles Installation:
Double-click the MSI file, click Next to Fool
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/98/F3/wKiom1lCMAbA_iyxAADvXSq2uvI453.png-wh_500x0-wm_ 3-wmp_4-s_1488241624.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1lcmaba_iyxaadvxsq2uvi453.png-wh_50 "/>
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/98/F3/wKioL1lCMAaRHc_XAACrD7s_kVA947.png-wh_500x0-wm_ 3-wmp_4-s_4201740664.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1lcmaarhc_xaacrd7s_kva947.png-wh_50 "/>
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/98/F3/wKioL1lCMAezt_FtAACZ5fm2A7Y341.png-wh_500x0-wm_ 3-wmp_4-s_426014944.png "style=" Float:none; "title=" 3.png "alt=" Wkiol1lcmaezt_ftaacz5fm2a7y341.png-wh_50 "/>
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/98/F4/wKiom1lCMAjDaECyAACcuixSZ6o989.png-wh_500x0-wm_ 3-wmp_4-s_3696431165.png "style=" Float:none; "title=" 4.png "alt=" Wkiom1lcmajdaecyaaccuixsz6o989.png-wh_50 "/>
After the installation is complete, you can go to your installation path to find Charles.exe trial ~ ~ ~ If you want to crack friends, you can Http://pan.baidu.com/s/1eSEInya Password: k843 download Charles.jar, by the way, this JA package is also to be compatible with the Charles version of the use, here is the version 4.1. There is a Mac, WIN32/64 version in this file, use it on Demand Oh ~ Replace the file with the same name in Lib under the Charles Root, so open Charles without waiting for 10 seconds ~
Above just install Charles, if this time open use, grab the package part is Unknow state.
Charles Configuration:
1. Set Charles as a System Agent: Proxy->windows Proxy
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/98/F5/wKiom1lCOADBA3oYAACEg9be_Q8448.png-wh_500x0-wm_ 3-wmp_4-s_1452980346.png "title=" 1.png "alt=" Wkiom1lcoadba3oyaaceg9be_q8448.png-wh_50 "/>
It is important to note that Chrome and Firefox do not use the system's proxy settings by default, and that Charles is intercepting the packets by setting himself up as a proxy server, so it is not possible to intercept the Web communication content of Chrome and Firefox browsers by default. If you need to intercept it, set it up in Chrome to use the system's proxy settings, or you can set the proxy server directly to 127.0.0.1:8888 to achieve the same effect.
Charles Main Interface:
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/98/F6/wKioL1lCO8OjOKW4AAIJNuSfu1o960.png-wh_500x0-wm_ 3-wmp_4-s_109112703.png "title=" Untitled. png "alt=" wkiol1lco8ojokw4aaijnusfu1o960.png-wh_50 "/>
In the figure, structure and sequence are two view modes:
The structure view classifies network requests by the domain name accessed, and the sequence view sorts the network requests by the time they are accessed;
Filter can be set filtering keywords, such as enter the domain name you want to filter, the main interface will only show the domain-related package;
Request displays the requested content;
Response displays the response content.
Interception of mobile devices, including apps, public numbers, and other network packets (in the case of the iphone):
Charles set up: to intercept network requests on the IPhone, first turn on the agent feature of Charles. In Charles's menu bar, select "Proxy" –> "proxy Settings", fill in the agent port 8888, and check "Enable transparent HTTP proxying" to complete the setup on Charles.
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/98/F6/wKiom1lCPUbShfFvAAC9FQ6BCbQ253.png-wh_500x0-wm_ 3-wmp_4-s_3513818768.png "title=" amount. png "alt=" wkiom1lcpubshffvaac9fq6bcbq253.png-wh_50 "/>
on iphone settings:"Settings" –> "Wireless LAN", you can see the current connected WiFi name, by clicking on the right of the details key, you can see the current connection of WiFi details, including IP address, subnet mask and other information. At the bottom of it is an "HTTP proxy", which we switch to manual, then fill in the server column with the IP of the computer where Charles is running, and the port number 8888, for example:
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/98/F6/wKioL1lCPjbhhMYIAAB6YMht6kQ538.png-wh_500x0-wm_ 3-wmp_4-s_3018666557.png "title=" Ss.png "alt=" Wkiol1lcpjbhhmyiaab6ymht6kq538.png-wh_50 "/>
Once set up, open any program on your iphone that requires network communication and you can see the confirmation menu where Charles pops up the iphone request connection and click "Allow" to complete the setup.
If you need to intercept the analysis of the SSL protocol related content. Then you need to install Charles's CA certificate.
You first need to install the certificate on your computer. Click on the top of Charles menu and select "Help" –> "SSL proxying" –> "Install Charles Root Certificate" such as:
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/98/F7/wKiom1lCP1SDwyvFAAEBovBzlo8267.png-wh_500x0-wm_ 3-wmp_4-s_915338647.png "title=" Untitled. png "alt=" wkiom1lcp1sdwyvfaaebovbzlo8267.png-wh_50 "/>
To eject the Install Certificate window:
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/98/F7/wKioL1lCP3GhIKAUAACubqVRtSM995.png-wh_500x0-wm_ 3-wmp_4-s_522479192.png "title=" Installation certificate. png "alt=" wkiol1lcp3ghikauaacubqvrtsm995.png-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/98/F7/wKioL1lCP4qy3qz4AADR-l3CCy8166.png-wh_500x0-wm_ 3-wmp_4-s_2221433265.png "style=" Float:none; "title=" Install 1.png "alt=" Wkiol1lcp4qy3qz4aadr-l3ccy8166.png-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/98/F7/wKiom1lCP4vRhVYCAACzZ-E-kL4712.png-wh_500x0-wm_ 3-wmp_4-s_400051790.png "style=" Float:none; "title=" Install 2.png "alt=" Wkiom1lcp4vrhvycaaczz-e-kl4712.png-wh_50 "/>
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/98/F7/wKiom1lCP4yD8GnnAADYMAISl4o284.png-wh_500x0-wm_ 3-wmp_4-s_1357348436.png "style=" Float:none; "title=" Install 3.png "alt=" Wkiom1lcp4yd8gnnaadymaisl4o284.png-wh_50 "/>
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/98/F7/wKioL1lCP4yQITDqAACMPjmvZ1A558.png-wh_500x0-wm_ 3-wmp_4-s_2002100001.png "style=" Float:none; "title=" Installation complete. png "alt=" wkiol1lcp4yqitdqaacmpjmvz1a558.png-wh_50 "/ >
The setup is complete at this point in Charles.
If you also need to crawl HTTPS packets on your phone, you will also need to download the CA certificate:
Click on the top of Charles menu and select "Help" –> "SSL proxying" –> "Install Charles Root Certificate on Mobile Device and Remote Browser ", will pop up:
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/98/F7/wKiom1lCQU3gbo48AABlq-pPuYA065.png-wh_500x0-wm_ 3-wmp_4-s_136279848.png "title=" Ll.png "alt=" Wkiom1lcqu3gbo48aablq-ppuya065.png-wh_50 "/>
Enter "Chls.pro/ssl" in Safari, search for the CA certificate, pop up as:
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/98/F7/wKioL1lCQeWTG0-bAAE50gqjQ7Q940.png-wh_500x0-wm_ 3-wmp_4-s_3547616647.png "title=" 11.png "alt=" Wkiol1lcqewtg0-baae50gqjq7q940.png-wh_50 "/>
Point of installation (where LZ has been installed), you also need to trust the certificate in the "Settings", "about this computer", "certificate Trust settings":
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/98/F7/wKioL1lCQrLQ7iY-AAFH73Uh2sc827.png-wh_500x0-wm_ 3-wmp_4-s_833769172.png "title=" 12.png "alt=" Wkiol1lcqrlq7iy-aafh73uh2sc827.png-wh_50 "/>
Second, enter the HTTP://CHARLESPROXY.COM/GETSSL in the mobile browser, you can open the interface of the certificate installation, after the installation of the certificate, you will be able to intercept the phone HTTPS communication content. That is, the first certificate in.
However, Charles does not intercept SSL by default, and if you want to intercept all SSL network requests on a site, there are two ways to handle it:
1. Right-click on the request and select Enable SSL proxy:
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/98/F8/wKiom1lCRgLjKWvdAAEox_x6f54345.png-wh_500x0-wm_ 3-wmp_4-s_897960640.png "title=" 13.png "alt=" Wkiom1lcrgljkwvdaaeox_x6f54345.png-wh_50 "/>
2, select the Charles top Menu "Proxy", "SSL proxying Settings":
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/98/F8/wKioL1lCRnGQ9sydAACHSVDh5hg629.png-wh_500x0-wm_ 3-wmp_4-s_2835672748.png "title=" 14.png "alt=" Wkiol1lcrngq9sydaachsvdh5hg629.png-wh_50 "/>
Click "Add" to add host and port:
host:* indicates that any value can be taken
port:443
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/98/F8/wKioL1lCRonifmTyAAEjuAfSnN4061.png-wh_500x0-wm_ 3-wmp_4-s_2033056919.png "title=" 15.png "alt=" Wkiol1lcronifmtyaaejuafsnn4061.png-wh_50 "/>
The settings for intercepting web and mobile network packets are basically complete.
Note: If you encounter a truncation packet return garbled, truncate "unknow" state, it may be that the certificate is not installed, or SSL is not authorized
Charles Mini Sledgehammer (Windows)