Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.32k stars 488 forks source link

Not able to uncommend the redir_comman_{on,off} configuration lines and run ettercap as root for which EUID and EGID need to be 0! #813

Closed sayan-sibyl closed 7 years ago

sayan-sibyl commented 7 years ago

Go this site http://picateshackz.com/2015/05/man-in-middle-attack-using-ettercap-in.html These steps are for kali linux and I am on macOS so how to execute these steps in mac? I also tried to open the /etc/ettercap/etter.conf file via terminal using (open -a TextEdit ) command as I don't have any other editor but terminal says file not found and I have a ettercap folder only in /usr/local/cellar/ettercap/0.8.2_1 ,I don't have any other ettercap folder in my mac nor in /etc neither anywhere else screen shot 2017-07-20 at 11 57 15 pm

koeppea commented 7 years ago

Please check /usr/local prefix. So for ettercap.conf it should be at /usr/local/etc/ettercap.conf.

sayan-sibyl commented 7 years ago

Ok I uncommended he redircomman{on,off} but terminal shows me this error(screenshot attached) and I don't use ipfw command since it is not available and I want to use the clean script screen shot 2017-07-24 at 3 29 04 pm

sayan-sibyl commented 7 years ago

Now since I don't use ipfw terminal shows me this error plus I also need a script to clean the rules on exit screen shot 2017-07-24 at 3 43 58 pm

koeppea commented 7 years ago

Please attach the ettercap debug log file.

sayan-sibyl commented 7 years ago

Now how do I get that done?

sayan-sibyl commented 7 years ago

from here can I get a script which clears all the rules on exit?

koeppea commented 7 years ago

Now as I see the screenshot, I can say, that you don't use the latest version of Ettercap, which has for MacOSX a PF related configuration section, since MacOSX has discontinued ipfw in favor of packet filter (pfctl).

I recommend using the latest version from github (see README.GIT). The Ettercap Git Intro Wiki is also worth a look.

Then set up the etter.conf with the BSD/PF section being uncommented.

sayan-sibyl commented 7 years ago

where can I get the latest version of ettercap

sayan-sibyl commented 7 years ago

And how to download all the files as I am new to GitHub

koeppea commented 7 years ago

Have your read the README.GIT? To meet the dependencies to compile ettercap from the latest source code, you should take care of the required programs and libraries.

sayan-sibyl commented 7 years ago

!#?

sayan-sibyl commented 7 years ago

I am confused

sayan-sibyl commented 7 years ago

Ok I have downloaded the ettercap-master folder and ran this command brew install Ettercap --with-gtk+ since I have home-brew installed in my Mac so know have I cloned the latest repository? No success the brew install command installed the 2015 version of ettercap

koeppea commented 7 years ago

I don't have a mac at hand to double check. But Travis performs these steps to build ettercap from Github on Mac:

brew update
brew install check curl
brew install ghostscript gtk+ gtk+3
brew install libidn libnet
brew install luajit openssl pcre rtmpdump geoip
export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=`brew --prefix openssl`"
git clone https://github.com/Ettercap/ettercap
cd ettercap
mkdir build
cd build
cmake $BUILD_ARGS ..
make
make install
sayan-sibyl commented 7 years ago

did he ran this commands in terminal on by one

sayan-sibyl commented 7 years ago

and did he have a shallow brew build or non shallow brew build before building ettercap on mac from Github

0x6773 commented 7 years ago

Travis is not any person/people. See Travis.

sayan-sibyl commented 7 years ago

I don't know how to use travis!

koeppea commented 7 years ago

@sayan-sibyl Actually you don't need to use Travis. I just mentioned the steps Travis does in a scripting manner to build ettercap from source. I don't know what a "shallow" or "non shallow" brew build is, even not when I tried it the last time on a Mac.

Essentially I wonder whether you have tried to perform the steps outlined above or not?

sayan-sibyl commented 7 years ago

I am just not understanding that where do I have to run the commands in terminal or somewhere else?

LocutusOfBorg commented 7 years ago

yes, in the terminal

sayan-sibyl commented 7 years ago

ok do I have to run the commands one by one or all at once n one more thing:- Let me give u an example of what I am trying to say This is /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" the command to clone homebrew to ur mac n this is provided officially by the creators of homebrew do u guys have any dedicated command like this to successfully install ettercap in mac n do I have to run the above said commands(brew update brew install check curl brew install ghostscript gtk+ gtk+3 brew install libidn libnet brew install luajit openssl pcre rtmpdump geoip export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=brew --prefix openssl" git clone https://github.com/Ettercap/ettercap cd ettercap mkdir build cd build cmake $BUILD_ARGS .. make make install) after downloading n extracting the source file from the main github page of ettercap or I can simply run the commands without the zip file?

sayan-sibyl commented 7 years ago

?

sayan-sibyl commented 7 years ago

Ok I ran the commands n ettercap is running with the latest dependencies now what command should I type in when ettercap is updated for high sierra

sayan-sibyl commented 7 years ago

brew update brew install check curl brew install ghostscript gtk+ gtk+3 brew install libidn libnet brew install luajit openssl pcre rtmpdump geoip export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=brew --prefix openssl" git clone https://github.com/Ettercap/ettercap

I ran this commands in terminal the cloning was successful but as soon as I ran the build commands in terminal the build failed!

Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build mkdir: build: File exists Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake $BUILD_ARGS .. -bash: cmake: command not found Sayans-iMac:build sayan$ make make: *** No targets specified and no makefile found. Stop. Sayans-iMac:build sayan$ make install

I installed CMake for command line use then ran this commands and outputs were as the following

Last login: Tue Aug 1 17:54:28 on ttys000 Sayans-iMac:~ sayan$ sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install Password: Linked: '/usr/local/bin/cmake' -> '/Applications/CMake.app/Contents/bin/cmake' Linked: '/usr/local/bin/ctest' -> '/Applications/CMake.app/Contents/bin/ctest' Linked: '/usr/local/bin/cpack' -> '/Applications/CMake.app/Contents/bin/cpack' Linked: '/usr/local/bin/cmake-gui' -> '/Applications/CMake.app/Contents/bin/cmake-gui' Linked: '/usr/local/bin/ccmake' -> '/Applications/CMake.app/Contents/bin/ccmake' Sayans-iMac:~ sayan$ cmake --version cmake version 3.9.0

CMake suite maintained and supported by Kitware (kitware.com/cmake). Sayans-iMac:~ sayan$ whcih cmake -bash: whcih: command not found Sayans-iMac:~ sayan$ which cmake /usr/local/bin/cmake Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build mkdir: build: File exists Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake $BUILD_ARGS .. -- The C compiler identification is AppleClang 8.1.0.8020042 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for arpa/nameser.h -- Looking for arpa/nameser.h - found -- Looking for ltdl.h -- Looking for ltdl.h - not found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for libgen.h -- Looking for libgen.h - found -- Looking for wsyncup in /usr/lib/libcurses.dylib -- Looking for wsyncup in /usr/lib/libcurses.dylib - found -- Looking for cbreak in /usr/lib/libncurses.dylib -- Looking for cbreak in /usr/lib/libncurses.dylib - found -- Found Curses: /usr/lib/libncurses.dylib -- No GTK_BUILD_TYPE defined, default is GTK2 -- Found GTK2_GTK: /usr/local/lib/libgtk-quartz-2.0.dylib CMake Error at /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindOpenSSL.cmake:388 (find_package_handle_standard_args) cmake/Modules/EttercapLibCheck.cmake:74 (find_package) CMakeLists.txt:102 (include)

-- Configuring incomplete, errors occurred! See also "/Users/sayan/ettercap/build/CMakeFiles/CMakeOutput.log". See also "/Users/sayan/ettercap/build/CMakeFiles/CMakeError.log". Sayans-iMac:build sayan$ make make: *** No targets specified and no makefile found. Stop. Sayans-iMac:build sayan$ make install

sayan-sibyl commented 7 years ago

I again ran the commands which travis does this time there was only a single error

Last login: Wed Aug 2 19:30:17 on ttys000 Sayans-iMac:~ sayan$ brew update Updated 1 tap (homebrew/core). ==> Updated Formulae aspell duck git-flow-avh sane-backends watson Sayans-iMac:~ sayan$ brew install check curl Warning: check 0.11.0 is already installed Warning: curl 7.54.1 is already installed Sayans-iMac:~ sayan$ brew install ghostscript gtk+ gtk+3 Warning: ghostscript 9.21_2 is already installed Warning: gtk+ 2.24.31_1 is already installed Warning: gtk+3 3.22.17 is already installed Sayans-iMac:~ sayan$ brew install libidn libnet Warning: libidn 1.33 is already installed Warning: libnet 1.1.6 is already installed Sayans-iMac:~ sayan$ brew install luajit openssl pcre rtmpdump geoip Warning: luajit 2.0.5 is already installed Warning: openssl 1.0.2l is already installed Warning: pcre 8.41 is already installed Warning: rtmpdump 2.4+20151223 is already installed Warning: geoip 1.6.11 is already installed Sayans-iMac:~ sayan$ export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=brew --prefix openssl" Sayans-iMac:~ sayan$ git clone https://github.com/Ettercap/ettercap fatal: destination path 'ettercap' already exists and is not an empty directory. Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build mkdir: build: File exists Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake $BUILD_ARGS .. -- Found OpenSSL: /usr/lib/libcrypto.dylib (found version "1.0.2l") -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Looking for iconv -- Looking for iconv - not found -- Looking for dlopen -- Looking for dlopen - found -- CURL support requested. Will look for curl >= 7.26.0 -- Found CURL: /usr/lib/libcurl.dylib (Required is at least version "7.26.0") -- Looking for poll -- Looking for poll - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for select -- Looking for select - found -- Looking for scandir -- Looking for scandir - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strsep -- Looking for strsep - found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for memmem -- Looking for memmem - found -- Looking for memrchr -- Looking for memrchr - not found -- Looking for basename -- Looking for basename - found -- Looking for strndup -- Looking for strndup - found -- Found LIBNET: /usr/local/lib/libnet.dylib
-- Found PCRE: /usr/local/lib/libpcre.dylib
-- Performing Test HAVE_MUTEX_RECURSIVE_NP -- Performing Test HAVE_MUTEX_RECURSIVE_NP - Failed -- Found BISON: /usr/bin/bison (found version "2.3") -- Found FLEX: /usr/bin/flex (found version "2.5.35")

HAVING TROUBLE BUILDING ETTERCAP?

  1. Install any missing dependencies
  2. run 'make clean-all'
  3. run 'cmake /Users/sayan/ettercap'

-- The following OPTIONAL packages have been found:

-- The following REQUIRED packages have been found:

-- Configuring done -- Generating done -- Build files have been written to: /Users/sayan/ettercap/build Sayans-iMac:build sayan$ make Scanning dependencies of target ec_interfaces [ 0%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/__/ec_interfaces.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_conn.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_display.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_plugin.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_profile.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/daemon/ec_daemon.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_debug.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dialog.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dynlist.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_error.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_file.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_input.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_list.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_menu.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_panel.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_percentage.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_scroll.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_window.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_filters.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_help.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_hosts.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_live.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_logging.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_mitm.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_offline.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_plugins.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_start.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_targets.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_connections.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_profiles.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_conf.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_filters.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_help.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_hosts.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_live.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_logging.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_menus.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_mitm.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_offline.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_plugins.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_start.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_targets.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_connections.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_profiles.c.o [ 19%] Linking C static library libec_interfaces.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libec_interfaces.a(wdg_debug.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libec_interfaces.a(wdg_debug.c.o) has no symbols [ 19%] Built target ec_interfaces Scanning dependencies of target libnet [ 19%] Built target libnet Scanning dependencies of target lib_ettercap [ 19%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_mem.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_capture.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_checksum.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_connbuf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conntrack.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_debug.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_decode.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dispatcher.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dissect.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_ccmp.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_tkip.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_error.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_exit.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_file.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_filter.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_fingerprint.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_format.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_globals.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hash.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hook.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inet.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inject.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_log.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_manuf.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_mitm.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_network.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_packet.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_passive.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_plugins.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_poll.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_profiles.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_resolv.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_scan.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_send.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_services.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_session.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_set.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_signals.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sleep.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_bridge.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_unified.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_socket.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sslwrap.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_stats.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_streambuf.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_strings.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_threads.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_ui.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_utils.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_bgp.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_cvs.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dhcp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ftp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_gg.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_http.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_icq.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_imap.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_irc.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_iscsi.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ldap.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mdns.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mongodb.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mountd.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_msn.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mysql.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nbns.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nntp.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_o5logon.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ospf.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_pop.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_postgresql.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_portmap.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_radius.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rcon.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rip.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rlogin.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smb.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smtp.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_snmp.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_socks.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ssh.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_telnet.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_TN3270.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vnc.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vrrp.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_x11.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ymsg.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_arp_poisoning.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_dhcp_spoofing.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_icmp_redirect.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_port_stealing.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_arp.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_cooked.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_erf.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_eth.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_fddi.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_gre.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_esp.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_icmp.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ip.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_mpls.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_null.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppi.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppp.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_pppoe.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_rawip.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tcp.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tr.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_udp.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_vlan.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_eapol.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_prism.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_radiotap.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_geoip.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dns.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/os/ec_darwin.c.o [ 64%] Building C object src/CMakeFiles/lib_ettercap.dir/missing/memrchr.c.o [ 64%] Linking C shared library libettercap.dylib [ 64%] Built target lib_ettercap Scanning dependencies of target ettercap [ 65%] Building C object src/CMakeFiles/ettercap.dir/ec_parser.c.o [ 65%] Building C object src/CMakeFiles/ettercap.dir/ec_main.c.o [ 65%] Linking C executable ettercap [ 65%] Built target ettercap Scanning dependencies of target stp_mangler [ 65%] Building C object plug-ins/CMakeFiles/stp_mangler.dir/stp_mangler/stp_mangler.c.o [ 66%] Linking C shared module ec_stp_mangler.so [ 66%] Built target stp_mangler Scanning dependencies of target smurf_attack [ 67%] Building C object plug-ins/CMakeFiles/smurf_attack.dir/smurf_attack/smurf_attack.c.o [ 67%] Linking C shared module ec_smurf_attack.so [ 67%] Built target smurf_attack Scanning dependencies of target smb_down [ 67%] Building C object plug-ins/CMakeFiles/smb_down.dir/smb_down/smb_down.c.o [ 67%] Linking C shared module ec_smb_down.so [ 67%] Built target smb_down Scanning dependencies of target scan_poisoner [ 68%] Building C object plug-ins/CMakeFiles/scan_poisoner.dir/scan_poisoner/scan_poisoner.c.o [ 68%] Linking C shared module ec_scan_poisoner.so [ 68%] Built target scan_poisoner Scanning dependencies of target reply_arp [ 68%] Building C object plug-ins/CMakeFiles/reply_arp.dir/reply_arp/reply_arp.c.o [ 69%] Linking C shared module ec_reply_arp.so [ 69%] Built target reply_arp Scanning dependencies of target remote_browser [ 69%] Building C object plug-ins/CMakeFiles/remote_browser.dir/remote_browser/remote_browser.c.o [ 70%] Linking C shared module ec_remote_browser.so [ 70%] Built target remote_browser Scanning dependencies of target dummy [ 71%] Building C object plug-ins/CMakeFiles/dummy.dir/dummy/dummy.c.o [ 71%] Linking C shared module ec_dummy.so [ 71%] Built target dummy Scanning dependencies of target pptp_reneg [ 71%] Building C object plug-ins/CMakeFiles/pptp_reneg.dir/pptp_reneg/pptp_reneg.c.o [ 71%] Linking C shared module ec_pptp_reneg.so [ 71%] Built target pptp_reneg Scanning dependencies of target pptp_pap [ 71%] Building C object plug-ins/CMakeFiles/pptp_pap.dir/pptp_pap/pptp_pap.c.o [ 72%] Linking C shared module ec_pptp_pap.so [ 72%] Built target pptp_pap Scanning dependencies of target dns_spoof [ 72%] Building C object plug-ins/CMakeFiles/dns_spoof.dir/dns_spoof/dns_spoof.c.o [ 72%] Linking C shared module ec_dns_spoof.so [ 72%] Built target dns_spoof Scanning dependencies of target pptp_clear [ 72%] Building C object plug-ins/CMakeFiles/pptp_clear.dir/pptp_clear/pptp_clear.c.o [ 73%] Linking C shared module ec_pptp_clear.so [ 73%] Built target pptp_clear Scanning dependencies of target link_type [ 73%] Building C object plug-ins/CMakeFiles/link_type.dir/link_type/link_type.c.o [ 74%] Linking C shared module ec_link_type.so [ 74%] Built target link_type Scanning dependencies of target repoison_arp [ 74%] Building C object plug-ins/CMakeFiles/repoison_arp.dir/repoison_arp/repoison_arp.c.o [ 74%] Linking C shared module ec_repoison_arp.so [ 74%] Built target repoison_arp Scanning dependencies of target isolate [ 74%] Building C object plug-ins/CMakeFiles/isolate.dir/isolate/isolate.c.o [ 75%] Linking C shared module ec_isolate.so [ 75%] Built target isolate Scanning dependencies of target gw_discover [ 76%] Building C object plug-ins/CMakeFiles/gw_discover.dir/gw_discover/gw_discover.c.o [ 76%] Linking C shared module ec_gw_discover.so [ 76%] Built target gw_discover Scanning dependencies of target finger_submit [ 76%] Building C object plug-ins/CMakeFiles/finger_submit.dir/finger_submit/finger_submit.c.o [ 77%] Linking C shared module ec_finger_submit.so [ 77%] Built target finger_submit Scanning dependencies of target finger [ 78%] Building C object plug-ins/CMakeFiles/finger.dir/finger/finger.c.o [ 78%] Linking C shared module ec_finger.so [ 78%] Built target finger Scanning dependencies of target rand_flood [ 79%] Building C object plug-ins/CMakeFiles/rand_flood.dir/rand_flood/rand_flood.c.o [ 79%] Linking C shared module ec_rand_flood.so [ 79%] Built target rand_flood Scanning dependencies of target gre_relay [ 79%] Building C object plug-ins/CMakeFiles/gre_relay.dir/gre_relay/gre_relay.c.o [ 79%] Linking C shared module ec_gre_relay.so [ 79%] Built target gre_relay Scanning dependencies of target pptp_chapms1 [ 80%] Building C object plug-ins/CMakeFiles/pptp_chapms1.dir/pptp_chapms1/pptp_chapms1.c.o [ 80%] Linking C shared module ec_pptp_chapms1.so [ 80%] Built target pptp_chapms1 Scanning dependencies of target find_conn [ 80%] Building C object plug-ins/CMakeFiles/find_conn.dir/find_conn/find_conn.c.o [ 81%] Linking C shared module ec_find_conn.so [ 81%] Built target find_conn Scanning dependencies of target autoadd [ 82%] Building C object plug-ins/CMakeFiles/autoadd.dir/autoadd/autoadd.c.o [ 82%] Linking C shared module ec_autoadd.so [ 82%] Built target autoadd Scanning dependencies of target find_ip [ 82%] Building C object plug-ins/CMakeFiles/find_ip.dir/find_ip/find_ip.c.o [ 82%] Linking C shared module ec_find_ip.so [ 82%] Built target find_ip Scanning dependencies of target search_promisc [ 82%] Building C object plug-ins/CMakeFiles/search_promisc.dir/search_promisc/search_promisc.c.o [ 83%] Linking C shared module ec_search_promisc.so [ 83%] Built target search_promisc Scanning dependencies of target dos_attack [ 84%] Building C object plug-ins/CMakeFiles/dos_attack.dir/dos_attack/dos_attack.c.o [ 84%] Linking C shared module ec_dos_attack.so [ 84%] Built target dos_attack Scanning dependencies of target smb_clear [ 84%] Building C object plug-ins/CMakeFiles/smb_clear.dir/smb_clear/smb_clear.c.o [ 85%] Linking C shared module ec_smb_clear.so [ 85%] Built target smb_clear Scanning dependencies of target curl [ 85%] Built target curl Scanning dependencies of target sslstrip [ 85%] Building C object plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o [ 86%] Linking C shared module ec_sslstrip.so [ 86%] Built target sslstrip Scanning dependencies of target mdns_spoof [ 86%] Building C object plug-ins/CMakeFiles/mdns_spoof.dir/mdns_spoof/mdns_spoof.c.o [ 87%] Linking C shared module ec_mdns_spoof.so [ 87%] Built target mdns_spoof Scanning dependencies of target fraggle_attack [ 87%] Building C object plug-ins/CMakeFiles/fraggle_attack.dir/fraggle_attack/fraggle_attack.c.o [ 88%] Linking C shared module ec_fraggle_attack.so [ 88%] Built target fraggle_attack Scanning dependencies of target chk_poison [ 88%] Building C object plug-ins/CMakeFiles/chk_poison.dir/chk_poison/chk_poison.c.o [ 89%] Linking C shared module ec_chk_poison.so [ 89%] Built target chk_poison Scanning dependencies of target nbns_spoof [ 89%] Building C object plug-ins/CMakeFiles/nbns_spoof.dir/nbns_spoof/nbns_spoof.c.o [ 89%] Linking C shared module ec_nbns_spoof.so [ 89%] Built target nbns_spoof Scanning dependencies of target arp_cop [ 89%] Building C object plug-ins/CMakeFiles/arp_cop.dir/arp_cop/arp_cop.c.o [ 89%] Linking C shared module ec_arp_cop.so [ 89%] Built target arp_cop Scanning dependencies of target find_ettercap [ 89%] Building C object plug-ins/CMakeFiles/find_ettercap.dir/find_ettercap/find_ettercap.c.o [ 90%] Linking C shared module ec_find_ettercap.so [ 90%] Built target find_ettercap Scanning dependencies of target etterlog [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_analyze.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_conn.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode_http.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_display.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_ec_compat.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_log.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_main.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_parser.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_profiles.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_stream.c.o [ 95%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_target.c.o [ 95%] Linking C executable etterlog [ 95%] Built target etterlog [ 95%] [FLEX][EF_SCANNER] Building scanner with flex 2.5.35 [ 96%] [BISON][EF_PARSER] Building parser with bison 2.3 etterfilter/ef_grammar.y: conflicts: 17 shift/reduce Scanning dependencies of target etterfilter [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_compiler.c.o [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_ec_compat.c.o [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_encode.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_main.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_output.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_parser.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_tables.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_test.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/ef_syntax.c.o [100%] Building C object utils/CMakeFiles/etterfilter.dir/ef_grammar.c.o [100%] Linking C executable etterfilter [100%] Built target etterfilter Scanning dependencies of target man [100%] Built target man Sayans-iMac:build sayan$ make install [ 19%] Built target ec_interfaces [ 19%] Built target libnet [ 64%] Built target lib_ettercap [ 65%] Built target ettercap [ 66%] Built target stp_mangler [ 67%] Built target smurf_attack [ 67%] Built target smb_down [ 68%] Built target scan_poisoner [ 69%] Built target reply_arp [ 70%] Built target remote_browser [ 71%] Built target dummy [ 71%] Built target pptp_reneg [ 72%] Built target pptp_pap [ 72%] Built target dns_spoof [ 73%] Built target pptp_clear [ 74%] Built target link_type [ 74%] Built target repoison_arp [ 75%] Built target isolate [ 76%] Built target gw_discover [ 77%] Built target finger_submit [ 78%] Built target finger [ 79%] Built target rand_flood [ 79%] Built target gre_relay [ 80%] Built target pptp_chapms1 [ 81%] Built target find_conn [ 82%] Built target autoadd [ 82%] Built target find_ip [ 83%] Built target search_promisc [ 84%] Built target dos_attack [ 85%] Built target smb_clear [ 85%] Built target curl [ 86%] Built target sslstrip [ 87%] Built target mdns_spoof [ 88%] Built target fraggle_attack [ 89%] Built target chk_poison [ 89%] Built target nbns_spoof [ 89%] Built target arp_cop [ 90%] Built target find_ettercap [ 95%] Built target etterlog [100%] Built target etterfilter [100%] Built target man Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/libettercap.0.0.0.dylib -- Installing: /usr/local/lib/libettercap.0.dylib -- Installing: /usr/local/lib/libettercap.dylib -- Installing: /usr/local/bin/ettercap -- Installing: /usr/local/share/polkit-1/actions/org.pkexec.ettercap.policy -- Installing: /usr/local/share/applications/ettercap.desktop -- Installing: /usr/local/share/appdata/ettercap.appdata.xml -- Installing: /usr/local/bin/ettercap-pkexec -- Installing: /usr/local/lib/ettercap/ec_sslstrip.so -- Installing: /usr/local/lib/ettercap/ec_arp_cop.so -- Installing: /usr/local/lib/ettercap/ec_autoadd.so -- Installing: /usr/local/lib/ettercap/ec_chk_poison.so -- Installing: /usr/local/lib/ettercap/ec_dns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_mdns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_dos_attack.so -- Installing: /usr/local/lib/ettercap/ec_dummy.so -- Installing: /usr/local/lib/ettercap/ec_find_conn.so -- Installing: /usr/local/lib/ettercap/ec_find_ettercap.so -- Installing: /usr/local/lib/ettercap/ec_find_ip.so -- Installing: /usr/local/lib/ettercap/ec_finger.so -- Installing: /usr/local/lib/ettercap/ec_finger_submit.so -- Installing: /usr/local/lib/ettercap/ec_fraggle_attack.so -- Installing: /usr/local/lib/ettercap/ec_gre_relay.so -- Installing: /usr/local/lib/ettercap/ec_gw_discover.so -- Installing: /usr/local/lib/ettercap/ec_isolate.so -- Installing: /usr/local/lib/ettercap/ec_link_type.so -- Installing: /usr/local/lib/ettercap/ec_nbns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_pptp_chapms1.so -- Installing: /usr/local/lib/ettercap/ec_pptp_clear.so -- Installing: /usr/local/lib/ettercap/ec_pptp_pap.so -- Installing: /usr/local/lib/ettercap/ec_pptp_reneg.so -- Installing: /usr/local/lib/ettercap/ec_rand_flood.so -- Installing: /usr/local/lib/ettercap/ec_remote_browser.so -- Installing: /usr/local/lib/ettercap/ec_reply_arp.so -- Installing: /usr/local/lib/ettercap/ec_repoison_arp.so -- Installing: /usr/local/lib/ettercap/ec_scan_poisoner.so -- Installing: /usr/local/lib/ettercap/ec_search_promisc.so -- Installing: /usr/local/lib/ettercap/ec_smb_clear.so -- Installing: /usr/local/lib/ettercap/ec_smb_down.so -- Installing: /usr/local/lib/ettercap/ec_smurf_attack.so -- Installing: /usr/local/lib/ettercap/ec_stp_mangler.so -- Installing: /usr/local/bin/etterfilter -- Installing: /usr/local/bin/etterlog CMake Error at share/cmake_install.cmake:39 (file): file cannot create directory: /etc/ettercap. Maybe need administrative privileges. Call Stack (most recent call first): cmake_install.cmake:36 (include)

make: *** [install] Error

sayan-sibyl commented 7 years ago

Ok ran the last command with sudo (sudo make install) and again same error

Sayans-iMac:build sayan$ brew update Already up-to-date. Sayans-iMac:build sayan$ brew install check curl Warning: check 0.11.0 is already installed Warning: curl 7.54.1 is already installed Sayans-iMac:build sayan$ brew install ghostscript gtk+ gtk+3 Warning: ghostscript 9.21_2 is already installed Warning: gtk+ 2.24.31_1 is already installed Warning: gtk+3 3.22.17 is already installed Sayans-iMac:build sayan$ brew install libidn libnet Warning: libidn 1.33 is already installed Warning: libnet 1.1.6 is already installed Sayans-iMac:build sayan$ brew install luajit openssl pcre rtmpdump geoip Warning: luajit 2.0.5 is already installed Warning: openssl 1.0.2l is already installed Warning: pcre 8.41 is already installed Warning: rtmpdump 2.4+20151223 is already installed Warning: geoip 1.6.11 is already installed Sayans-iMac:build sayan$ export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=brew --prefix openssl" Sayans-iMac:build sayan$ git clone https://github.com/Ettercap/ettercap Cloning into 'ettercap'... remote: Counting objects: 21225, done. remote: Total 21225 (delta 0), reused 0 (delta 0), pack-reused 21225 Receiving objects: 100% (21225/21225), 76.87 MiB | 391.00 KiB/s, done. Resolving deltas: 100% (16195/16195), done. Sayans-iMac:build sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake $BUILD_ARGS .. -- The C compiler identification is AppleClang 8.1.0.8020042 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for arpa/nameser.h -- Looking for arpa/nameser.h - found -- Looking for ltdl.h -- Looking for ltdl.h - not found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for libgen.h -- Looking for libgen.h - found -- Looking for wsyncup in /usr/lib/libcurses.dylib -- Looking for wsyncup in /usr/lib/libcurses.dylib - found -- Looking for cbreak in /usr/lib/libncurses.dylib -- Looking for cbreak in /usr/lib/libncurses.dylib - found -- Found Curses: /usr/lib/libncurses.dylib
-- No GTK_BUILD_TYPE defined, default is GTK2 -- Found GTK2_GTK: /usr/local/lib/libgtk-quartz-2.0.dylib
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /Applications/CMake.app/Contents/share/cmake-3.9/Modules/FindOpenSSL.cmake:388 (find_package_handle_standard_args) cmake/Modules/EttercapLibCheck.cmake:74 (find_package) CMakeLists.txt:102 (include)

-- Configuring incomplete, errors occurred! See also "/Users/sayan/ettercap/build/ettercap/build/CMakeFiles/CMakeOutput.log". See also "/Users/sayan/ettercap/build/ettercap/build/CMakeFiles/CMakeError.log". Sayans-iMac:build sayan$ make make: No targets specified and no makefile found. Stop. Sayans-iMac:build sayan$ sudo make install Password: make: No rule to make target `install'. Stop.

sgeto commented 7 years ago

I don't have a MAC, but to share a few ideas:

  1. It makes sense that yoi can't copy files into/ect as a regular user. That sudo make install isn't recognized, however doesn't make much sense to me... Can you post the results of the two commands: Execute them in your ettercap build directory.
  2. make help
  3. sudo make help

The output should be identical.

  1. Ettercaps set the sysconfdir by default to /etc no matter the OS. The sysconfdir is where ettercap and co look for their config files etter.conf, etter.dns ect. You can override that on the command line or gui. More on that in a bit.

  2. You're relying way too much on the commands uses when building ettercaps with/on travis. You shouldn't blindly follow them. You should really try to understand them. Ask if necessary. If you had, you may notice that the osx builds on travis are set up to check whether ettercap builds or not, not whether it installs or executes. @koeppea mentioned a different config directory that you may or may not need to utilise on osx (/usr/local/etc) That's where you want ettercap to place and look for its config files. Looks like it could work. Again, I don't have a MAC.

I would try executing the following commands from your build directory:

1. sudo make uninstall to clean things up. try just make uninstall if you get errors.

2. make clean-all To delete your build files and start over entirely

3. brew --prefix openssl I guess this outputs the absolute path to the root of your openssl development files. Something like /usr/local/ or /home/youname/openssl

copy the path or remember it.

4. cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=blablabla

replace "blablabla" with the output from step 3 before you proceed.

5. make

6. sudo make install

That's how I would do it at least. if you get errors, post the output here

Good luck

sayan-sibyl commented 7 years ago

Sayans-iMac:ettercap sayan$ sudo make uninstall Password: make: No rule to make target `uninstall'. Stop. Sayans-iMac:ettercap sayan$ make clean-all make: No rule to make target `clean-all'. Stop. Sayans-iMac:ettercap sayan$ brew --prefix openssl /usr/local/opt/openssl Sayans-iMac:ettercap sayan$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:13 (message): ettercap requires an out of source build. Please create a separate build directory and run 'cmake /path/to/ettercap [options]' there. Call Stack (most recent call first): CMakeLists.txt:10 (macro_ensure_out_of_source_build)

CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:14 (message): Remove the file CMakeCache.txt in /Users/sayan/ettercap first. Call Stack (most recent call first): CMakeLists.txt:10 (macro_ensure_out_of_source_build)

-- Configuring incomplete, errors occurred! See also "/Users/sayan/ettercap/CMakeFiles/CMakeOutput.log". Sayans-iMac:ettercap sayan$ make make: *** No targets specified and no makefile found. Stop. Sayans-iMac:ettercap sayan$ sudo make install make: Nothing to be done for `install'. Sayans-iMac:ettercap sayan$

sgeto commented 7 years ago

come on, man. you're not in the build directory. remember that one? there is a directory called build (that you created) inside the ettercap folder you cloned from github. there is where you still have to run all of the build commands.

I have a typo btw the correct command in step 4 is

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..

also when you get an error, you stop. don't run the next command. this can be dangerous. also instead of doing step 1-3 simply delete the entire build folder and create a new one. If you are in Sayans-iMac:ettercap, which I assume is the root of the ettercap repo, you could do

rm -rf build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..`
make 
sudo make install
sayan-sibyl commented 7 years ago

how to go into the build directory do I type in cd ettercap then cd build and what do u mean by dangerous

sayan-sibyl commented 7 years ago

I am cloning to ettercap once again by typing this commands

brew update brew install check curl brew install ghostscript gtk+ gtk+3 brew install libidn libnet brew install luajit openssl pcre rtmpdump geoip export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=brew --prefix openssl" git clone https://github.com/Ettercap/ettercap cd ettercap mkdir build cd build cmake $BUILD_ARGS .. make make install

sayan-sibyl commented 7 years ago

Now tell me what should I type in after this

sayan-sibyl commented 7 years ago

Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build mkdir: build: File exists Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake $BUILD_ARGS .. CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:13 (message): ettercap requires an out of source build. Please create a separate build directory and run 'cmake /path/to/ettercap [options]' there. Call Stack (most recent call first): CMakeLists.txt:10 (macro_ensure_out_of_source_build)

CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:14 (message): Remove the file CMakeCache.txt in /Users/sayan/ettercap first. Call Stack (most recent call first): CMakeLists.txt:10 (macro_ensure_out_of_source_build)

-- Configuring incomplete, errors occurred! See also "/Users/sayan/ettercap/CMakeFiles/CMakeOutput.log". Sayans-iMac:build sayan$ make make: *** No targets specified and no makefile found. Stop. Sayans-iMac:build sayan$ make install

sgeto commented 7 years ago

stop pasting stuff into the terminal when you read the word Error that's what I mean with dangerous

you should start all over. close the terminal/shell remove the ettercap folder, I mean delete it. use the finderfor that. open a new terminal/shell and then try these commands:

cd ~
git clone https://github.com/Ettercap/ettercap
cd ettercap
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..`
make 
sudo make install

if you see error at any point, do not continue and and post the error here

sayan-sibyl commented 7 years ago

screen shot 2017-08-03 at 4 01 46 pm I am stuck here Sayans-iMac:~ sayan$ cd ~ Sayans-iMac:~ sayan$ git clone https://github.com/Ettercap/ettercap Cloning into 'ettercap'... remote: Counting objects: 21225, done. remote: Total 21225 (delta 0), reused 0 (delta 0), pack-reused 21225 Receiving objects: 100% (21225/21225), 76.87 MiB | 267.00 KiB/s, done. Resolving deltas: 100% (16195/16195), done. Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..`

make sudo make install

After I click enter, the process does not comes out of the loop I mean the greater than sign does not vanishes

sayan-sibyl commented 7 years ago

The build was successful but it installed the 2015 version of ettercap not the latest from the respository and after running ettercap for the first time I received this errors

mdns_spoof: etter.mdns:52 Invalid IPv4 or IPv6 address mdns_spoof: etter.mdns:54 Invalid IPv4 or IPv6 address mdns_spoof: etter.mdns:61 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:71 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:78 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:81 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:90 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:99 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:112 Invalid IPv4 or IPv6 address 33 plugins 42 protocol dissectors 57 ports monitored 20530 mac vendor fingerprint 1766 tcp OS fingerprint 2182 known services Starting Unified sniffing...

Randomizing 255 hosts for scanning... Scanning the whole netmask for 255 hosts... 154 hosts added to the hosts list... In the GUI and this errors in the terminal

ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team

(process:5901): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.

(:5901): Gtk-CRITICAL **: gtk_image_get_pixbuf: assertion 'image->storage_type == GTK_IMAGE_PIXBUF || image->storage_type == GTK_IMAGE_EMPTY' failed Error Opening file /usr/local/var/GeoIP/GeoIP.dat Error Opening file /path/to/GeoIP.dat

And the build Log was as following

Last login: Thu Aug 3 16:04:59 on ttys000 Sayans-iMac:~ sayan$ cd ~ Sayans-iMac:~ sayan$ git clone https://github.com/Ettercap/ettercap Cloning into 'ettercap'... remote: Counting objects: 21225, done. remote: Total 21225 (delta 0), reused 0 (delta 0), pack-reused 21225 Receiving objects: 100% (21225/21225), 76.87 MiB | 214.00 KiB/s, done. Resolving deltas: 100% (16195/16195), done. Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ mkdir build Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. -- The C compiler identification is AppleClang 8.1.0.8020042 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for arpa/nameser.h -- Looking for arpa/nameser.h - found -- Looking for ltdl.h -- Looking for ltdl.h - not found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for libgen.h -- Looking for libgen.h - found -- Looking for wsyncup in /usr/lib/libcurses.dylib -- Looking for wsyncup in /usr/lib/libcurses.dylib - found -- Looking for cbreak in /usr/lib/libncurses.dylib -- Looking for cbreak in /usr/lib/libncurses.dylib - found -- Found Curses: /usr/lib/libncurses.dylib
-- No GTK_BUILD_TYPE defined, default is GTK2 -- Found GTK2_GTK: /usr/local/lib/libgtk-quartz-2.0.dylib
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.0.2l") -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Looking for iconv -- Looking for iconv - not found -- Looking for dlopen -- Looking for dlopen - found -- CURL support requested. Will look for curl >= 7.26.0 -- Found CURL: /usr/lib/libcurl.dylib (Required is at least version "7.26.0") -- Looking for poll -- Looking for poll - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for select -- Looking for select - found -- Looking for scandir -- Looking for scandir - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strsep -- Looking for strsep - found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for memmem -- Looking for memmem - found -- Looking for memrchr -- Looking for memrchr - not found -- Looking for basename -- Looking for basename - found -- Looking for strndup -- Looking for strndup - found -- Found LIBNET: /usr/local/lib/libnet.dylib
-- Found PCRE: /usr/local/lib/libpcre.dylib
-- Performing Test HAVE_MUTEX_RECURSIVE_NP -- Performing Test HAVE_MUTEX_RECURSIVE_NP - Failed -- Found BISON: /usr/bin/bison (found version "2.3") -- Found FLEX: /usr/bin/flex (found version "2.5.35") -- The following OPTIONAL packages have been found:

-- The following REQUIRED packages have been found:

-- Configuring done -- Generating done -- Build files have been written to: /Users/sayan/ettercap/build Sayans-iMac:build sayan$ make Scanning dependencies of target ec_interfaces [ 0%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/__/ec_interfaces.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_conn.c.o [ 1%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_display.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_plugin.c.o [ 2%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/text/ec_text_profile.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/daemon/ec_daemon.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg.c.o [ 3%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_debug.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dialog.c.o [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_dynlist.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_error.c.o [ 5%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_file.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_input.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_list.c.o [ 6%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_menu.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_panel.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_percentage.c.o [ 7%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_scroll.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_window.c.o [ 8%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_filters.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_help.c.o [ 9%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_hosts.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_live.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_logging.c.o [ 10%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_mitm.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_offline.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_plugins.c.o [ 11%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_start.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_targets.c.o [ 12%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_connections.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/ec_curses_view_profiles.c.o [ 13%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_conf.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_filters.c.o [ 14%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_help.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_hosts.c.o [ 15%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_live.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_logging.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_menus.c.o [ 16%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_mitm.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_offline.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_plugins.c.o [ 17%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_start.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_targets.c.o [ 18%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_connections.c.o [ 19%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/gtk/ec_gtk_view_profiles.c.o [ 19%] Linking C static library libec_interfaces.a [ 19%] Built target ec_interfaces Scanning dependencies of target libnet [ 19%] Built target libnet Scanning dependencies of target lib_ettercap [ 19%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_mem.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_capture.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_checksum.c.o [ 20%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_connbuf.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_conntrack.c.o [ 21%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_debug.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_decode.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dispatcher.c.o [ 22%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_dissect.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_ccmp.c.o [ 23%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption_tkip.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_encryption.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_error.c.o [ 24%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_exit.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_file.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_filter.c.o [ 25%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_fingerprint.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_format.c.o [ 26%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_globals.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hash.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_hook.c.o [ 27%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inet.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_inject.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_log.c.o [ 28%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_manuf.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_mitm.c.o [ 29%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_network.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_packet.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_passive.c.o [ 30%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_plugins.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_poll.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_profiles.c.o [ 31%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_resolv.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_scan.c.o [ 32%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_send.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_services.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_session.c.o [ 33%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_set.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_signals.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sleep.c.o [ 34%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_bridge.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sniff_unified.c.o [ 35%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_socket.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_sslwrap.c.o [ 36%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_stats.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_streambuf.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_strings.c.o [ 37%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_threads.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_ui.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_utils.c.o [ 38%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_bgp.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_cvs.c.o [ 39%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dhcp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ftp.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_gg.c.o [ 40%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_http.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_icq.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_imap.c.o [ 41%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_irc.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_iscsi.c.o [ 42%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ldap.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mdns.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mongodb.c.o [ 43%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mountd.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_msn.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_mysql.c.o [ 44%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nbns.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_nntp.c.o [ 45%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_o5logon.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ospf.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_pop.c.o [ 46%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_postgresql.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_portmap.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_radius.c.o [ 47%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rcon.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rip.c.o [ 48%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_rlogin.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smb.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_smtp.c.o [ 49%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_snmp.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_socks.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ssh.c.o [ 50%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_telnet.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_TN3270.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vnc.c.o [ 51%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_vrrp.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_x11.c.o [ 52%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_ymsg.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_arp_poisoning.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_dhcp_spoofing.c.o [ 53%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_icmp_redirect.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/mitm/ec_port_stealing.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_arp.c.o [ 54%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_cooked.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_erf.c.o [ 55%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_eth.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_fddi.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_gre.c.o [ 56%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_esp.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_icmp.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ip.c.o [ 57%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_mpls.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_null.c.o [ 58%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppi.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_ppp.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_pppoe.c.o [ 59%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_rawip.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tcp.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_tr.c.o [ 60%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_udp.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_vlan.c.o [ 61%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_eapol.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_prism.c.o [ 62%] Building C object src/CMakeFiles/lib_ettercap.dir/protocols/ec_wifi_radiotap.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/ec_geoip.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/dissectors/ec_dns.c.o [ 63%] Building C object src/CMakeFiles/lib_ettercap.dir/os/ec_darwin.c.o [ 64%] Building C object src/CMakeFiles/lib_ettercap.dir/missing/memrchr.c.o [ 64%] Linking C shared library libettercap.dylib [ 64%] Built target lib_ettercap Scanning dependencies of target ettercap [ 65%] Building C object src/CMakeFiles/ettercap.dir/ec_parser.c.o [ 65%] Building C object src/CMakeFiles/ettercap.dir/ec_main.c.o [ 65%] Linking C executable ettercap [ 65%] Built target ettercap Scanning dependencies of target stp_mangler [ 65%] Building C object plug-ins/CMakeFiles/stp_mangler.dir/stp_mangler/stp_mangler.c.o [ 66%] Linking C shared module ec_stp_mangler.so [ 66%] Built target stp_mangler Scanning dependencies of target smurf_attack [ 67%] Building C object plug-ins/CMakeFiles/smurf_attack.dir/smurf_attack/smurf_attack.c.o [ 67%] Linking C shared module ec_smurf_attack.so [ 67%] Built target smurf_attack Scanning dependencies of target smb_down [ 67%] Building C object plug-ins/CMakeFiles/smb_down.dir/smb_down/smb_down.c.o [ 67%] Linking C shared module ec_smb_down.so [ 67%] Built target smb_down Scanning dependencies of target scan_poisoner [ 68%] Building C object plug-ins/CMakeFiles/scan_poisoner.dir/scan_poisoner/scan_poisoner.c.o [ 68%] Linking C shared module ec_scan_poisoner.so [ 68%] Built target scan_poisoner Scanning dependencies of target reply_arp [ 68%] Building C object plug-ins/CMakeFiles/reply_arp.dir/reply_arp/reply_arp.c.o [ 69%] Linking C shared module ec_reply_arp.so [ 69%] Built target reply_arp Scanning dependencies of target remote_browser [ 69%] Building C object plug-ins/CMakeFiles/remote_browser.dir/remote_browser/remote_browser.c.o [ 70%] Linking C shared module ec_remote_browser.so [ 70%] Built target remote_browser Scanning dependencies of target dummy [ 71%] Building C object plug-ins/CMakeFiles/dummy.dir/dummy/dummy.c.o [ 71%] Linking C shared module ec_dummy.so [ 71%] Built target dummy Scanning dependencies of target pptp_reneg [ 71%] Building C object plug-ins/CMakeFiles/pptp_reneg.dir/pptp_reneg/pptp_reneg.c.o [ 71%] Linking C shared module ec_pptp_reneg.so [ 71%] Built target pptp_reneg Scanning dependencies of target pptp_pap [ 71%] Building C object plug-ins/CMakeFiles/pptp_pap.dir/pptp_pap/pptp_pap.c.o [ 72%] Linking C shared module ec_pptp_pap.so [ 72%] Built target pptp_pap Scanning dependencies of target dns_spoof [ 72%] Building C object plug-ins/CMakeFiles/dns_spoof.dir/dns_spoof/dns_spoof.c.o [ 72%] Linking C shared module ec_dns_spoof.so [ 72%] Built target dns_spoof Scanning dependencies of target pptp_clear [ 72%] Building C object plug-ins/CMakeFiles/pptp_clear.dir/pptp_clear/pptp_clear.c.o [ 73%] Linking C shared module ec_pptp_clear.so [ 73%] Built target pptp_clear Scanning dependencies of target link_type [ 73%] Building C object plug-ins/CMakeFiles/link_type.dir/link_type/link_type.c.o [ 74%] Linking C shared module ec_link_type.so [ 74%] Built target link_type Scanning dependencies of target repoison_arp [ 74%] Building C object plug-ins/CMakeFiles/repoison_arp.dir/repoison_arp/repoison_arp.c.o [ 74%] Linking C shared module ec_repoison_arp.so [ 74%] Built target repoison_arp Scanning dependencies of target isolate [ 74%] Building C object plug-ins/CMakeFiles/isolate.dir/isolate/isolate.c.o [ 75%] Linking C shared module ec_isolate.so [ 75%] Built target isolate Scanning dependencies of target gw_discover [ 76%] Building C object plug-ins/CMakeFiles/gw_discover.dir/gw_discover/gw_discover.c.o [ 76%] Linking C shared module ec_gw_discover.so [ 76%] Built target gw_discover Scanning dependencies of target finger_submit [ 76%] Building C object plug-ins/CMakeFiles/finger_submit.dir/finger_submit/finger_submit.c.o [ 77%] Linking C shared module ec_finger_submit.so [ 77%] Built target finger_submit Scanning dependencies of target finger [ 78%] Building C object plug-ins/CMakeFiles/finger.dir/finger/finger.c.o [ 78%] Linking C shared module ec_finger.so [ 78%] Built target finger Scanning dependencies of target rand_flood [ 79%] Building C object plug-ins/CMakeFiles/rand_flood.dir/rand_flood/rand_flood.c.o [ 79%] Linking C shared module ec_rand_flood.so [ 79%] Built target rand_flood Scanning dependencies of target gre_relay [ 79%] Building C object plug-ins/CMakeFiles/gre_relay.dir/gre_relay/gre_relay.c.o /Users/sayan/ettercap/plug-ins/gre_relay/gre_relay.c:88:13: warning: unused function 'parse_nd' [-Wunused-function] static void parse_nd(struct packet_object *po); ^ 1 warning generated. [ 79%] Linking C shared module ec_gre_relay.so [ 79%] Built target gre_relay Scanning dependencies of target pptp_chapms1 [ 80%] Building C object plug-ins/CMakeFiles/pptp_chapms1.dir/pptp_chapms1/pptp_chapms1.c.o [ 80%] Linking C shared module ec_pptp_chapms1.so [ 80%] Built target pptp_chapms1 Scanning dependencies of target find_conn [ 80%] Building C object plug-ins/CMakeFiles/find_conn.dir/find_conn/find_conn.c.o [ 81%] Linking C shared module ec_find_conn.so [ 81%] Built target find_conn Scanning dependencies of target autoadd [ 82%] Building C object plug-ins/CMakeFiles/autoadd.dir/autoadd/autoadd.c.o [ 82%] Linking C shared module ec_autoadd.so [ 82%] Built target autoadd Scanning dependencies of target find_ip [ 82%] Building C object plug-ins/CMakeFiles/find_ip.dir/find_ip/find_ip.c.o [ 82%] Linking C shared module ec_find_ip.so [ 82%] Built target find_ip Scanning dependencies of target search_promisc [ 82%] Building C object plug-ins/CMakeFiles/search_promisc.dir/search_promisc/search_promisc.c.o [ 83%] Linking C shared module ec_search_promisc.so [ 83%] Built target search_promisc Scanning dependencies of target dos_attack [ 84%] Building C object plug-ins/CMakeFiles/dos_attack.dir/dos_attack/dos_attack.c.o [ 84%] Linking C shared module ec_dos_attack.so [ 84%] Built target dos_attack Scanning dependencies of target smb_clear [ 84%] Building C object plug-ins/CMakeFiles/smb_clear.dir/smb_clear/smb_clear.c.o [ 85%] Linking C shared module ec_smb_clear.so [ 85%] Built target smb_clear Scanning dependencies of target curl [ 85%] Built target curl Scanning dependencies of target sslstrip [ 85%] Building C object plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o [ 86%] Linking C shared module ec_sslstrip.so [ 86%] Built target sslstrip Scanning dependencies of target mdns_spoof [ 86%] Building C object plug-ins/CMakeFiles/mdns_spoof.dir/mdns_spoof/mdns_spoof.c.o [ 87%] Linking C shared module ec_mdns_spoof.so [ 87%] Built target mdns_spoof Scanning dependencies of target fraggle_attack [ 87%] Building C object plug-ins/CMakeFiles/fraggle_attack.dir/fraggle_attack/fraggle_attack.c.o [ 88%] Linking C shared module ec_fraggle_attack.so [ 88%] Built target fraggle_attack Scanning dependencies of target chk_poison [ 88%] Building C object plug-ins/CMakeFiles/chk_poison.dir/chk_poison/chk_poison.c.o [ 89%] Linking C shared module ec_chk_poison.so [ 89%] Built target chk_poison Scanning dependencies of target nbns_spoof [ 89%] Building C object plug-ins/CMakeFiles/nbns_spoof.dir/nbns_spoof/nbns_spoof.c.o [ 89%] Linking C shared module ec_nbns_spoof.so [ 89%] Built target nbns_spoof Scanning dependencies of target arp_cop [ 89%] Building C object plug-ins/CMakeFiles/arp_cop.dir/arp_cop/arp_cop.c.o [ 89%] Linking C shared module ec_arp_cop.so [ 89%] Built target arp_cop Scanning dependencies of target find_ettercap [ 89%] Building C object plug-ins/CMakeFiles/find_ettercap.dir/find_ettercap/find_ettercap.c.o [ 90%] Linking C shared module ec_find_ettercap.so [ 90%] Built target find_ettercap Scanning dependencies of target etterlog [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_analyze.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_conn.c.o [ 91%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_decode_http.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_display.c.o [ 92%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_ec_compat.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_log.c.o [ 93%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_main.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_parser.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_profiles.c.o [ 94%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_stream.c.o [ 95%] Building C object utils/CMakeFiles/etterlog.dir/etterlog/el_target.c.o [ 95%] Linking C executable etterlog [ 95%] Built target etterlog [ 95%] [FLEX][EF_SCANNER] Building scanner with flex 2.5.35 [ 96%] [BISON][EF_PARSER] Building parser with bison 2.3 etterfilter/ef_grammar.y: conflicts: 17 shift/reduce Scanning dependencies of target etterfilter [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_compiler.c.o [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_ec_compat.c.o [ 97%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_encode.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_main.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_output.c.o [ 98%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_parser.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_tables.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/etterfilter/ef_test.c.o [ 99%] Building C object utils/CMakeFiles/etterfilter.dir/ef_syntax.c.o [100%] Building C object utils/CMakeFiles/etterfilter.dir/ef_grammar.c.o [100%] Linking C executable etterfilter [100%] Built target etterfilter Scanning dependencies of target man [100%] Built target man Sayans-iMac:build sayan$ sudo make install Password: [ 19%] Built target ec_interfaces [ 19%] Built target libnet [ 64%] Built target lib_ettercap [ 65%] Built target ettercap [ 66%] Built target stp_mangler [ 67%] Built target smurf_attack [ 67%] Built target smb_down [ 68%] Built target scan_poisoner [ 69%] Built target reply_arp [ 70%] Built target remote_browser [ 71%] Built target dummy [ 71%] Built target pptp_reneg [ 72%] Built target pptp_pap [ 72%] Built target dns_spoof [ 73%] Built target pptp_clear [ 74%] Built target link_type [ 74%] Built target repoison_arp [ 75%] Built target isolate [ 76%] Built target gw_discover [ 77%] Built target finger_submit [ 78%] Built target finger [ 79%] Built target rand_flood [ 79%] Built target gre_relay [ 80%] Built target pptp_chapms1 [ 81%] Built target find_conn [ 82%] Built target autoadd [ 82%] Built target find_ip [ 83%] Built target search_promisc [ 84%] Built target dos_attack [ 85%] Built target smb_clear [ 85%] Built target curl [ 86%] Built target sslstrip [ 87%] Built target mdns_spoof [ 88%] Built target fraggle_attack [ 89%] Built target chk_poison [ 89%] Built target nbns_spoof [ 89%] Built target arp_cop [ 90%] Built target find_ettercap [ 95%] Built target etterlog [100%] Built target etterfilter [100%] Built target man Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/lib/libettercap.0.0.0.dylib -- Up-to-date: /usr/local/lib/libettercap.0.dylib -- Up-to-date: /usr/local/lib/libettercap.dylib -- Installing: /usr/local/bin/ettercap -- Installing: /usr/local/share/polkit-1/actions/org.pkexec.ettercap.policy -- Installing: /usr/local/share/applications/ettercap.desktop -- Installing: /usr/local/share/appdata/ettercap.appdata.xml -- Installing: /usr/local/bin/ettercap-pkexec -- Installing: /usr/local/lib/ettercap/ec_sslstrip.so -- Installing: /usr/local/lib/ettercap/ec_arp_cop.so -- Installing: /usr/local/lib/ettercap/ec_autoadd.so -- Installing: /usr/local/lib/ettercap/ec_chk_poison.so -- Installing: /usr/local/lib/ettercap/ec_dns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_mdns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_dos_attack.so -- Installing: /usr/local/lib/ettercap/ec_dummy.so -- Installing: /usr/local/lib/ettercap/ec_find_conn.so -- Installing: /usr/local/lib/ettercap/ec_find_ettercap.so -- Installing: /usr/local/lib/ettercap/ec_find_ip.so -- Installing: /usr/local/lib/ettercap/ec_finger.so -- Installing: /usr/local/lib/ettercap/ec_finger_submit.so -- Installing: /usr/local/lib/ettercap/ec_fraggle_attack.so -- Installing: /usr/local/lib/ettercap/ec_gre_relay.so -- Installing: /usr/local/lib/ettercap/ec_gw_discover.so -- Installing: /usr/local/lib/ettercap/ec_isolate.so -- Installing: /usr/local/lib/ettercap/ec_link_type.so -- Installing: /usr/local/lib/ettercap/ec_nbns_spoof.so -- Installing: /usr/local/lib/ettercap/ec_pptp_chapms1.so -- Installing: /usr/local/lib/ettercap/ec_pptp_clear.so -- Installing: /usr/local/lib/ettercap/ec_pptp_pap.so -- Installing: /usr/local/lib/ettercap/ec_pptp_reneg.so -- Installing: /usr/local/lib/ettercap/ec_rand_flood.so -- Installing: /usr/local/lib/ettercap/ec_remote_browser.so -- Installing: /usr/local/lib/ettercap/ec_reply_arp.so -- Installing: /usr/local/lib/ettercap/ec_repoison_arp.so -- Installing: /usr/local/lib/ettercap/ec_scan_poisoner.so -- Installing: /usr/local/lib/ettercap/ec_search_promisc.so -- Installing: /usr/local/lib/ettercap/ec_smb_clear.so -- Installing: /usr/local/lib/ettercap/ec_smb_down.so -- Installing: /usr/local/lib/ettercap/ec_smurf_attack.so -- Installing: /usr/local/lib/ettercap/ec_stp_mangler.so -- Installing: /usr/local/bin/etterfilter -- Installing: /usr/local/bin/etterlog -- Installing: /usr/local/etc/ettercap/etter.dns -- Installing: /usr/local/etc/ettercap/etter.mdns -- Installing: /usr/local/etc/ettercap/etter.nbns -- Installing: /usr/local/etc/ettercap/etter.conf -- Installing: /usr/local/share/ettercap/ettercap.png -- Installing: /usr/local/share/ettercap/ettercap-small.png -- Installing: /usr/local/share/ettercap/ettercap.svg -- Installing: /usr/local/share/ettercap/etter.fields -- Installing: /usr/local/share/ettercap/etter.filter -- Installing: /usr/local/share/ettercap/etterfilter.cnt -- Installing: /usr/local/share/ettercap/etter.filter.examples -- Installing: /usr/local/share/ettercap/etter.filter.kill -- Installing: /usr/local/share/ettercap/etter.filter.pcre -- Installing: /usr/local/share/ettercap/etter.filter.ssh -- Installing: /usr/local/share/ettercap/etterfilter.tbl -- Installing: /usr/local/share/ettercap/etter.finger.mac -- Installing: /usr/local/share/ettercap/etter.finger.os -- Installing: /usr/local/share/ettercap/etterlog.dtd -- Installing: /usr/local/share/ettercap/etter.mime -- Installing: /usr/local/share/ettercap/etter.services -- Installing: /usr/local/share/ettercap/etter.ssl.crt -- Installing: /usr/local/share/ettercap/AUTHORS -- Installing: /usr/local/share/ettercap/LICENSE -- Installing: /usr/local/share/pixmaps/ettercap.svg -- Installing: /usr/local/share/man/man8/ettercap.8 -- Installing: /usr/local/share/man/man8/etterfilter.8 -- Installing: /usr/local/share/man/man8/etterlog.8 -- Installing: /usr/local/share/man/man8/ettercap_plugins.8 -- Installing: /usr/local/share/man/man8/ettercap_curses.8 -- Installing: /usr/local/share/man/man8/ettercap-pkexec.8 -- Installing: /usr/local/share/man/man5/etter.conf.5 Sayans-iMac:build sayan$ sudo ettercap -G

ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team

(process:5901): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.

(:5901): Gtk-CRITICAL **: gtk_image_get_pixbuf: assertion 'image->storage_type == GTK_IMAGE_PIXBUF || image->storage_type == GTK_IMAGE_EMPTY' failed Error Opening file /usr/local/var/GeoIP/GeoIP.dat Error Opening file /path/to/GeoIP.dat

sayan-sibyl commented 7 years ago

According to the last error ettercap was not able to open the geoip file so I ran these commands brew install geoip Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae imagemagick imagemagick@6 kubernetes-cli node-build

Warning: geoip 1.6.11 is already installed Sayans-iMac:~ sayan$ sudo ettercap -G Password:

ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team

(process:12046): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.

(:12046): Gtk-CRITICAL **: gtk_image_get_pixbuf: assertion 'image->storage_type == GTK_IMAGE_PIXBUF || image->storage_type == GTK_IMAGE_EMPTY' failed Error Opening file /usr/local/var/GeoIP/GeoIP.dat Error Opening file /path/to/GeoIP.dat

But still I get the same error and when I click on the GeoIP.dat file in finder according to this path /usr/local/var/GeoIP/GeoIP.dat & this path /path/to/GeoIP.dat

Finder shows me this error see the attached screenshot screen shot 2017-08-03 at 9 45 06 pm

koeppea commented 7 years ago

Find the correct location and put it in the etter.conf or disable GeoIP support using cmake.

sayan-sibyl commented 7 years ago

can u be a little more elaborate?

sgeto commented 7 years ago

The geoip databases are obtained seperatly from the library. You can get them from the maxmind's webpage. Download and place them in /usr/local/var/GeoIP/ But I don't think that's your problem. Looks more like a problem with gtk. There a lots of ways to approach this starting with you finally reading ettercaps readmes and documentation and probably also read bit more on how to use your Mac and cmake.

sayan-sibyl commented 7 years ago

@sgeto There are lot of databases I mean various zip files on their site which one should I download and how to solve the gtk problem

sayan-sibyl commented 7 years ago

screen shot 2017-08-04 at 9 37 30 pm

screen shot 2017-08-04 at 4 53 09 pm

@sgeto @koeppea @LocutusOfBorg @barak @mafiya69 I seem to have solve the GeoIP error now the main issue I am facing is this

mdns_spoof: etter.mdns:52 Invalid IPv4 or IPv6 address mdns_spoof: etter.mdns:54 Invalid IPv4 or IPv6 address mdns_spoof: etter.mdns:61 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:71 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:78 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:81 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:90 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:99 Invalid IPv4 or IPv6 address dns_spoof: etter.dns:112 Invalid IPv4 or IPv6 address

Plus GTK warning and I will be hard resetting my mac so I will install everything from new so can u please guide me how to do everything from new each and every step and how to update to the latest repo which I have already cloned!

sgeto commented 7 years ago

There is no error. Everything seems to work.

mdns_spoof: etter.mdns:52 Invalid IPv4 or IPv6 address
mdns_spoof: etter.mdns:54 Invalid IPv4 or IPv6 address
mdns_spoof: etter.mdns:61 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:71 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:78 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:81 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:90 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:99 Invalid IPv4 or IPv6 address
dns_spoof: etter.dns:112 Invalid IPv4 or IPv6 address

This is not an error. To make it go away, rebuild ettercap with ipv6 support or open these files and remove the offending lines. The files are in your sysconfdir (/usr/local/etc/ettercap)

If you want to know how to do everything from scratch, just reread all our comments here and use common sense. If you need to know how to to enable ipv6 support or anything else then please read the documentation first before posting again. This is not instant messaging and, personally, I find you being very lazy.

sayan-sibyl commented 7 years ago

@sgeto sorry man I am new to all these therefore I was cross checking every step before going further

sgeto commented 7 years ago

no worries. seems like your problem has been resolved. would you mind closing the issue?

sayan-sibyl commented 7 years ago

@sgeto one more thing the country where I live allows u to connect to the internet after logging into a login page of the ISP provider. Now if I don't pay for the internet I can simply scan for hosts in ettercap, extract the IP and mac address of each and every computer in the LAN and then I simply copy and paste any IP address of my choice in the network settings. At that point, an error appears: my iMac tells that someone else is using this IP address which is true so to remove this error I simply spoof the mac address of the pasted IP address of the user and the error disappears; so I literally bypass the login page and surf the internet by becoming the person whose mac address I have spoofed using this command: sudo ifconfig en0 ether (then the mac address) My question is: if I start ettercap with the virtual IP and mac address and now if I start sniffing/poison the network between two IP addresses will the ARP poisoning work?

EDIT: @locutusofborg made it more english-readable

gvanem commented 7 years ago

What’s the difference between a cat and a comma? A cat has claws at the ends of its paws and a comma is a pause at the end of a clause.

LocutusOfBorg commented 7 years ago

answer: it will probably work, since your ISP seems to be putting all his customers in the same lan. (and now my eyes are bleeding)

sayan-sibyl commented 7 years ago

Ok one more thing how can I use Ettercap to surf the Internet at full bandwidth?