Today idle big half a day, old want to get something to play, recall the group inside someone said how to crawl mobile phone app data, suddenly there is something to do. Start entering the topic.
First step: Download artifact fiddler, download Link:
Http://fiddler2.com/get-fiddler
After the download is complete, the idiot installs it!
Step Two: Set fiddler
Open Fiddler, tools-> Fiddler Options (remember to restart Fiddler after configuration)
With "Decrpt HTTPS Traffic" selected, fiddler can intercept HTTPS requests
Select Allow remote computers to connect. is to allow other machines to send HTTP/HTTPS requests to fiddler.
Remember port number: 7879 (default port number: 8888 access failed.) be occupied with it)
Step three: Set up your Android phone
First get the IP address of the PC: command line input: ipconfig, get IP address
Okay, so I got the IP address and port number.
Next to the Android phone proxy settings, I am using the Samsung G4:
Make sure your phone and PC are connected to the same LAN
Enter the phone settings, click enter Wi-Fi settings, select the wireless network connected to, long press the pop-up options box::
Select Modify Network configuration:
Select Show advanced Options, set the proxy to manual, fill in the IP address and port number obtained above, and click Save. This will make our phone set up successfully.
Fourth step: Download the Fiddler security certificate
Use your Android phone's browser to open: http://10.2.145.187:8888, click "Fiddlerroot Certificate" and then install the certificate:
Here we set all the values, the following to test, I use the phone comes with the today's headlines
Below open fiddler, then open the phone in the NetEase news App,fiddler grabbed the package as follows:
Data displayed on mobile app side:
This is to crawl the Android mobile data packet success, this for our network data request after the debugging has a lot of help, we can use this method to determine whether we request the network is successful!
Original address: http://blog.csdn.net/jiangwei0910410003/article/details/19806999 (updated a piece)
Capture all requests for apps in Android using the grab Kit Fidder (GO)