1.手机必须root
2.下载tcpdump 5.1以后的 有安全验证 https://raw.githubusercontent.com/zencodex/hack-android/master/arm-bin/tcpd
3.adb root
4.adb push (自己的tcpdump的文件路径) /data/local/tcpdump
5.adb shell chmod 777 /data/local/tcpdump
6.adb shell
7.su
8./data/local/tcpdump -p -vv -s 0 -w /sdcard/capture.pcap
9.ctrl + c 停止抓包
10.adb pull /mnt/internal_sd/capture.pcap (自己要保存的目录)
网友评论