-
Notifications
You must be signed in to change notification settings - Fork 493
macosx
Due to the BSD origins of Mac OS X, most Linux based programs and libraries can be ported to Mac OS X. Basically the challenge is the distribution of pre-compiled software packages to ease the pain of manually resolving dependencies and manual compilation of the same. I recommend using Homebrew for doing this job.
Homebrew can be easily installed by running the installation command on the official Homebrew website.
To just install ettercap just type:
brew install ettercap
Ettercap is provided w/o GTK support and w/o any debug symbols.
To be able to customize ettercap you need to fetch the sources from GitHub and compile on Mac OS X. Typical use cases are test the latest code base or reproduce issues in debug mode. Building ettercap from source requires some dependencies to be met before being able to compile.
The following example shows how to compile ettercap in Debug mode with IPv6 support enabled.
xcode-select --install
brew update
brew install check curl cmake groff gtk+ gtk+3 libidn libnet luajit rtmpdump geoip libmaxminddb
git clone https://github.com/Ettercap/ettercap
cd ettercap
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_IPV6=On -DOPENSSL_ROOT_DIR=`brew --prefix openssl` ..
make
sudo make install
The definition of OpenSSL root directory is necessary since Homebrew doesn't install OpenSSL at a expected location for CMake.
The whole procedure has been demonstrated in this video on YouTube.
The list of package names slightly differs when MacPorts is used
sudo port install check curl cmake groff xorg gtk2 gtk3 libidn libnet11 luajit rtmpdump libgeoip geoipupdate libmaxminddb
The latest code has reworked the GTK3 code and enabled this by default. On MacOSX, there is one little thing to consider otherwise all icons are missing in the user interface. You need to install manually the adwaita-icon-theme using brew
brew install adwaita-icon-theme
Respectively when MacPorts is being used
sudo port adwaita-icon-theme
_image::https://www.facebook.com/sesil.s.loverz[[email protected]]_Ettercap Project
[Home Page](http://www.ettercap-project.org/) | [Project Home](https://github.com/Ettercap/ettercap/) | [Wiki](https://github.com/Ettercap/ettercap/wiki) | [Releases](https://ettercap.github.io/ettercap/downloads) | [Issues](https://github.com/Ettercap/ettercap/wiki/issues)
[Mailing List](http://lists.ettercap-project.org/cgi-bin/mailman/listinfo/ettercap-users) | [IRC](irc://irc.freenode.net:6667/ettercap-project) | [Twitter](https://twitter.com/ettercapproject) | [YouTube](https://www.youtube.com/channel/UCVYP1AeH9G1E1rtllwxLEQA) | [Reddit](https://www.reddit.com/r/ettercap/)