Android http packet capture, android

Source: Internet
Author: User

Android http packet capture, android

Sometimes you want to check the http request and response sent by the APP during development. This requires packet capture. This gives you some unknown APIs, for example, you can do some "bad things "...

Required tools:

I. How to Use Fiddler2

After the download is complete, the installation will not be done.

For example, set the Fiddler Proxy:

  

  

 

Click OK. The proxy settings are complete here. Be sureRestart SoftwareThe configuration takes effect. The following figure shows the settings on the mobile phone.

 

2. Mobile Agent settings

Taking Samsung S4 as an example,

  1. For example, set Samsung S4 On a real machine:

Find your Wifi, and you must have your computer and mobile phone in the same Wifi. It is best to send a Wifi to your computer.

    

    

Long press the Wifi hotspot and select modify network configuration.

    

 

 

The proxy is set to manual. The proxy host name is your PC Ip address, and the port is the port set by Fiddler just now.

    

 

Bytes -----------------------------------------------------------------------------------------

  2. Simulator (android 2.3) settings

    

    

    

    

 

The settings are complete. Let's see what we have caught.

 

Bytes --------------------------------------------------------------------------------------------------------

Let's take a lookWeibo ClientObtain the homepage content as follows:

 

I cannot help but lament that it is very powerful ~~~~~~~~~~~~~~~~~~~~~~~~

 

Tip: you can set a filter for Fiddler to easily view the desired Http package:

 


How to capture network data packets of android mobile client applications in Windows 7

This is no different from the data packets of other computers that capture the same LAN. No matter what platform, the network data packets sent are the same protocol. You only need a common packet capture software.

How to Use the shark package capture tool for Android? Help

You can first take a look at this: Wireshark packet capture tool tutorials and common packet capture rules
Wenku.baidu.com/..lfcnl3
Similar tutorials in Baidu Library
 

Related Article

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.