美文网首页
使用wireshark抓取iPhone数据

使用wireshark抓取iPhone数据

作者: 星星杨 | 来源:发表于2023-02-14 10:37 被阅读0次

使用流程

下载Wireshark最新版,官网下载地址:
https://www.wireshark.org/download.html

  1. 将手机通过usb口连在mac电脑上
  2. Mac连接iPhone,终端执行

rvictl -s iphone设备id

如果要断开链接

rvictl -x iphone设备id

查看UDID的方式有两种:
1、手机浏览器打开蒲公英工具网址 https://www.pgyer.com/tools/udid
2、手机连接到电脑上,打开XCode ,打开 Window -> Devices and simulators

image.png

出现问题

1、The capture session could not be initiated on capture device "rvi0" (You don't have permission to capture on that device)
解决方法:
打开终端输入命令sudo chmod 777 /dev/bpf*
在输入密码重新打开即可

2、Warning: That device doesn't support promiscuous mode.
终端输入:

sudo tcpdump -i rvi0 -w trace.pcap

获取数据成功

参考资料:
Mac下使用Wireshark抓iphone手机数据包
https://www.jianshu.com/p/4b172e6d8569
https://www.jianshu.com/p/67be96d313df

相关文章

网友评论

      本文标题:使用wireshark抓取iPhone数据

      本文链接:https://www.haomeiwen.com/subject/gikekdtx.html