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.zip
(预估有个1文件)
tcpdump
631KB
用户评论