1. Environmental Preparedness/ATTENTION:
The phone request has been rooted.
First, you need to configure the JDK environment variables, here is the main explanation of the grab package, the JDK environment variable configuration skipped.
Unzip the adb.zip included in the package to the C packing directory. The entire operation process requires the use of a mobile phone with a data cable to connect the computer.
Click Run, open cmd window, run CD to adb directory
and publish the Tcpdump program to the phone.
ADB push c:/tcpdump/data/local
Enter a command to enter the phone
ABC Shell
Su
On the phone appears whether trust allow control, point Trust
Tcpdump Execute permissions for publishing to the mobile/data/local/directory
chmod 777 Tcpdump
Enter a command to grab a packet
0 -w0.0. 0.0
The above command outputs the captured packet to a path that can be pull to a local
Download the capture package file to a local
ADB pull/sdcard/capture.pcap Capture.pcap
Use tools such as Wireshark to view the capture package file Capture.pcap