[实践OK]Mac 安装wireshark The capture session could not be initiated on capture device "en0" (You don't have permission to capture on that device).

jackxiang 2022-11-7 11:42 | |
If you installed Wireshark using the package from wireshark.org, close this dialog and click on the "installing ChmodBPF" link in "You can fix this by installing ChmodBPF." on the main screen, and then complete the installation procedure.

原文链接:https://blog.csdn.net/qq_38376348/article/details/121419684

ls /dev/bpf*
/dev/bpf0  /dev/bpf10 /dev/bpf12 /dev/bpf14 /dev/bpf16 /dev/bpf2  /dev/bpf4  /dev/bpf6  /dev/bpf8
/dev/bpf1  /dev/bpf11 /dev/bpf13 /dev/bpf15 /dev/bpf17 /dev/bpf3  /dev/bpf5  /dev/bpf7  /dev/bpf9

没有给bpf权限

解决办法
chmod 777 /dev/bpf*
重新打开软件后:

可以看到en0网卡流量有变化了
==============================================================

The capture session could not be initiated on capture device "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, close this dialog and click on the "installing ChmodBPF" link in "You can fix this by installing ChmodBPF." on the main screen, and then complete the installation procedure.

来自:https://blog.csdn.net/qq_38376348/article/details/121419684

作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/11586/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!


最后编辑: jackxiang 编辑于2022-11-7 11:42
评论列表
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]