TCPDUMP for Android(抓TCP数据包工具)
2012-11-23 19:01
267 查看
转自:http://swverification.blog.sohu.com/144706366.html
如果要抓TCP数据包,我们可以使用TCPdump工具,类似于windows/linux下使用的这个工具一样。具体方法是
下载tcpdump, 还有个地址是http://www.strazzere.com/android/tcpdump,不知道具体版本。
详细使用请参考http://www.tcpdump.org/里面的文档
你需要root权限,
参考文档:http://prem-android.blogspot.com/2009/03/capture-packets-in-android-tcpdump.html
http://nerdjusttyped.blogspot.com/2009/03/android-binary-solo.html
如果要抓TCP数据包,我们可以使用TCPdump工具,类似于windows/linux下使用的这个工具一样。具体方法是
下载tcpdump, 还有个地址是http://www.strazzere.com/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 . 下载wireshark查看数据包,地址是http://www.wireshark.org/download.html,打开这个数据包,就可以查看数据包内容了。
参考文档:http://prem-android.blogspot.com/2009/03/capture-packets-in-android-tcpdump.html
http://nerdjusttyped.blogspot.com/2009/03/android-binary-solo.html
相关文章推荐
- tcpdump_TCPDUMP for Android(抓TCP数据包工具)
- TCPDUMP for Android(抓TCP数据包工具)
- TCPDUMP for Android(抓TCP数据包工具)
- TCPDump for Android(抓TCP数据包工具)
- tcpdump for Android(抓TCP数据包工具)
- Android 使用TCPdump工具,抓TCP数据包。
- 基于 tcpdump for Android 的智能移动终端数据包捕获完整解决方案
- 抓取Android平台数据包之tcpdump 工具的使用过程中出现的问题
- 基于 tcpdump for Android 的智能移动终端数据包捕获完整解决方案
- 【转】基于 tcpdump for Android 的智能移动终端数据包捕获完整解决方案
- 抓包工具TcpDump for Android + wireshark
- 抓包工具TcpDump for Android + wireshark
- 抓取Android平台数据包之tcpdump 工具的使用
- Android常用抓包工具之TcpDump
- 文字接口数据包抓包工具——tcpdump
- Android Wi-Fi Tcpdump抓的数据包中怎么确认UDP视频数据是否有丢包
- android中使用tcpdump拦截分析网络数据包
- DDMS android 开发工具-----dump View Hierarchy for UI automator
- android手机抓wireshark包的步骤-tcpdump(很牛逼的工具)
- Xamarin Mono For Android 4.6.07004 完整离线安装破解版(C#开发Android、IOS工具)