The packet capture tool Fiddler uses baodian to capture mobile phone messages and fiddler messages

Source: Internet
Author: User

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.

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.