最近使用tcpdump抓包工具获取手机发送的数据,在调用终端输出数据命令
adb shell /data/local/tcpdump.bin -n -s 0
时报错,错误如下:
tcpdumo.bin: any: You don't have permission to capture on that device <socket: Operation not permitted>
手机已经获取root权限,我的环境是windows,请教出现这样问题时什么原因导致的?
更新:已解决
拷贝tcpdump,在手机/system/bin/目录下放一份,回过头重新输入命令,解决问题。
The poster wants to capture the mobile data? If so, it is recommended to use charles. You can refer to charles to capture mobile packages