fiddler简易版没法抓取WiFi接口的数据,也没找到设置的地方,所以换成了wireshark,但是一启动就选择网口时就提示报错:

 报错如下:
“The capture session could not be initiated on interface ‘en0’ (You don’t have permission to capture on that device).
Please check to make sure you have sufficient permissions.
If you installed Wireshark using the package from wireshark.org, Try re-installing it and checking the box for the “Set capture permissions on startup” item.”

权限问题。那怎么开启呢?

网上找了下,可以这样操作:

打开terminal终端进行操作授权

Juli@juli-imac % sudo chmod 777 /dev/bpf*
Password:

重新打开wireshark,问题解决

 

posted on 2022-07-05 18:11  我在全球村  阅读(53)  评论(0编辑  收藏  举报