CD to the download location and issue the following command:
tar xzf ettercap-NG-0.7.3.tar.gzNow we have to install some dependencies...and this I will use apt-get for. Kind of a work around, but one that I'm fine with at the moment.
cd ettercap-NG-0.7.3
sudo apt-get install libpcap0.8-dev libpcap-dev libnet1 libnet1-devMake sure you have libssl and the development libraries installed as well (libssl0.9.8 and libssl-dev).
Now you will want to make one change to a source file to avoid make errors.
nano src/ec_log.cChange the following line from
fd->fd = open(filename, 0_CREAT | 0_TRUNC | 0_RDWR | 0_BINARY);Now issue the following commands, hopefully without error:
to
fd->fd = open(filename, 0_CREAT | 0_TRUNC | 0_RDWR | 0_BINARY, 0666);
./configureIf all goes well, ettercap should be installed and you can access the GUI by issuing:
make
sudo make install
sudo ettercap -GHope this works for everyone, leave comments if you run into problems.Technorati Tags: ettercap