macOS 下使用wireshark 获取网卡权限
使用wireshark在macOS系统下,安装很简单,直接从wireshark官网下载对应的macOS版本即可
但是在运行时基本上都会提示没有网卡权限
The capture session could not be initiated on capture device “en0” (You don’t have permission to capture on that device).
等问题,
需要在终端中输入
sudo chmod 777 /dev/bpf*
根据提示输入密码后即可解决