Use Fiddler2 for Android app Mobile capture and graphics tutorial

Source: Internet
Author: User
<span id="Label3"></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">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" ...</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Tools Required:</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Fiddler grasping package Software</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Android Phone One PC</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>first, How to use Fiddler2</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">After the download is complete, the installation process is not mapped.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">If you set the Fiddler agent:</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">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.</p></p> <ul> <ul> <li><p>Software name:</p></li> <li><p><strong>Fiddler2 (http data capture) v2.2.2.0 free Green Edition</strong></p></li> <li><p>Software size:</p></li> <li><p>615KB</p></li> <li><p>Update time:</p></li> <li><p><span style="margin: 0px; padding: 0px;">2014-05-23</span></p></li> </ul> </ul><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>second, the mobile terminal proxy settings</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Take Samsung S4 as an example,</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">1, such as the real machine Samsung S4 Settings:</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">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.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Press and hold the WiFi hotspot and select Modify Network Configuration.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">The proxy is set to: manual, the proxy host name is your computer ip, the port is the port just fiddler Set.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">-----------------------------------------------------------------------------------------</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">2, Simulator (android 2.3) settings</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">To set it up here, let's see what we've got.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">--------------------------------------------------------------------------------------------------------</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Let's take a look at the Weibo client, get the homepage content as Follows:</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Can't help but sigh, very good very strong ~~~~~~~~~~~~~~~~~~~~~~~~</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Tip: fiddler can be set to filter, it is easy to see the HTTP package we want:</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Fiddler Mobile Grab Bag</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>First Step: Configure Fiddler</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Tools->fiddler Options ...</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Restart Fiddler</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Step two: Install the certificate on the phone</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Use your mobile browser to open http://10.240.139.173:8888 (ip is your Computer's ip,8888 is fiddler port)</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Download Fiddlerroot certificate (file name fiddlerroot.cer) on the page</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">I use the UC browser, downloaded to the Ucdownloads directory, it is important <strong>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). </strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Next: setup--security and Privacy--install from a storage device (follow the INSTRUCTIONS)</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Step Three: set up the agent</strong></p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Turn on your phone wireless, proxy settings, Manual</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Host: 10.240.139.173 (your computer IP running Fiddler)</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Port: 8888</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Are you sure</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">Next is the basic operation of fiddler, we have seen the data packet on the PHONE.</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);">x-user-agent:xone/1.1.2 (androidphone;2.2later;mi 2s/android4.1.1)</p></p><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 10px; padding: 0px; color: rgb(85, 85, 85); font-family: Simsun; font-size: 14px; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p><p><br></p></p><p><p>Use Fiddler2 for Android app Mobile capture and graphics tutorial</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.