macOS Ventura 重新安装 Wireshark
macOS Ventura 禁用 Wireshark 权限的解决方案
https://gitlab.com/wireshark/wireshark/-/issues/18734
I had the same issue as all of you reported.
I found this in the legacy Wireshark Q&A and executed the different commands to clean up the OS from Wireshark. Then I reinstalled in the following order: Wireshark / Add Wireshark to path pkg / ChmodBPF pkg It works now correctly with Ventura 13.2 even after a reboot.
Put the following text into a shell script and run that script:
#! /bin/shsudo rm -f \/usr/local/bin/capinfos \/usr/local/bin/dftest \/usr/local/bin/dumpcap \/usr/local/bin/editcap \/usr/local/bin/mergecap \/usr/local/bin/randpkt \/usr/local/bin/rawshark \/usr/local/bin/text2pcap \/usr/local/bin/tshark \/usr/local/bin/wiresharksudo rm -f /etc/paths.d/Wiresharksudo rm -f /etc/manpaths.d/Wiresharksudo pkgutil --forget org.wireshark.cli.pkgsudo rm -rf /Library/StartupItems/ChmodBPFsudo rm -rf "/Library/Application Support/Wireshark"sudo launchctl unload /Library/LaunchDaemons/org.wireshark.ChmodBPF.plistsudo rm -f /Library/LaunchDaemons/org.wireshark.ChmodBPF.plistsudo pkgutil --forget org.wireshark.ChmodBPF.pkgsudo rm -rf /Applications/Wireshark.appsudo pkgutil --forget org.wireshark.Wireshark.pkg
翻译
- 运行以上脚本
- 安装 Wireshark.app
- 将 Wireshark 添加到
PATH
- 安装 ChmodBPF
#network
#wireshark