Packet capture preparation 1. need to get tcpdump software, get address (http://www.strazzere.com/android/tcpdump), the general solution has come with, do not need to compile this tool separately 2. connect the Android mobile phone to the USB, open the windows Command Prompt window, run adbshell3. run tcpdump, and enter the following command to start packet capture. Packet capture preparation
1. required
TcpdumpSoftware, get address (http://www.strazzere.com/android/
Tcpdump). This tool is already provided in the general solution and does not need to be compiled separately.
2. connect the Android mobile phone to the computer USB, open the windows Command Prompt window, and run adb shell
3. run tcpdump and run the following command to start packet capture.
Tcpdump-p-vv-s 0-w/sdcard/tcpdump. pcap
4. execute the packet capture analysis operation on the mobile phone end. after the execution is complete, execute Ctrl + C in the command prompt window to interrupt the packet capture process.
5. use Wireshark and other tools to view the packet capture file tcpdump. pcap
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