The packet capture tool Fiddler uses baodian to capture mobile phone messages and fiddler messages
Fiddler uses a proxy to capture data. For Android phones, the network connection proxy is directed to the Fiddler port of the PC to intercept data packets.
Next, I will take one of my practices as an example to introduce how to perform this operation.
Environment: Windows7 and Nubia z7mini (android 5.0)
1. First, make sure that the computer on which Fiddler is installed is in the same LAN as the mobile phone (or connect to the same WIFI), because you need to direct the proxy of the mobile phone to the PC, mutual access is not acceptable.
2. Enable the remote connection with Fiddler. Fiddler Main Menu Tools> Fiddler Options... -> Connections tab, select Allow remote computers to connect.
3. Restart Fidler (this step is important and must be done ).
4. Obtain the IP address of the PC:
Obtain the IP address of the computer with Fiddler installed in the LAN. It will be used when the proxy server is set on the mobile phone. Open the Run window (shortcut key Win + R) in the Start Menu, Enter cmd and press Enter, go to the Windows command line tool, enter ipconfig and press enter to obtain the IP address of the PC.
5. Set the mobile agent:
The mobile phone needs to be connected to WIFI in the same WIFI as the Fiddler computer. Open the WIFI settings page of your phone, select the connected WIFI, and press and hold. The following page is displayed. Select "modify Network ". Check the proxy server and enter 172.172.2.48 as the IP address obtained in ipconfig on the PC. Set the port number to the default 8888 value of Fiddler.
Click Save to complete the proxy settings. You can use Fiddler to capture http packets.
Repost the article with the original address to respect the author's Labor achievements.