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

时间:2014-01-30 21:14:40

标签: macos homebrew sniffing

我无法使用自制软件将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山狮中以图形模式成功安装ettercap的步骤,我将不胜感激。

提前致谢

2 个答案:

答案 0 :(得分:22)

要使用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

答案 1 :(得分:0)

从自制软件安装后,新版本的ettercap现在可以使用,但是您必须确保还安装了adwaita-icon-theme软件包

brew install ettercap
brew install adwaita-icon-theme

https://github.com/Ettercap/ettercap/wiki/macosx