1. 首页
  2. 移动开发
  3. Android
  4. tcpdump for android

tcpdump for android

上传者: 2018-12-08 17:07:30上传 GZ文件 866.68KB 热度 75次
你需要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 .
用户评论
码姐姐匿名网友 2018-12-08 17:07:30

没有报错,终于可以在android上抓包了,

码姐姐匿名网友 2018-12-08 17:07:30

先谢谢了 然后问句有必要要这么多分吗

码姐姐匿名网友 2018-12-08 17:07:30

不错,能用, 版本有点老。