How Fiddler2 captures Android applications

Download and use of Fiddler2 packet capture tool
 2018-04-22 18:06:37     0     0     0

Fiddler is a very popular and practical http packet capture tool. Its principle is to open an http proxy server locally, and then it will forward all http requests and responses. Therefore, it is better than the general firebug or chrome. The package capture tool that comes with it is much easier to use. Not only that, but it can also support some advanced features like request replay. Obviously, it can support http capture of mobile applications. This article will introduce how to use fiddler to capture packets for mobile applications.

 

How to use Fiddler to capture packets of Android applications?

Tools/Materials

  • Fiddler

  • Android device

Start Fiddler and open Tools > Fiddler Options in the menu bar to open the Fiddler Options dialog.

In the Fiddler Options dialog, switch to the Connections tab, then check the box next to "Allow romote computers to connect", and then click the "OK" button.

 

In the Fiddler Options dialog switch to the "HTTPS" tab, then check the box for "Decrypt HTTPS traffic", then check "Ignore server certificate errors (unsafe)", then click the "OK" button.

Just select "from browser only".

 

 

 

 

After configuring fiddler, restart fiddler for the configuration to take effect.

 

 

 

Enter: ipconfig on the local command line to find the ip address of the local machine.

 

Open the "Settings" -> "WLAN" of the android device, find the network you want to connect to, press and hold on it, then select "Modify Network", the network settings dialog box will pop up, and then check "Show advanced options".

Ok, click connect, then open the mobile browser, enter in the URL bar: http://192.168.1.107:8888, install the Fiddler certificate

 

Then start the APP of the android device, click the menu, and you can see the completed request and response data in the fiddler.

 

 

 

 

 

 

 

Fiddler turns off automatic updates

When fiddler starts, it always pops up to update, but you don't want to update, you can set Tools-Optons->General to remove the first √

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324730484&siteId=291194637