<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          在 macOS 系統(tǒng)里成功運(yùn)行 Wireshark

          共 4669字,需瀏覽 10分鐘

           ·

          2022-02-16 06:10


          這個標(biāo)題看上去有點(diǎn)莫名其妙,難道要運(yùn)行 wireshark,不就是安裝,再運(yùn)行嗎?


          如果你從沒有遇到任何問題,建議直接跳過不要看了。如果你和我一樣,也碰到一些障礙,那么本文可以供你參考一下。

          問題 1,brew install --cask wireshark 安裝不了

          不知怎的,我執(zhí)行安裝命令,先是報(bào)這樣的錯誤:

          brew install --cask wireshark...==> Moving App 'Wireshark.app' to '/Applications/Wireshark.app'==> Backing App 'Wireshark.app' up to '/usr/local/Caskroom/wireshark/3.6.1/Wireshark.app'==> Removing App '/Applications/Wireshark.app'jietian is not in the sudoers file.  This incident will be reported.==> Purging files for version 3.6.1 of Cask wiresharkError: It seems there is already a Binary at '/usr/local/bin/editcap'.


          說當(dāng)前賬號不在管理員列表里!原因不明,系升級系統(tǒng)后出現(xiàn),已解決。參考:

          【已解決】開工大吉:折騰當(dāng)前管理員賬號不在 sudoer 列表里的問題


          問題 2,文件已存在錯誤


          在解決了問題1之后,重試安裝,出現(xiàn)二進(jìn)制文件已存在的錯誤:


          brew install --cask wiresharkRunning `brew update --preinstall`...==> Auto-updated Homebrew!Updated 1 tap (homebrew/core).==> Updated FormulaeUpdated 2 formulae.
          ==> Downloading https://2.na.dl.wireshark.org/osx/Wireshark%203.6.1%20Intel%2064.dmgAlready downloaded: /Users/cnjeftia/Library/Caches/Homebrew/downloads/1823ce9e1fb7b7498efed78d11e32488883ddc068d75da2df32133384d304990--Wireshark 3.6.1 Intel 64.dmg==> Installing Cask wireshark==> Running installer for wireshark; your password may be necessary.Package installers may write to any location; options such as `--appdir` are ignored.Password:installer: Package name is ChmodBPFinstaller: Upgrading at base path /installer: The upgrade was successful.==> Running installer for wireshark; your password may be necessary.Package installers may write to any location; options such as `--appdir` are ignored.installer: Package name is Add Wireshark to the system PATHinstaller: Upgrading at base path /installer: The upgrade was successful.==> Moving App 'Wireshark.app' to '/Applications/Wireshark.app'==> Backing App 'Wireshark.app' up to '/usr/local/Caskroom/wireshark/3.6.1/Wireshark.app'==> Removing App '/Applications/Wireshark.app'==> Purging files for version 3.6.1 of Cask wiresharkError: It seems there is already a Binary at '/usr/local/bin/editcap'.


          通過先卸載,再重裝解決了:


          brew uninstall wiresharkWarning: Treating wireshark as a formula. For the cask, use homebrew/cask/wiresharkUninstalling /usr/local/Cellar/wireshark/3.6.1... (1,144 files, 98.6MB)
          brew install --cask wiresharkRunning `brew update --preinstall`...==> Downloading https://2.na.dl.wireshark.org/osx/Wireshark%203.6.1%20Intel%2064.dmgAlready downloaded: /Users/cnjeftia/Library/Caches/Homebrew/downloads/1823ce9e1fb7b7498efed78d11e32488883ddc068d75da2df32133384d304990--Wireshark 3.6.1 Intel 64.dmg==> Installing Cask wireshark==> Running installer for wireshark; your password may be necessary.Package installers may write to any location; options such as `--appdir` are ignored.Password:installer: Package name is ChmodBPFinstaller: Upgrading at base path /installer: The upgrade was successful.==> Running installer for wireshark; your password may be necessary.Package installers may write to any location; options such as `--appdir` are ignored.installer: Package name is Add Wireshark to the system PATHinstaller: Upgrading at base path /installer: The upgrade was successful.==> Moving App 'Wireshark.app' to '/Applications/Wireshark.app'==> Linking Binary 'editcap' to '/usr/local/bin/editcap'==> Linking Binary 'androiddump' to '/usr/local/bin/androiddump'==> Linking Binary 'ciscodump' to '/usr/local/bin/ciscodump'==> Linking Binary 'randpktdump' to '/usr/local/bin/randpktdump'==> Linking Binary 'sshdump' to '/usr/local/bin/sshdump'==> Linking Binary 'idl2wrs' to '/usr/local/bin/idl2wrs'==> Linking Binary 'mergecap' to '/usr/local/bin/mergecap'==> Linking Binary 'mmdbresolve' to '/usr/local/bin/mmdbresolve'==> Linking Binary 'randpkt' to '/usr/local/bin/randpkt'==> Linking Binary 'rawshark' to '/usr/local/bin/rawshark'==> Linking Binary 'reordercap' to '/usr/local/bin/reordercap'==> Linking Binary 'sharkd' to '/usr/local/bin/sharkd'==> Linking Binary 'text2pcap' to '/usr/local/bin/text2pcap'==> Linking Binary 'tshark' to '/usr/local/bin/tshark'==> Linking Binary 'udpdump' to '/usr/local/bin/udpdump'==> Linking Binary 'capinfos' to '/usr/local/bin/capinfos'==> Linking Binary 'captype' to '/usr/local/bin/captype'==> Linking Binary 'dftest' to '/usr/local/bin/dftest'==> Linking Binary 'dumpcap' to '/usr/local/bin/dumpcap'?? wireshark was successfully installed!

          問題 3,嘗試運(yùn)行碰到被系統(tǒng)阻止的錯誤


          如下圖所示。嘗試運(yùn)行出現(xiàn)警告框。通過系統(tǒng)的安全和隱私面板,點(diǎn)擊“Open Anyway”,仍然不能運(yùn)行,說是由于開發(fā)者不能被識別,所以被阻止運(yùn)行。



          這題我會,沒有做任何搜索,直接命令行輸入:


          sudo spctl --master-disable

          然后,再次點(diǎn)擊“Open Anyway”,成功打開!



          這個 sudo spctl --master-disable命令,我上一次使用,還是在安裝 WeWork 打印機(jī)時(shí)。


          參考:


          【已解決】Mac OS 安裝打印驅(qū)動程序時(shí)被阻止



          瀏覽 88
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          評論
          圖片
          表情
          推薦
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  午夜理理伦电影A片无码蜜桃av | 日韩一级免费播放 | 大香蕉一区二区 | 美女视频操逼 | 亚洲无码久久久久 |