[Mobile terminal] fiddler configuration and use

Fiddler works as a proxy web server, it uses proxy address: 127.0.0.1, port: 8888. When Fiddler exits, it will automatically log off, so that it will not affect other programs. However, if Fiddler exits abnormally, because Fiddler does not automatically log out at this time, the webpage will be inaccessible. The solution is to restart Fiddler.

Install

official website

Network disk English version
extraction code: qgcu

Network disk Chinese version
extraction code: hi8r

configuration

Desktop configuration

Open Fiddler Tool->Fiddler Options->HTTPS. (Remember to restart Fiddler after configuration).
insert image description here
Select "Decrpt HTTPS traffic", and Fiddler can intercept HTTPS requests. For the first time, a certificate installation prompt will pop up. If there is no pop-up prompt, check Actions-> Trust Root Certificate

In addition, if the HTTPS site accessed by the program you want to monitor uses an untrusted certificate, please check the "Ignore server certificate errors" below.
insert image description here
Certificate installation prompt:
insert image description here
click Yes, pay attention to the content in the red box, DO_NOT_TRUST_FiddlerRoot, this is the name of the certificate.
insert image description here
Click Yes.
insert image description here
Click OK, so that the Fiddler certificate has been added successfully.
insert image description here

Mobile configuration

insert image description here
The default listening port of fiddler is 8888, you can set it to any port you want. Check "Allow remote computers to connect" to allow remote devices to connect.

To reduce interference, "Act assystem proxy on startup" can be removed.

Mobile terminal (client) settings

First check the IP address of the computer to ensure that the mobile phone and the computer are in the same LAN
insert image description here

Configuration on an Android phone

Import the certificate of the Fiddler proxy server to the mobile phone to capture the packages of these APPs. Import process: Open the browser, enter the IP and port of the proxy server in the address bar (that is, the IP of the computer plus the port of fiddler), and you will see a page provided by Fiddler, and then confirm the installation. Open the WiFi settings page
insert image description here
, Select the wifi to connect to, and press and hold, in the pop-up dialog box, select "Modify Network". In the dialog box that pops up next, check "Show advanced options". On the next page that appears, click "Proxy" and select "Manual". The host name of the proxy server is set to the IP of the PC, the port of the proxy server is set to the port 8888 configured on Fiddler, and click "Save".
insert image description here

Configuration on iPhone

The configuration on the Apple phone is basically the same as that of the Android phone. as shown in the picture
insert image description here

use

View functional area

The concept of session: a request and a response is a session.

Below the fiddler main interface,
insert image description hereselect a few commonly used explanations in the shortcut function area, and try other functions yourself:
insert image description here
1: Add a note to the session
2: Reload the current session
3: Delete the session option
4: Release, corresponding to the breakpoint, detailed later Lecture
5: Response mode. That is, when Fiddler gets the remote response, whether it caches a response to the client or responds directly in the form of stream.
6: Decoding. Some requests are encoded, and after clicking this button, they can be automatically decoded according to the encoding format of the response.
7: Find the session.
8: Save the session.
9: Take a screenshot. After taking a screenshot, a screenshot will be returned as a session.

Let's take a look at the session list
insert image description here
insert image description here

Bar Icon Description

insert image description here

Related questions

Fiddler opens and reports 502 error and cannot capture packets

source

Fiddler configuration and usage tutorial

Guess you like

Origin blog.csdn.net/weixin_44231544/article/details/130053012