Android Network Packet Capture

Source: Internet
Author: User

 

Compress the attachment http://www.bkjia.com/uploadfile/2011/1009/20111009010550946.rarto tcpdump in the same directory of adb.

1. Use a mobile phone as a wireless route

Connect to wireless androidther, enter the address in the browser, execute the following cmd command, press F5 to refresh CTRL + C to stop packet capture

2. Use a mobile browser to access the address.

Enter the address entered by the mobile browser (to prevent getting some unclean information), turn off the inorganic wireless device, and execute the following cmd command. Refresh the address of the mobile browser. Press CTRL + C to stop the packet capture.

Adb shell

Su

Tcpdump-p-vv-s 0-w/sdcards/100801. pcap

Tcpdump-p-vv-s 0-w/sdcards/100801. pcap

 

Note:

Environment Variable configured for adb

Su has root permission

Captured packets/sdcard/100801. pcap

Author: Ah di

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.