How does Fiddler capture mobile APP data packets?
Fiddler, a must-have for all software developers! This tool not only captures data packets during web development on PCs, but also captures mobile terminals (Android, Iphone, WindowPhone, etc ).
Step 1: Download the Fiddler. Download link:
Http://w.x.baidu.com/alading/anquan_soft_down_ub/10963
After the download is complete, install it in a silly way!
Step 2: set Fiddler
Open Fiddler, Tools-> Fiddler Options (remember to restart Fiddler after configuration)
Select "Decrpt HTTPS traffic", and Fiddler can intercept HTTPS requests.
Select "Allow remote computers to connect" to Allow other machines to send HTTP/HTTPS requests to Fiddler.
Remember that the port number is 8888.
Step 3: Set the Android mobile phone
First, obtain the IP address of the PC. Enter ipconfig in the command line to obtain the IP address.
Okay, now I get the IP address and port number.
The following describes how to configure proxy settings for Android phones.
Make sure that the mobile phone and PC are connected to the same LAN.
Choose settings on the phone and click Enter WLAN settings. Then, select the connected wireless network and press the displayed dialog box ::
Set the proxy to manual, enter the obtained IP address and port number, and click Save. In this way, our cell phone is successfully set.
Step 4: Download the Fiddler Security Certificate
Open http: // 192.168.1.96: 8888 In the Android browser, click "FiddlerRoot certificate", and then install the certificate ,:
Now we have set all the values. Let's test it and open the super course list APP on the mobile phone.
In this way, the Android mobile terminal data packet is successfully captured. This is of great help for debugging network data requests. We can use this method to determine whether the request network is successful!
Articles you may be interested in:
- Python crawlers capture data transmitted by mobile apps