mac使用wireshark
时间: 2023-09-03 18:07:11 浏览: 257
在Mac平台上使用Wireshark抓包工具需要安装X11运行环境。如果你的电脑没有安装X11,wireshark将无法正常运行。为了安装X11,你可以打开程序列表,然后点开"其他文件夹",里面会有一个X11的标志。点击这个标志,会链接到一个网页,然后你可以下载xQuartz来安装X11。在安装完xQuartz后,再安装wireshark,选择/Application/Utilities目录下的xQuartz程序,然后X11会运行,弹出一个xterm窗口。在xterm窗口中运行/Application/Wireshark.app/Contents/MacOS/Wireshark,就会执行一系列初始化,并打开wireshark界面。以后再运行wireshark,只需要直接点击图标即可正常运行。另外,如果你想下载绿色免安装的中文版Wireshark,也可以,注意在抓包时需要在终端使用以下命令为其赋权限:sudo chmod 777 /dev/bpf* 。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [mac下如何使用Wireshark的详细教程](https://blog.csdn.net/u013774576/article/details/42644513)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [MAC版免安装Wireshark](https://download.csdn.net/download/wlm0813/10621532)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文