Ethereal with Tcpdump

Capture on Android phones

1, and even on the phone root, remember to turn on developer options, and select the file transfer

2, the copying tcpdump to cell phones, can be operated directly on the computer, it can also be used adb

3, the mobile phone operation using adb kernel, Android kernel based on linux kernel adb is used to enter the kernel

  • win + R, enter the folder where adb
  • adb push c:/Desktop/tcpdump /data/local/tcpdump
  • Tcpdump modify permissions
adb shell
su
chmod 777 /data/local/tcpdump

4, Ethereal

cd /data/local
tcpdump -p -vv -s 0 -w /sdcard/capture.pcap

Tcpdump packet capture can also be used in linux

sudo apt-get install tcpdump
tcpdump -w ~/Downloads/capture.pcap

 

Guess you like

Origin www.cnblogs.com/masonmei/p/11616428.html