- 博客(0)
- 资源 (2)
- 收藏
- 关注
tcpdump for android
你需要root权限,
adb push c:\wherever_you_put\tcpdump /data/local/tcpdump
adb shell chmod 6755 /data/local/tcpdump
抓包很简单
adb shell tcpdump -p -vv -s 0 -w /sdcard/capture.pcap
# "-p": disable promiscuous mode (doesn't work anyway)
# "-s 0": capture the entire packet
# "-w": write packets to a file (rather than printing to stdout)
... do whatever you want to capture, then ^C to stop it ...
导出
adb pull /sdcard/capture.pcap .
2012-04-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人