美文网首页
Mac无法使用wireshark进行抓包,报错

Mac无法使用wireshark进行抓包,报错

作者: yanlong107 | 来源:发表于2021-06-16 20:09 被阅读0次

打开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.”

问题原因:
如图中描述,没有权限

解决方法:

$ sudo chmod 777 /dev/bpf*

相关文章

网友评论

      本文标题:Mac无法使用wireshark进行抓包,报错

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