Fiddler capture crawl App-side packet

Source: Internet
Author: User

Recent project design to the app grab, so the use of Fiddler tools to capture the app packet, but fiddler for some apps is not able to capture the packet, the following is my method of processing:

1. My default proxy port is using a custom port instead of the default 8888 port;

2. Phone-side installation Fiddler certificate, computer-side shutdown firewall

For the app I've collected, the pro-test effectively gets the packet and records the operation process:

Here are the steps I take to crawl the Android app:

1. Fiddler (http://fiddler2.com/)

2. Install to the computer, my computer system is WIN10

3. Open the Fiddler software, the interface and other capture software is roughly the same as the following:

4. Below we will enter the focus, the real machine grabbed the bag, first of all, to ensure that the installation of Fiddler computer and your phone in the same LAN, because Fiddler is just a proxy, you need to point the mobile phone agent to the PC, can not visit each other is not possible.

5. Open Fiddler remote Connection, Fiddler main Menu Tools, Telerik Fiddler options...-> connections tab, check Allowremote computers to connect. As follows:

Note here: The general default proxy port is 8888, but some apps bypass these default proxy ports for networking, causing Fiddler to crawl captured data, so I use a custom proxy port here (4476)

6. After the remote connection is turned on, restart Fiddler, or the remote configuration you just opened will not be updated

7. Turn off the computer-side firewall

8. The following starts to set up the phone end, get the IP address of the PC, my IP address is: 192.168.1.100

9. Set the phone side. All Android should be the Changan WLAN icon, then go to the network connection, set up the agent in the connection details.

The host name of the agent is the IP address found above, such as my 192.168.1.100, the port for Connect is set, 4476. Image.

A more detailed picture of the configuration captured from the Web, get help--and be aware that the port number is the address of the port number set by the Fiddler, which cannot be accessed by mistake.

10. Mobile-Side Installation Certificate:

Open the phone browser, address bar Enter the computer-side IP and Filddler configured port number to get Fiddler certificate installed to the phone

Open the mobile browser after I enter the address: 192.168.1.100:4476, open as a page, click the red box to download the installation certificate

        

After the certificate is installed, you can browse for the app capture.

On the internet there are filters set conditions to filter the Fiddler, but I added the filter fiddler always do not display any information, perhaps I am not configured correctly, and finally I did not use conditional filtering to successfully crawl the corresponding packet of the app.

Fiddler capture crawl App-side packet

Related Article

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.