macos - 无法使用 Homebrew 以图形模式安装 Ettercap

标签 macos homebrew sniffing

我无法使用 Homebrew 软件将 Ettercap 安装到我的 OSX 10.7.8 上。 Homebrew 允许我安装 Ettercap,但我无法以某种方式使用图形模式来擦它。

➜  ~  ettercap -G

ettercap 0.7.6 copyright 2001-2013 Ettercap Development Team

GTK support is not compiled in ettercap

如果您能指导我完成在我的 OSX mountain lion 上以图形模式成功安装 ettercap 的步骤,我将不胜感激。

提前致谢

最佳答案

要使用 Homebrew 以图形模式安装 Ettercap,可以使用选项 --with-gtk+

$ brew install ettercap --with-gtk+

为了您自己的信息,您可以使用 brew info [formula] 获取有关任何 Homebrew 公式的选项的详细信息

在终端中发出 brew info ettercap 将显示类似的内容

ettercap: stable 0.8.0, HEAD
http://ettercap.github.io/ettercap/
/usr/local/Cellar/ettercap/0.8.0 (69 files, 2,1M) *
  Built from source with: --with-gtk+, --with-ipv6
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/ettercap.rb
==> Dependencies
Build: cmake ✔, ghostscript ✘
Required: pcre ✔, libnet ✔, curl ✔
Optional: ghostscript ✘, gtk+ ✔, luajit ✘
==> Options
--with-ghostscript
    Build with ghostscript support
--with-gtk+
    Build with gtk+ support
--with-ipv6
    Install with IPv6 support
--with-luajit
    Build with luajit support
--without-curses
    Install without curses interface
--without-plugins
    Install without plugins support
--HEAD
    install HEAD version

注意:为了使用此图形模式,您还需要安装XQuartz

关于macos - 无法使用 Homebrew 以图形模式安装 Ettercap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21467519/

相关文章:

c - 奇怪的 lldb 行为(与 gdb 相比)C

windows - 如何在 Windows 中实现类似搜索的聚光灯?

ruby-on-rails - brew安装的RoR ffmpeg

c# - 在 C# 中,我如何监听已经打开的 COM(串行)端口?

sockets - 嗅探所有网络接口(interface)

python - 如果我将文件描述符限制设置为很大的数字,会有什么缺点?

macos - 用于在所有文件中搜索文本字符串的 Unix 命令

php -v 总是返回 php@5.6

node.js - 如何使用 Homebrew 降级或安装旧版本或特定版本的 Node ?

python - 在 Scapy 的 "sniff"函数中使用多个过滤器