Grab Kit Fidder details (mainly to grab requests from Android apps)

Source: Internet
Author: User
Tags get ip

Today, there is no hanging matter, to write an article on how to crawl the Android app packet? Work to do its thing, its prerequisite, internet Google a bit, found an artifact: Fiddler, this seems to be all software developers must be an artifact! This tool can not only crawl the PC on the development of the web when the packet, and can crawl the mobile side (Android,iphone,windowphone, etc.), too powerful, before the web, know that there is a call HttpWatch tool, Can crawl the Web request packet, but compared with this artifact to compare, it is weak explosion! Blown to the present is useless, the following to see the example bar (only demo Android platform, because I am engaged in Android, haha)! Let's get excited!

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 this port number is: 8888

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, first install the NetEase news app.

Below open fiddler, then open the phone in the NetEase news App,fiddler grabbed the package as follows:

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!

Grab Kit Fidder details (mainly to grab requests from Android apps)

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.