Http://www.cr173.com/html/37625_1.html
Do development need to crawl mobile app Http/https packet, want to see the app sent HTTP request and response is what, this need to grab packet, this can get some unknown API, such as can also do some "bad" ...
Tools Required:
Fiddler grasping package Software
Android Phone One PC
First, how to use Fiddler2
After the download is complete, the installation process is not mapped.
If you set the Fiddler agent:
Click OK, here the agent is set to complete, be sure to restart the software configuration to take effect, the following is the phone-side settings.
Browser capture and Debugging tools (Fiddler) 4.4.6.2 official latest Version rating: 7.5 Category: Programming auxiliary Size: 759KB language: English
View more information >>
Second, the mobile terminal proxy settings
Take Samsung S4 as an example,
1, such as the real machine Samsung S4 settings:
Find your wifi and must be in the same wifi as your computer and phone. It is best to send a WiFi to the computer.
Press and hold the WiFi hotspot and select Modify Network configuration.
The proxy is set to: manual, the proxy host name is your computer IP, the port is the port just fiddler set.
-----------------------------------------------------------------------------------------
2, Simulator (Android 2.3) settings
To set it up here, let's see what we've got.
--------------------------------------------------------------------------------------------------------
Let's take a look at the Weibo client, get the homepage content as follows:
Can't help but sigh, very good very strong ~~~~~~~~~~~~~~~~~~~~~~~~
Tip: Fiddler can be set to filter, it is easy to see the HTTP package we want:
Fiddler Mobile Grab Bag
First Step: Configure Fiddler
Tools->fiddler Options ...
Restart Fiddler
Step Two: Install the certificate on the phone
Use your mobile browser to open http://10.240.139.173:8888 (IP is your computer's ip,8888 is fiddler port)
Download Fiddlerroot certificate (file name Fiddlerroot.cer) on the page
I use the UC Browser, downloaded to the Ucdownloads directory, it is important to note that the Fiddlerroot.cer is moved to the root directory (otherwise it will be prompted not to find the certificate file on the USB storage device).
Next: Setup--Security and privacy--install from a storage device (follow the instructions)
Step three: Set up the agent
Turn on your phone wireless, proxy settings, manual
Host: 10.240.139.173 (your computer IP running fiddler)
PORT: 8888
Are you sure
Next is the basic operation of Fiddler, we have seen the data packet on the phone.
x-user-agent:xone/1.1.2 (Androidphone;2.2later;mi 2s/android4.1.1)
Fiddler for Android App Mobile capture package graphic Tutorial