Windows environment, through the Charles Tool, crawling Android phone, Apple phone app app http, https request packet information

Source: Internet
Author: User

Windows environment, through the Charles Tool, crawling Android phone, Apple phone app app http, https request packet information
1. Crawl the HTTP request packet information of app app in Android phone
1) on the computer, view the Windows machine IP address: Cmd->ipconfig in the returned results, the query gets the IPV4 address.

A) If your Windows machine is surfing the Internet wirelessly, select the IP address in the IPV4 in the wireless LAN adapter.

b) If your Windows machine is wired online, select the IP address in the IPV4 in the Ethernet adapter.

2) on the phone, on the phone you need to crawl the package request, set the proxy, where hostname: IPV4 IP Address port number: 8888

A) Description: The port number can be modified, preferably changed to >8080 number, and is not occupied by other programs, you need to have the same value as the port number in the agent Settings->http agent, Charles Tools.

3) on the computer, when your phone is set up a proxy, Charles will pop up a confirmation box, click Allow.

4) operate on the computer, and last access to Charles Tools, turn on recording.

5) operate on the phone, and then you can manipulate your app to record the information to the HTTP request.


2. Grab the HTTPS Request packet information from the app app on your Android phone
1) Configure the HTTPS request pack information for the app in your Android phone first

2) on the phone, on the phone you need to catch the request, in the mobile browser to access the address: HTTP://WWW.CHARLESPROXY.COM/ASSETS/LEGACY-SSL/CHARLES.CRT

3) on the mobile phone operation, after access, enter a certificate name, set the lock screen password and confirm it, completed the installation of the certificate (CHARLES.CRT).

4) on the computer, Access Charles Tools, agent settings->ssl proxy settings Check the Enable SSL proxy entry, select the Add button, add Host: The host address to grab the package, port: 443.

5) operate on the phone, and then you can manipulate your app to record the information to the HTTPS request.

3. Crawl the HTTP request packet information of app app in Apple phone
1) on the computer, view the Windows machine IP address: Cmd->ipconfig in the returned results, the query gets the IPV4 address.

A) If your Windows machine is surfing the Internet wirelessly, select the IP address in the IPV4 in the wireless LAN adapter.

b) If your Windows machine is wired online, select the IP address in the IPV4 in the Ethernet adapter.

2) on the phone, on the phone you need to crawl the package request, set the proxy, where the server name: IPV4 IP Address port: 8888

A) Description: The port number can be modified, preferably changed to >8080 number, and is not occupied by other programs, you need to have the same value as the port number in the agent Settings->http agent, Charles Tools.

3) on the computer, when your phone is set up a proxy, Charles will pop up a confirmation box, click Allow.

4) operate on the computer, and last access to Charles Tools, turn on recording.

5) operate on the phone, and then you can manipulate your app to record the information to the HTTP request.

4. Grab the HTTPS Request packet information from the app app on your iphone
1) First configure the HTTP request package information for the app in the Apple phone

2) on the computer, access the Charles tool->help->ssl agent->install Charles Root Certificate, and install the certificate.

3) operate on the computer, Access Charles Tools->help->ssl agent->install Charles Root Certificate on a Mobile Device or Remote Browser, in the popup box, You can see that there are 1 addresses.

4) on the phone, on the phone you need to catch the request, in the mobile browser to access the address: Http://charlesproxy.com/getssl

5) on the mobile phone operation, after the visit, the new certificate, after installation and successful installation, the completion of the certificate installation.

6) on the computer, Access Charles Tools, agent settings->ssl proxy settings Check the Enable SSL proxy entry, select the Add button, add Host: The host address to grab the package, port: 443.

7) operate on the phone, and then you can manipulate your app to record the information to the HTTPS request.


5, do not grasp the package, the switch off the proxy settings, or the phone is not connected to the external network.

Windows environment, through the Charles Tool, crawling Android phone, Apple phone app app http, https request packet information

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.