Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

APP grab package-- Fiddler tool

Shulou Source: shulou.com Published: 2022-06-03 05:23:43 11月24日 Update

Fiddler introduction: Fiddler is one of the powerful and easy-to-use Web debugging tools, it can record client and server http and https requests, allowing you to monitor, set breakpoints, and even modify input and output data.

The operation mechanism of Fiddler is actually the http agent that listens on port 8888 on the local machine. When the PC Fiddler starts, the default IE proxy is set to 127.0.0.1 Chrome 8888, while other browsers need to be set manually, so if you need to listen to PC Chrome network requests, change its proxy to 127.0.0.1 http 8888 to listen for data, and the mobile phone can complete the http proxy of the entire system according to the following settings.

The first step is to download Fiddler. Download link: [url=] http://fiddler2.com/get/fiddler[/url]

After the download is complete, install.

Step 2, set up Fiddler

Open fiddler,Tools,Fiddler Options (restart Fiddler after configuration is complete)

Select "Decrpt HTTPS traffic" Fiddler to intercept HTTPS requests

Check "Allow remote computers to connect" to allow other machines to send HTTP/HTTPS requests to Fiddler.

Port number is: 8888

Step 3: set up Android phones

First get the ip address of PC, enter ipconfig on the command line, and get the ip address

The following is the proxy setting for Android phones (Xiaomi 4)

First, make sure that the phone and PC are connected on the same local area network, enter the settings of the phone, click to enter the WLAN settings, select the wireless network to which you are connected, and click the arrow on the right (some phones are long-pressed pop-up options box), as shown in the figure:

For this line, select Manual.

Select to modify the network configuration:

1. Configure the host name, which is consistent with the ip address of the host computer.

2. Port number: 8888

Click Save and the phone is set up successfully.

Step 4: open the APP you want to test, and then open the Fiddler interface on your computer, as shown below:

In this way, the packet capture of the Android mobile terminal is successful, which is helpful for the subsequent debugging of the network data request, and can be used to determine whether the requested network is successful or not.

Note: for general http requests, there is no need to install a security certificate. If it is a https request, after setting the proxy, it will be inaccessible. At this time, you need to install a security certificate.

Step 5: download the Fiddler security certificate

Use the phone's browser to open it, http://10.224.xx.xx:8888

Click "FiddlerRoot certificate" to install the certificate. As shown in the figure:

Grab the bag is a success, in addition to grasp the bag, but also learn data analysis. Http protocol!

Tags: Mobile phone agent data success network certificate security address Android monitoring selection configuration host slogan manual time browser computer as shown in figure browse Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Linux Huawei Shulou Tech Info