【文件属性】:
文件名称:android网络抓包工具tcpdump
文件大小:360KB
文件格式:ZIP
更新时间:2015-08-07 11:11:31
android 抓包 tcpdump
详细使用请参考http://www.tcpdump.org/里面的文档
你需要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
【文件预览】:
tcpdump
网友评论
- 这个tcpdump不好用了, 而且可以的话最好放在 /system/bin下, 这样在dos窗口就可以用 adb shell tcpdump命令了