Fiddler is one of the most powerful Web debugging tools that can log all client and server HTTP and HTTPS requests, allow user monitoring, set breakpoints, and even modify input and output data, Fiddler contains a powerful event-based scripting subsystem, And can be extended using the. NET language. To use this tool, you must understand the HTTP protocol, and the more you know about the HTTP protocol, the more powerful the tool is.
Other similar tools are: Wireshark,httpwatch,firebug.
Fiddler is working as a proxy Web server, which uses proxy addresses: 127.0.0.1, Port: 8888. Fiddler to normal exit will not automatically log off, otherwise it will affect other programs, resulting in web pages inaccessible, the workaround is to restart the fiddler, and then gracefully shut it down. It is based on the principle of fiddler, we can not only use it to do web-grabbing, but also to do the mobile phone capture bag.
Preparation conditions
- Fiddler (http://fiddler2.com/)
- Operating system: Windows 7
Operation Steps:
Prerequisites : You must ensure that the Fiddler installed computer and the mobile phone to grab the packet in the same LAN, or fiddler access to the computer.
1, open fiddler software, the first thing to do is to open the Fiddler remote Connection, the main menu->tools->options, switch to Connections tab, hook allow remote computers to connect , note that the listening port is 8888, of course, you can change, but you must remember that the computer has an open and not occupied port. Click OK, then restart the fiddler, you must restart, otherwise the changes will not take effect, at the bottom of the window is also prompted.
2, set up the WiFi agent, the mobile phone agent to the computer equipped with fiddler
(1) Get computer IP, run->cmd>ipconfig
(2) Mobile phone Add Agent: Open Wi-Fi page, long press WiFi, click Modify Network
-
-
- Proxy Server host Name: 192.168.0.102
- Port number: 8888
- IP Settings: DHCP
3, so that the setup is complete, you can grab the bag. On the phone to operate the software you want to grab the package, fiddler the left serial port will display the crawled request, click on a request, the right window will be able to see the detailed information. Based on this, the data can be analyzed and modified.
4, if you feel the data is too many, dazzling, you can also use the filter to make a simple filter, so that will only crawl specified from the specified host HTTP packets.
To add a filter, remember to click Actions->run filterset now and let the filter settings take effect.
Android phone fiddler real Machine Grab bag