如果要抓TCP数据包,我们可以使用TCPdump工具,具体方法是
下载tcpdump, 还有个地址是http://www.strazzere.com/android/tcpdump,不知道具体版本。
详细使用请参考http://www.tcpdump.org/里面的文档
你需要root权限,
adb push c:\wherever_you_put\tcpdump /data/local/tcpdumpadb 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
需要root权限的支持,因此只能应用在已经破解的rom下,既是虚拟机或者刷过的手机,
oms?fuck!未破解手机使用有问题!
分享到:
相关推荐
android手机抓取数据包工具 抓取tcpdump
C# 抓取TCP UDP网络数据包.zip亲测可用, 谢谢支持。
抓取网络数据包的实现方法、、、、、、、、、、、、、、、、、、、、、、、、、、、
抓取本地数据包工具
这是我利用网络抓包工具抓取数据以后,然后按照TCP协议,对照把数据解析出来的过程,对照这个文档很容易就能让你了解TCP协议包的组成。
.archivetempWireshark抓取网卡协议分析(TCP,UDP,ARP,DNS,DHCP,HTTP超详细版本)_怎样可以抓取到tcp数据包-CSDN博客.mhtml
抓取链路层数据包
HttpAnalyzerFullV5抓取网页数据包
C# 抓取TCP UDP网络数据包.rar
用C++实现网络编程---抓取网络数据包的实现方法
本项目可以直接运行 实现监听网络 抓取网络数据包 分析 显示IP层数据,TCP/UDP 层数据 , 可指定IP 端口号 等
TCP-UDP测试工具。,可以测试TCP协议和UDP协议,抓取网络数据包。