Closed sayan-sibyl closed 7 years ago
in your build directory there is a file called CMakeCache.txt
attach it here.
Or just open it and look for these lines:
//Enable IPv6 support
ENABLE_IPV6:BOOL=on
if it says off
then ipv6 is not enabled.
You should have stuck with cmake cli IMO. It's kinda more obvious.
@sgeto It says ON but still I get the same error!
If the CMAKE_BUILD_TYPE is set to "Debug", the ettercap debug log would be very interessting.
BTW, you said
also reinstalled ettercap by cleaning all build and recloned the latest git repo but as soon as I open ettercap
between "reclone" and "open ettercap", I guess you created a new build directory, ran cmake and make and make install?
@koeppea Yeah I started all over again! And here is the debug log:
==============================================================
-> ${prefix} /usr/local -> ${exec_prefix} /usr/local -> ${bindir} /usr/local/bin -> ${libdir} /usr/local/lib -> ${sysconfdir} /usr/local/etc -> ${datadir} /usr/local/share
-> ettercap 0.8.2
-> compiled with gcc 4.2 (/Library/Developer/CommandLineTools/usr/bin/cc) -> libpcap version 1.8.1 -- Apple version 67.60.1 -> libnet version 1.1.6 -> libz version 1.2.8 -> libpcre version 8.41 2017-07-05 -> lib OpenSSL 1.0.2l 25 May 2017 -> headers OpenSSL 1.0.2l 25 May 2017
DEVICE OPENED FOR ettercap DEBUGGING
[NR_THREAD] main -- here we go !! [NR_THREAD] ec_thread_register -- [140736454644672] init [ init] signal_handler activated [ init] parse_options -- [0] [ettercap] [ init] parse_options -- [1] [-G] [ init] select_gtk_interface [ init] GTK -> gtk+ 2.24.31
[ init] parse_options: options parsed [ init] compile_target TARGET: // [ init] MAC : [] [ init] IP : [] [ init] PORT : [] [ init] compile_target TARGET: // [ init] MAC : [] [ init] IP : [] [ init] PORT : [] [ init] parse_options: targets parsed [ init] set_unified_sniff [ init] parse_options: options combination looks good [ init] init_structures [ init] load_conf [ init] get_full_path -- [etc] /usr/local/etc/ettercap/etter.conf [ init] open_data (/usr/local/etc/ettercap/etter.conf) [ init] load_conf: SECTION: privs [ init] load_conf: ENTRY: ec_uid 0 [ init] load_conf: ENTRY: ec_gid 0 [ init] load_conf: SECTION: mitm [ init] load_conf: ENTRY: arp_storm_delay 10 [ init] load_conf: ENTRY: arp_poison_smart 0 [ init] load_conf: ENTRY: arp_poison_warm_up 1 [ init] load_conf: ENTRY: arp_poison_delay 10 [ init] load_conf: ENTRY: arp_poison_icmp 1 [ init] load_conf: ENTRY: arp_poison_reply 1 [ init] load_conf: ENTRY: arp_poison_request 0 [ init] load_conf: ENTRY: arp_poison_equal_mac 1 [ init] load_conf: ENTRY: dhcp_lease_time 1800 [ init] load_conf: ENTRY: port_steal_delay 10 [ init] load_conf: ENTRY: port_steal_send_delay 2000 [ init] load_conf: SECTION: connections [ init] load_conf: ENTRY: connection_timeout 300 [ init] load_conf: ENTRY: connection_idle 5 [ init] load_conf: ENTRY: connection_buffer 10000 [ init] load_conf: ENTRY: connect_timeout 5 [ init] load_conf: SECTION: stats [ init] load_conf: ENTRY: sampling_rate 50 [ init] load_conf: SECTION: misc [ init] load_conf: ENTRY: close_on_eof 1 [ init] load_conf: ENTRY: store_profiles 1 [ init] load_conf: ENTRY: aggressive_dissectors 1 [ init] load_conf: ENTRY: skip_forwarded_pcks 1 [ init] load_conf: ENTRY: checksum_check 0 [ init] load_conf: ENTRY: submit_fingerprint 0 [ init] load_conf: ENTRY: checksum_warning 0 [ init] load_conf: ENTRY: sniffing_at_startup 1 [ init] load_conf: ENTRY: geoip_support_enable 1 [ init] load_conf: SECTION: dissectors [ init] dissect_modify: ftp replaced to 21 [ init] dissect_modify: ssh replaced to 22 [ init] dissect_modify: telnet replaced to 23 [ init] dissect_modify: smtp replaced to 25 [ init] dissect_modify: dns replaced to 53 [ init] dissect_modify: dhcp replaced to 67 [ init] dissect_modify: http replaced to 80 [ init] dissect_modify: ospf replaced to 89 [ init] dissect_modify: pop3 replaced to 110 [ init] dissect_modify: vrrp replaced to 112 [ init] dissect_modify: nntp replaced to 119 [ init] dissect_modify: smb replaced to 139 [ init] dissect_modify: smb added on 445 [ init] dissect_modify: imap replaced to 143 [ init] dissect_modify: imap added on 220 [ init] dissect_modify: snmp replaced to 161 [ init] dissect_modify: bgp replaced to 179 [ init] dissect_modify: ldap replaced to 389 [ init] sslw_dissect_move: https [443] [ init] dissect_modify: https replaced to 443 [ init] sslw_dissect_move: ssmtp [465] [ init] dissect_modify: ssmtp replaced to 465 [ init] dissect_modify: rlogin replaced to 512 [ init] dissect_modify: rlogin added on 513 [ init] dissect_modify: rip replaced to 520 [ init] sslw_dissect_move: nntps [563] [ init] dissect_modify: nntps replaced to 563 [ init] sslw_dissect_move: ldaps [636] [ init] dissect_modify: ldaps replaced to 636 [ init] sslw_dissect_move: telnets [992] [ init] dissect_modify: telnets replaced to 992 [ init] sslw_dissect_move: imaps [993] [ init] dissect_modify: imaps replaced to 993 [ init] sslw_dissect_move: ircs [994] [ init] dissect_modify: ircs replaced to 994 [ init] sslw_dissect_move: pop3s [995] [ init] dissect_modify: pop3s replaced to 995 [ init] dissect_modify: socks replaced to 1080 [ init] dissect_modify: radius replaced to 1645 [ init] dissect_modify: radius added on 1646 [ init] dissect_modify: msn replaced to 1863 [ init] dissect_modify: cvs replaced to 2401 [ init] dissect_modify: mysql replaced to 3306 [ init] dissect_modify: icq replaced to 5190 [ init] dissect_modify: ymsg replaced to 5050 [ init] dissect_modify: mdns replaced to 5353 [ init] dissect_modify: vnc replaced to 5900 [ init] dissect_modify: vnc added on 5901 [ init] dissect_modify: vnc added on 5902 [ init] dissect_modify: vnc added on 5903 [ init] dissect_modify: x11 replaced to 6000 [ init] dissect_modify: x11 added on 6001 [ init] dissect_modify: x11 added on 6002 [ init] dissect_modify: x11 added on 6003 [ init] dissect_modify: irc replaced to 6666 [ init] dissect_modify: irc added on 6667 [ init] dissect_modify: irc added on 6668 [ init] dissect_modify: irc added on 6669 [ init] dissect_modify: gg replaced to 8074 [ init] sslw_dissect_move: proxy [8080] [ init] dissect_modify: proxy replaced to 8080 [ init] dissect_modify: rcon replaced to 27015 [ init] dissect_modify: rcon added on 27960 [ init] dissect_modify: ppp replaced to 34827 [ init] dissect_modify: TN3270 replaced to 23 [ init] dissect_modify: TN3270 added on 992 [ init] load_conf: SECTION: curses [ init] load_conf: ENTRY: color_bg 0 [ init] load_conf: ENTRY: color_fg 7 [ init] load_conf: ENTRY: color_join1 2 [ init] load_conf: ENTRY: color_join2 4 [ init] load_conf: ENTRY: color_border 7 [ init] load_conf: ENTRY: color_title 3 [ init] load_conf: ENTRY: color_focus 6 [ init] load_conf: ENTRY: color_menu_bg 4 [ init] load_conf: ENTRY: color_menu_fg 6 [ init] load_conf: ENTRY: color_window_bg 4 [ init] load_conf: ENTRY: color_window_fg 7 [ init] load_conf: ENTRY: color_selection_bg 6 [ init] load_conf: ENTRY: color_selection_fg 6 [ init] load_conf: ENTRY: color_error_bg 1 [ init] load_conf: ENTRY: color_error_fg 3 [ init] load_conf: ENTRY: color_error_border 3 [ init] load_conf: SECTION: strings [ init] load_conf: ENTRY: utf8_encoding [ISO-8859-1] [ init] load_conf: ENTRY: remote_browser [xdg-open http://%host%url] [ init] load_conf: ENTRY: geoip_data_file [/path/to/GeoIP.dat] [ init] load_conf: ENTRY: geoip_data_file_v6 [/path/to/GeoIPv6.dat] [ init] load_conf: ENTRY: redir_command_on [(pfctl -sn 2> /dev/null; echo 'rdr pass on %iface inet proto tcp from any to any port %port -> localhost port %rport') | pfctl -f - 2> /dev/null] [ init] load_conf: ENTRY: redir_command_off [pfctl -sn 2> /dev/null | grep -v %port | pfctl -f - 2> /dev/null] [ init] capture_getifs [ init] capture_getifs: [en0] en0 [ init] capture_getifs: [bridge0] bridge0 [ init] capture_getifs: [utun0] utun0 [ init] capture_getifs: [en2] en2 [ init] capture_getifs: [en3] en3 [ init] capture_getifs: [lo0] Local Loopback [ init] capture_getifs: [en1] en1 [ init] capture_getifs: [gif0] gif0 [ init] capture_getifs: [stf0] stf0 [ init] capture_getifs: [p2p0] p2p0 [ init] capture_getifs: [awdl0] awdl0 [ init] ui_init [ init] gtk_init [ init] gtkui_conf_read: /Users/sayan/.config/ettercap_gtk [ init] gtkui_conf_set: name=window_top value=83 [ init] gtkui_conf_set: name=window_left value=247 [ init] gtkui_conf_set: name=window_height value=881 [ init] gtkui_conf_set: name=window_width value=1334 [ init] gtkui_setup [ init] gtkui_conf_get: name=window_width [ init] gtkui_conf_get: name=window_height [ init] gtkui_conf_get: name=window_left [ init] gtkui_conf_get: name=window_top [ init] gtk_setup: end [ init] gtk_unified_sniff [ init] init_network [ init] source_init en0 [ init] requested snaplen for en0: 65535, assigned snaplen: 65535 [ init] get_iface_mtu: 1500 [ init] l3_init [ init] geoip_init: Description: GeoIP Country Edition. [ init] geoip_init: Info: GEO-106 20160621 Build 1 Copyright (c) 2016 MaxMind Inc All Rights Reserved. Countries: 256 [ init] disable_ip_forward | net.inet.ip.forwarding = 0 old_value = 0
[ init] ssl_wrap_init
[ init] sslw - bind 992 on 59263
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 992 -> localhost port 59263') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 465 on 59264
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 465 -> localhost port 59264') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 995 on 59265
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 995 -> localhost port 59265') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 563 on 59266
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 563 -> localhost port 59266') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 636 on 59267
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 636 -> localhost port 59267') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 994 on 59268
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 994 -> localhost port 59268') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 993 on 59269
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 993 -> localhost port 59269') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 8080 on 59270
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 8080 -> localhost port 59270') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 443 on 59271
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 443 -> localhost port 59271') | pfctl -f - 2> /dev/null]
[ init] sslw - bind 990 on 59272
[ init] sslw_insert_redirect: [(pfctl -sn 2> /dev/null; echo 'rdr pass on en0 inet proto tcp from any to any port 990 -> localhost port 59272') | pfctl -f - 2> /dev/null]
[ init] drop_privs: seteuid(0) setegid(0)
[ init] privs: UID: 0 0 GID: 0 0
[ init] plugin_loadall
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_stp_mangler.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_sslstrip.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_smurf_attack.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_smb_down.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_smb_clear.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_search_promisc.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_scan_poisoner.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_repoison_arp.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_reply_arp.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_remote_browser.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_rand_flood.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_pptp_reneg.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_pptp_pap.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_pptp_clear.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_pptp_chapms1.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_nbns_spoof.so
[ init] get_full_path -- [etc] /usr/local/etc/ettercap/etter.nbns
[ init] open_data (/usr/local/etc/ettercap/etter.nbns)
[ init] nbns_spoof entries:
[ init] WORKGROUP -> [127.0.0.1]
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_mdns_spoof.so
[ init] get_full_path -- [etc] /usr/local/etc/ettercap/etter.mdns
[ init] open_data (/usr/local/etc/ettercap/etter.mdns)
[ init] mdns_spoof: etter.mdns:43 str 'microsoft.com A 198.182.196.56
'
[ init] mdns_spoof: etter.mdns:44 str '*.microsoft.com A 198.182.196.56
'
[ init] mdns_spoof: etter.mdns:45 str 'www.microsoft.com PTR 198.182.196.56 '
[ init] mdns_spoof: etter.mdns:51 str 'router.local A 192.168.0.25
'
[ init] mdns_spoof: etter.mdns:52 str 'router.local AAAA 2001:db8::25 '
[ init] mdns_spoof: etter.mdns:53 str 'router.local PTR 192.168.0.25
'
[ init] mdns_spoof: etter.mdns:54 str 'router.local PTR 2001:db8::25
'
[ init] mdns_spoof: etter.mdns:60 str 'xmpp-server._tcp.jabber.org SRV 192.168.1.10:5269
'
'
[ init] mdns_spoof entries:
[ init] xmpp-server._tcp.jabber.org -> [192.168.1.10:5269], type SRV, family IPv4
[ init] router.local -> [192.168.0.25], type PTR, family IPv4
[ init] router.local -> [192.168.0.25], type A, family IPv4
[ init] www.microsoft.com -> [198.182.196.56], type PTR, family IPv4
[ init] .microsoft.com -> [198.182.196.56], type A, family IPv4
[ init] microsoft.com -> [198.182.196.56], type A, family IPv4
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_link_type.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_isolate.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_gw_discover.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_gre_relay.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_fraggle_attack.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_finger_submit.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_finger.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_find_ip.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_find_ettercap.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_find_conn.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_dummy.so
[ init] dummy plugin load function
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_dos_attack.so
[ init] plugin_load_single: /usr/local/lib/ettercap/ec_dns_spoof.so
[ init] get_full_path -- [etc] /usr/local/etc/ettercap/etter.dns
[ init] open_data (/usr/local/etc/ettercap/etter.dns)
[ init] etter.dns:61 str 'microsoft.com A 107.170.40.56 1800
'
[ init] etter.dns:62 str '.microsoft.com A 107.170.40.56 3600
'
[ init] etter.dns:63 str 'www.microsoft.com PTR 107.170.40.56 '
[ init] etter.dns:69 str 'www.alor.org A 127.0.0.1 2147483647 '
[ init] etter.dns:70 str 'www.naga.org A 127.0.0.1 30 '
[ init] etter.dns:71 str 'www.naga.org AAAA 2001:db8::2 '
[ init] etter.dns:77 str 'www.ietf.org A 127.0.0.1
'
[ init] etter.dns:78 str 'www.ietf.org AAAA ::
'
[ init] etter.dns:80 str 'www.example.org A 0.0.0.0
'
[ init] etter.dns:81 str 'www.example.org AAAA ::1
'
[ init] etter.dns:87 str 'www.ettercap.org A 127.0.0.1
'
[ init] etter.dns:88 str 'www.ettercap-project.org A 127.0.0.1
'
[ init] etter.dns:89 str 'ettercap.sourceforge.net A 23.235.43.133
'
[ init] etter.dns:90 str 'www.ettercap.org PTR ::1
'
[ init] etter.dns:96 str 'alor.org MX 127.0.0.1
'
[ init] etter.dns:97 str 'naga.org MX 127.0.0.1
'
[ init] etter.dns:98 str 'example.org MX 127.0.0.2
'
[ init] etter.dns:99 str 'microsoft.com MX 2001:db8::1ce:c01d:bee3
'
[ init] etter.dns:106 str 'LAB-PC* WINS 127.0.0.1
'
[ init] etter.dns:111 str 'xmpp-server._tcp.jabber.org SRV 192.168.1.10:5269
'
' [ init] etter.dns:118 str 'naga.org TXT "v=spf1 ip4:192.168.1.2 ip6:2001:db8:d0b1:beef::2 -all" ' [ init] dns_spoof entries: [ init] naga.org -> "v=spf1 ip4:192.1", type TXT, TTL 3600 [ init] xmpp-server._tcp.jabber.org -> [192.168.1.10:5269], type SRV, TTL 3600, family IPv4 [ init] LAB-PC -> [127.0.0.1], type WINS, TTL 3600, family IPv4 [ init] example.org -> [127.0.0.2], type MX, TTL 3600, family IPv4 [ init] naga.org -> [127.0.0.1], type MX, TTL 3600, family IPv4 [ init] alor.org -> [127.0.0.1], type MX, TTL 3600, family IPv4 [ init] ettercap.sourceforge.net -> [23.235.43.133], type A, TTL 3600, family IPv4 [ init] www.ettercap-project.org -> [127.0.0.1], type A, TTL 3600, family IPv4 [ init] www.ettercap.org -> [127.0.0.1], type A, TTL 3600, family IPv4 [ init] www.example.org -> [0.0.0.0], type A, TTL 3600, family IPv4 [ init] www.ietf.org -> [127.0.0.1], type A, TTL 3600, family IPv4 [ init] www.naga.org -> [127.0.0.1], type A, TTL 30, family IPv4 [ init] www.alor.org -> [127.0.0.1], type A, TTL 2147483647, family IPv4 [ init] www.microsoft.com -> [107.170.40.56], type PTR, TTL 3600, family IPv4 [ init] .microsoft.com -> [107.170.40.56], type A, TTL 3600, family IPv4 [ init] microsoft.com -> [107.170.40.56], type A, TTL 1800, family IPv4 [ init] plugin_load_single: /usr/local/lib/ettercap/ec_chk_poison.so [ init] plugin_load_single: /usr/local/lib/ettercap/ec_autoadd.so [ init] plugin_load_single: /usr/local/lib/ettercap/ec_arp_cop.so [ init] get_full_path -- [share] /usr/local/share/ettercap/etter.finger.mac [ init] open_data (/usr/local/share/ettercap/etter.finger.mac) [ init] manuf_init -- 20530 fingers loaded [ init] get_full_path -- [share] /usr/local/share/ettercap/etter.finger.os [ init] open_data (/usr/local/share/ettercap/etter.finger.os) [ init] fingerprint_init -- 1766 fingers loaded [ init] get_full_path -- [share] /usr/local/share/ettercap/etter.services [ init] open_data (/usr/local/share/ettercap/etter.services) [ init] serv_init -- 2182 services loaded [ init] get_full_path -- [share] /usr/local/share/ettercap/etter.fields [ init] open_data (/usr/local/share/ettercap/etter.fields) [ init] set_utf8_encoding: ISO-8859-1 [ init] ec_thread_new -- top_half detached 0 [ init] thread_init_lock [ init] ec_thread_register -- [123145563701248] top_half [ init] ec_thread_new -- 123145563701248 created [ top_half] ec_thread_init -- 123145563701248 [ top_half] thread_init_lock [ top_half] thread_init_unlock [ top_half] ec_thread_init -- (123145563701248) ready and syncronized [ init] thread_init_unlock [ top_half] top_half activated ! [ init] ec_thread_register -- [140736454644672] ettercap [ ettercap] start_unified_sniff [ ettercap] ec_thread_new -- timer detached 0 [ ettercap] thread_init_lock [ ettercap] ec_thread_register -- [123145564237824] timer [ ettercap] ec_thread_new -- 123145564237824 created [ timer] ec_thread_init -- 123145564237824 [ timer] thread_init_lock [ timer] thread_init_unlock [ ettercap] thread_init_unlock [ timer] ec_thread_init -- (123145564237824) ready and syncronized [ ettercap] ec_thread_new -- capture[en0] detached 0 [ timer] conntrack_timeouter: activated ! [ ettercap] thread_init_lock [ timer] conntrack_timeouter: sleeping for 5 sec [ ettercap] ec_thread_register -- [123145564774400] capture[en0] [NR_THREAD] ec_thread_init -- 123145564774400 [ ettercap] ec_thread_new -- 123145564774400 created [capture[en0]] thread_init_lock [capture[en0]] thread_init_unlock [ ettercap] thread_init_unlock [capture[en0]] ec_thread_init -- (123145564774400) ready and syncronized [ ettercap] ec_thread_new -- sslwrap detached 0 [capture[en0]] neverending loop (capture) [ ettercap] thread_init_lock [ ettercap] ec_thread_register -- [123145565310976] sslwrap [NR_THREAD] ec_thread_init -- 123145565310976 [ ettercap] ec_thread_new -- 123145565310976 created [ sslwrap] thread_init_lock [ sslwrap] thread_init_unlock [ sslwrap] ec_thread_init -- (123145565310976) ready and syncronized [ sslwrap] sslw_start: initialized and ready [ ettercap] thread_init_unlock [ ettercap] ui_start [capture[en0]] stats_wipe [ ettercap] gtk_start [ ettercap] gtk_sniff_live [ ettercap] gtk_create_menu [capture[en0]] ip_create_session [capture[en0]] session_put: [0x7ff97eec4060] new session [ top_half] conntrack_add: NEW CONNECTION [ top_half] connbuf_init [capture[en0]] ip_create_session [capture[en0]] session_put: [0x7ff97ef9e9a0] new session [ ettercap] gtkui_msg: Listening on:
[ ettercap] gtkui_msg: en0 -> 84:16:F9:B4:8E:73
[ ettercap] gtkui_msg: 172.28.66.249/ [ ettercap] gtkui_msg: 255.255.255.0
[ ettercap] gtkui_msg: fe80::a6:9d49:16fc:6b52/64
[ ettercap] gtkui_msg:
[ ettercap] gtkui_msg: Privileges dropped to EUID 0 EGID 0...
[ ettercap] gtkui_msg: mdns_spoof: etter.mdns:52 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: mdns_spoof: etter.mdns:54 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: mdns_spoof: etter.mdns:61 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:71 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:78 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:81 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:90 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:99 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: dns_spoof: etter.dns:112 Invalid IPv4 or IPv6 address
[ ettercap] gtkui_msg: 33 plugins
[ ettercap] gtkui_msg: 42 protocol dissectors
[ ettercap] gtkui_msg: 57 ports monitored
[ ettercap] gtkui_msg: 20530 mac vendor fingerprint
[ ettercap] gtkui_msg: 1766 tcp OS fingerprint
[ ettercap] gtkui_msg: 2182 known services
[ ettercap] gtkui_msg: Starting Unified sniffing...
[capture[en0]] ip_create_session [capture[en0]] session_put: [0x7ff97eec81d0] new session [ ettercap] gtkui_exit [ ettercap] gtkui_conf_set: name=window_left value=247 [ ettercap] gtkui_conf_set: name=window_top value=61 [ ettercap] gtkui_conf_set: name=window_width value=1334 [ ettercap] gtkui_conf_set: name=window_height value=881 [ ettercap] gtkui_conf_save [ ettercap] clean_exit: 0 [ ettercap] mitm_stop [ ettercap] stop_unified_sniff [ ettercap] ec_thread_destroy -- terminating 123145564774400 [capture[en0]] [ ettercap] ec_thread_destroy -- [capture[en0]] terminated [ ettercap] ec_thread_destroy -- terminating 123145565310976 [sslwrap] [ ettercap] ec_thread_destroy -- [sslwrap] terminated [ ettercap] ec_thread_kill_all -- caller 140736454644672 [ettercap] [ ettercap] ec_thread_kill_all -- terminating 123145564237824 [timer] [ ettercap] ec_thread_kill_all -- [timer] terminated [ ettercap] ec_thread_kill_all -- terminating 123145563701248 [top_half] [ ettercap] ec_thread_kill_all -- [top_half] terminated [ ettercap] ui_cleanup [ ettercap] ATEXIT: discard_servdb [ ettercap] ATEXIT: fingerprint_discard [ ettercap] ATEXIT: discard_macdb [ ettercap] ATEXIT: plugin_unload_all [ ettercap] ATEXIT: ssl_wrap_fini [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 992 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 465 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 995 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 563 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 636 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 994 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 993 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 8080 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 443 | pfctl -f - 2> /dev/null] [ ettercap] sslw_remove_redirect: [pfctl -sn 2> /dev/null | grep -v 990 | pfctl -f - 2> /dev/null] [ ettercap] ATEXIT: regain_privs [ ettercap] ATEXIT: close_network [ ettercap] ATEXIT: send_closed
DEVICE CLOSED FOR DEBUGGING
I was about to ask the same question.
Have you ran sudo make install
after building it?
Can you attach the file cmakecache.txt please?
@sgeto Yes I have ran sudo make install!
and where can I find cmakecache.txt
[ init] compile_target TARGET: //
I think this means ipv4 support only.
CMakeCache.txt is in your build directory. Please attach it. Don't paste it. I'm tired of scrolling :-D
The ettercap binary that you're running is not the one you recently build. Try uninstalling the old one. In your build directory do:
make uninstall
make clean-all
you may need to remove some leftover files manually. Look here:
/usr/local/share/ettercap/
/usr/local/etc/ettercap/
/usr/local/lib/ettercap/
After that, start all over. Good luck
I opened the diagnostic report of ettercap under library/logs/DiagnosticReports
Date/Time: 2017-08-03 16:45:53.524002 +0530 OS Version: Mac OS X 10.12.6 (Build 16G29) Architecture: x86_64 Report Version: 19
Command: ettercap Path: /usr/local/bin/ettercap Version: ??? (???) Parent: sudo [5900] Responsible: Terminal [3131] PID: 5901
Event: wakeups Wakeups: 46033 wakeups over the last 9 seconds (4961 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds Duration: 9.28s Steps: 2
Hardware model: iMac14,4 Active cpus: 4
Fan speed: 1400 rpm
Powerstats for: ettercap [5901]
Start time: 2017-08-03 16:45:54 +0530 End time: 2017-08-03 16:45:54 +0530 Microstackshots: 2 samples (100%) Issue: And specially this line: # Primary state: 2 samples Non-Frontmost App, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, Override Thread QoS Unspecified User Activity: 0 samples Idle, 2 samples Active Power Source: 0 samples on Battery, 2 samples on AC 2 start + 1 (libdyld.dylib) [0x7fff8d41b235] 2 main + 465 (ec_main.c:110,4 in ettercap) [0x1045235b1] 2 ui_init + 126 (ec_ui.c:51,4 in libettercap.0.dylib) [0x1045c973e] 2 gtkui_init + 139 (ec_gtk.c:270,4 in ettercap) [0x1045404cb] 2 gtkui_setup + 2623 (ec_gtk.c:1023,4 in ettercap) [0x1045439cf] 2 g_signal_emit + 120 (libgobject-2.0.0.dylib) [0x104771514] 2 g_signal_emit_valist + 1804 (libgobject-2.0.0.dylib) [0x104770e41] 2 signal_emit_unlocked_R + 1215 (libgobject-2.0.0.dylib) [0x104770041] 2 g_closure_invoke + 198 (libgobject-2.0.0.dylib) [0x10475d13c] 2 gtk_scrolled_window_add + 76 (libgtk-quartz-2.0.0.dylib) [0x104c6c328] 2 gtk_widget_set_scroll_adjustments + 277 (libgtk-quartz-2.0.0.dylib) [0x104d0efe0] 2 g_signal_emit + 120 (libgobject-2.0.0.dylib) [0x104771514] 2 g_signal_emit_valist + 1804 (libgobject-2.0.0.dylib) [0x104770e41] 2 signal_emit_unlocked_R + 2077 (libgobject-2.0.0.dylib) [0x10477039f] 2 g_closure_invoke + 198 (libgobject-2.0.0.dylib) [0x10475d13c] 2 gtk_text_view_value_changed + 528 (libgtk-quartz-2.0.0.dylib) [0x104cbeef9] 2 gtk_text_view_ensure_layout + 260 (libgtk-quartz-2.0.0.dylib) [0x104cb584c] 2 gtk_widget_create_pango_context + 74 (libgtk-quartz-2.0.0.dylib) [0x104d11596] 2 gdk_pango_context_get_for_screen + 53 (libgdk-quartz-2.0.0.dylib) [0x104ad3ab6] 2 pango_cairo_font_map_get_default + 41 (libpangocairo-1.0.0.dylib) [0x104a921d3] 2 g_object_new + 187 (libgobject-2.0.0.dylib) [0x1047624b0] 2 g_object_newv + 157 (libgobject-2.0.0.dylib) [0x10476258c] 2 g_object_new_internal + 57 (libgobject-2.0.0.dylib) [0x104762c3d] 2 g_type_create_instance + 577 (libgobject-2.0.0.dylib) [0x104772b10] 2 pango_core_text_font_map_init + 230 (libpangocairo-1.0.0.dylib) [0x104a95477] 2 ct_font_descriptor_get_family_name + 31 (libpangocairo-1.0.0.dylib) [0x104a9502a] 2 CTFontDescriptorCopyAttribute + 98 (CoreText) [0x7fff7920b847] 2 TDescriptor::CopyAttribute(CFString const*) const + 204 (CoreText) [0x7fff7920b950] 2 TBaseFont::CopyAttribute(unsigned long) const + 243 (CoreText) [0x7fff7920c931] 2 TBaseFont::CopyName(CFString const) const + 349 (CoreText) [0x7fff7920e8c5] 2 TBaseFont::CopyXTPropertyValue(__CFString const) const + 75 (CoreText) [0x7fff792e0aa9] 2 TBaseFont::CopyXTProperties(CFSet const*, bool) const + 66 (CoreText) [0x7fff792e0b6e] 2 XTCopyPropertiesForFont + 146 (libFontRegistry.dylib) [0x7fff76773931] 2 -[XTypeXPCClient XTCopyPropertiesForFont:keys:scope:options:] + 231 (libFontRegistry.dylib) [0x7fff7679b11f] 2 -[XTypeXPCClient run:errorHandler:] + 103 (libFontRegistry.dylib) [0x7fff76798bd9] 2 61-[XTypeXPCClient XTCopyPropertiesForFont:keys:scope:options:]_block_invoke + 109 (libFontRegistry.dylib) [0x7fff7679b1c8] 2 _CF_forwarding_prep_0 + 120 (CoreFoundation) [0x7fff77c972a8] 2 forwarding + 538 (CoreFoundation) [0x7fff77c9754a] 2 -[NSXPCConnection _sendInvocation:withProxy:remoteInterface:withErrorHandler:] + 32 (Foundation) [0x7fff796b68e0] 2 -[NSXPCConnection _sendInvocation:withProxy:remoteInterface:withErrorHandler:timeout:userInfo:] + 3687 (Foundation) [0x7fff796b774d] 2 __95-[NSXPCConnection _sendInvocation:withProxy:remoteInterface:withErrorHandler:timeout:userInfo:]_block_invoke.318 + 261 (Foundation) [0x7fff79964d27] 2 -[NSXPCConnection _decodeAndInvokeReplyBlockWithData:sequence:replyInfo:] + 282 (Foundation) [0x7fff796b9988] 2 -[NSXPCDecoder decodeObjectOfClass:forKey:] + 129 (Foundation) [0x7fff796ba179] 2 _decodeObjectAfterSettingWhitelistForKey + 128 (Foundation) [0x7fff796ba233] 2 _decodeObject + 1243 (Foundation) [0x7fff7996cf55] 2 -[NSXPCDecoder decodeInvocation] + 470 (Foundation) [0x7fff796bb139] 2 decodeInvocationArguments + 550 (Foundation) [0x7fff796bb913] 2 _walkAndDecodeData + 1789 (Foundation) [0x7fff796bc2c9] 2 -[NSXPCDecoder decodeObjectOfClasses:forKey:] + 154 (Foundation) [0x7fff796c49b0] 2 _decodeObjectAfterSettingWhitelistForKey + 128 (Foundation) [0x7fff796ba233] 2 _decodeObject + 1088 (Foundation) [0x7fff7996ceba] 2 -[NSDictionary(NSDictionary) initWithCoder:] + 207 (Foundation) [0x7fff7969bf45] 2 -[NSXPCDecoder _decodeArrayOfObjectsForKey:] + 114 (Foundation) [0x7fff796c4ae0] 2 objc_msgSend + 46 (libobjc.A.dylib) [0x7fff8cb2706e]
Binary Images:
0x10451a000 - 0x10456aff3 ettercap (0) <4D8408AB-AD65-384E-8BF3-9FE01164CCBA> /usr/local/bin/ettercap
0x104595000 - 0x104602ff3 libettercap.0.dylib (0) <6364FD2E-80DE-3624-8B61-2CE31EAF3A14> /usr/local/lib/libettercap.0.dylib
0x104756000 - 0x104786ff7 libgobject-2.0.0.dylib (0)
@sgeto I am getting this error!
[Sayans-iMac:~ sayan$ cd ettercap Sayans-iMac:ettercap sayan$ cd build Sayans-iMac:build sayan$ make uninstall Scanning dependencies of target uninstall CMake Error at cmake_uninstall.cmake:2 (message): Cannot find install manifest: /Users/sayan/ettercap/build/install_manifest.txt
make[3]: [CMakeFiles/uninstall] Error 1 make[2]: [CMakeFiles/uninstall.dir/all] Error 2 make[1]: [CMakeFiles/uninstall.dir/rule] Error 2 make: [uninstall] Error 2 Sayans-iMac:build sayan$ sudo make uninstall Password: CMake Error at cmake_uninstall.cmake:2 (message): Cannot find install manifest: /Users/sayan/ettercap/build/install_manifest.txt
make[3]: [CMakeFiles/uninstall] Error 1 make[2]: [CMakeFiles/uninstall.dir/all] Error 2 make[1]: [CMakeFiles/uninstall.dir/rule] Error 2 make: [uninstall] Error 2 Sayans-iMac:build sayan$ make clean-all Scanning dependencies of target clean-all Built target clean-all Sayans-iMac:build sayan$ make uninstall make: *** No rule to make target `uninstall'. Stop. Sayans-iMac:build sayan$ ](url)
install_manifest.txt
This file is created after successfully running sudo make install
Meaning you didn't install your lastest build, which you said you did. Repeatedly.
And now you even removed the whole build with make clean-all
, because you didn't stop after the first error you received.
I told you not to senselessly run multiple commands in a row without fully understanding their output.
Anyway, just start again.
cmake -Dblablabla=debug -Denableipv6=on -Denablethisandthattoo=duh! -Denablesomemorethingsyoumayneedbutprobablydont=yeahsure -Ddontforgettosetyousysconfdir=/dev/random - DMacintoshsux=nodoubt ..
make
sudo make install
I'm on my phone. I don't know the exact options by heart. These commands aren't real. Obviously. Replace them with the once we've been talking about over the past few days.
Good luck
@sgeto @koeppea I am getting this new error in terminal I even googled the issue but couldn't find a solution
warning: unable to access '/Users/sayan/.config/git/attributes': Permission denied
after cloning into ettercap repo
@sgeto ?
There could be a lot of reason for this. Luckily none I can think of is related to ettercap.
Not sure what you should do at this point. Looks like a rabbit hole. Reinstalling git? Maybe. Reinstalling or resetting your entire OS? That too maybe.
Just don't run commands you found on the internet as root just because it worked for some guy in some forum years ago. I suspect this is what got you here in the first place...
Try to read about permissions on unix, git and OSX in general. Maybe your issue is not that devastating after all.
Good luck
@sgeto I once tried to clone ettercap using travis and the branch folder still exits in my mac
@sgeto This time I got a lot of warnings specially with this kind of lookalike warnings: *gre.c:323:13: warning: passing 'u_char ' (aka 'unsigned char ') to parameter of type 'const char ' converts between pointers to integer types with different** sign [-Wpointer-sign] house of errors.pdf
And I still have the IPV6 support error, I reinstalled my OS lost all files and I still get this errors cause I'm a lamer (Good for nothing)
I am also getting this kind of errors
ERROR : 22, Invalid argument [/Users/sayan/ettercap/src/ec_send.c:send_L3_icmp:446]
libnet_write (-1): libnet_write_raw_ipv4(): -1 bytes written (Invalid argument)
I don't have a Mac. Did the build succeed? Have you installed ettercap after that? Can you post your ettercap debug log?
This are warnings are coming from the bundled libnet compilation.
They're typically harmless and do normally not affect ettercap.
@sgeto Here are the debug logs!
@koeppea what about these warnings! warnings: *gre.c:323:13: warning: passing 'u_char ' (aka 'unsigned char ') to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign]
This is exactly what I was referring to. It's a libnet source file. Ettercap does not have a file named 'gre.c'.
@sgeto I enabled IPV6 support using ccmake /Users/sayan/ettercap and even configured it and got an output like this: HAVING TROUBLE BUILDING ETTERCAP?
Install any missing dependencies
run 'make clean-all'
run 'cmake /Users/sayan/ettercap'
This is the ccmake GUI:
APPDATA_DIR /usr/local/share/appdata
BISON_EXECUTABLE /usr/bin/bison
BUNDLED_CURL ON
BUNDLED_LIBNET ON
BUNDLED_LIBS ON
CMAKE_AR /Library/Developer/CommandLineTools/usr/bin/a
CMAKE_BUILD_TYPE Release
CMAKE_COLOR_MAKEFILE ON
CMAKE_C_COMPILER /Library/Developer/CommandLineTools/usr/bin/c
CMAKE_C_FLAGS
CMAKE_C_FLAGS_DEBUG -O0 -ggdb3 -DDEBUG -Wall -Wno-pointer-sign -D
CMAKE_C_FLAGS_MINSIZEREL -Os -DNDEBUG
CMAKE_C_FLAGS_RELEASE -O2 -w -D_FORTIFY_SOURCE=2
CMAKE_C_FLAGS_RELWITHDEBINFO -O2 -g -DNDEBUG
CMAKE_EXE_LINKER_FLAGS -Wl
CMAKE_EXE_LINKER_FLAGS_DEBUG -Wl
CMAKE_EXE_LINKER_FLAGS_MINSIZE
CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELWITH
CMAKE_EXPORT_COMPILE_COMMANDS OFF
CMAKE_INSTALL_NAME_TOOL /usr/bin/install_name_tool
CMAKE_INSTALL_PREFIX /usr/local
CMAKE_LINKER /Library/Developer/CommandLineTools/usr/bin/l
CMAKE_MAKE_PROGRAM /usr/bin/make
CMAKE_MODULE_LINKER_FLAGS -Wl
CMAKE_MODULE_LINKER_FLAGS_DEBU
CMAKE_MODULE_LINKER_FLAGS_MINS
CMAKE_MODULE_LINKER_FLAGS_RELE
CMAKE_MODULE_LINKER_FLAGS_RELW
CMAKE_NM /Library/Developer/CommandLineTools/usr/bin/n
CMAKE_OBJCOPY CMAKE_OBJCOPY-NOTFOUND
CMAKE_OBJDUMP /Library/Developer/CommandLineTools/usr/bin/o
CMAKE_OSX_ARCHITECTURES
CMAKE_OSX_DEPLOYMENT_TARGET
CMAKE_OSX_SYSROOT
CMAKE_RANLIB /Library/Developer/CommandLineTools/usr/bin/r
CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS_DEBU
CMAKE_SHARED_LINKER_FLAGS_MINS
CMAKE_SHARED_LINKER_FLAGS_RELE
CMAKE_SHARED_LINKER_FLAGS_RELW
CMAKE_SKIP_INSTALL_RPATH OFF
CMAKE_SKIP_RPATH OFF
CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS_DEBU
CMAKE_STATIC_LINKER_FLAGS_MINS
CMAKE_STATIC_LINKER_FLAGS_RELE
CMAKE_STATIC_LINKER_FLAGS_RELW
CMAKE_STRIP /Library/Developer/CommandLineTools/usr/bin/s
CMAKE_VERBOSE_MAKEFILE OFF
CURL_INCLUDE_DIR /usr/include
CURL_LIBRARY /usr/lib/libcurl.dylib
CURSES_CURSES_LIBRARY /usr/lib/libcurses.dylib
CURSES_FORM_LIBRARY /usr/lib/libform.dylib
CURSES_INCLUDE_PATH /usr/include
CURSES_NCURSES_LIBRARY /usr/lib/libncurses.dylib
DESKTOP_DIR /usr/local/share/applications
ENABLE_CURSES ON
ENABLE_GTK ON
ENABLE_IPV6 ON
ENABLE_LUA OFF
ENABLE_PDF_DOCS OFF
ENABLE_PLUGINS ON
ENABLE_TESTS OFF
FLEX_EXECUTABLE /usr/bin/flex
FLEX_INCLUDE_DIR FLEX_INCLUDE_DIR-NOTFOUND
FL_LIBRARY FL_LIBRARY-NOTFOUND
FOUND_GTHREAD /usr/local/lib/libgthread-2.0.dylib
FOUND_MENU /usr/lib/libmenu.dylib
FOUND_PANEL /usr/lib/libpanel.dylib
FREETYPE_INCLUDE_DIR_freetype2 /usr/local/include/freetype2
FREETYPE_INCLUDE_DIR_ft2build /usr/local/include/freetype2
FREETYPE_LIBRARY_DEBUG FREETYPE_LIBRARY_DEBUG-NOTFOUND
FREETYPE_LIBRARY_RELEASE /usr/local/lib/libfreetype.dylib
GTK2_ATK_INCLUDE_DIR /usr/local/include/atk-1.0
GTK2_ATK_LIBRARY_DEBUG GTK2_ATK_LIBRARY_DEBUG-NOTFOUND
GTK2_ATK_LIBRARY_RELEASE /usr/local/lib/libatk-1.0.dylib
GTK2_CAIRO_INCLUDE_DIR /usr/local/include/cairo
GTK2_CAIRO_LIBRARY_DEBUG GTK2_CAIRO_LIBRARY_DEBUG-NOTFOUND
GTK2_CAIRO_LIBRARY_RELEASE /usr/local/lib/libcairo.dylib
GTK2_FONTCONFIG_INCLUDE_DIR /usr/local/include
GTK2_GDKCONFIG_INCLUDE_DIR /usr/local/lib/gtk-2.0/include
GTK2_GDK_INCLUDE_DIR /usr/local/include/gtk-2.0
GTK2_GDK_LIBRARY_DEBUG GTK2_GDK_LIBRARY_DEBUG-NOTFOUND
GTK2_GDK_LIBRARY_RELEASE /usr/local/lib/libgdk-quartz-2.0.dylib
GTK2_GDK_PIXBUF_INCLUDE_DIR /usr/local/include/gdk-pixbuf-2.0
GTK2_GDK_PIXBUF_LIBRARY_DEBUG GTK2_GDK_PIXBUF_LIBRARY_DEBUG-NOTFOUND
GTK2_GDK_PIXBUF_LIBRARY_RELEAS /usr/local/lib/libgdk_pixbuf-2.0.dylib
GTK2_GIO_LIBRARY_DEBUG GTK2_GIO_LIBRARY_DEBUG-NOTFOUND
GTK2_GIO_LIBRARY_RELEASE /usr/local/lib/libgio-2.0.dylib
GTK2_GLIBCONFIG_INCLUDE_DIR /usr/local/lib/glib-2.0/include
GTK2_GLIB_INCLUDE_DIR /usr/local/include/glib-2.0
GTK2_GLIB_LIBRARY_DEBUG GTK2_GLIB_LIBRARY_DEBUG-NOTFOUND
GTK2_GLIB_LIBRARY_RELEASE /usr/local/lib/libglib-2.0.dylib
GTK2_GMODULE_LIBRARY_DEBUG GTK2_GMODULE_LIBRARY_DEBUG-NOTFOUND
GTK2_GMODULE_LIBRARY_RELEASE /usr/local/lib/libgmodule-2.0.dylib
GTK2_GOBJECT_INCLUDE_DIR /usr/local/include/glib-2.0
GTK2_GOBJECT_LIBRARY_DEBUG GTK2_GOBJECT_LIBRARY_DEBUG-NOTFOUND
GTK2_GOBJECT_LIBRARY_RELEASE /usr/local/lib/libgobject-2.0.dylib
GTK2_GTHREAD_LIBRARY_DEBUG GTK2_GTHREAD_LIBRARY_DEBUG-NOTFOUND
GTK2_GTHREAD_LIBRARY_RELEASE /usr/local/lib/libgthread-2.0.dylib
GTK2_GTK_INCLUDE_DIR /usr/local/include/gtk-2.0
GTK2_GTK_LIBRARY_DEBUG GTK2_GTK_LIBRARY_DEBUG-NOTFOUND
GTK2_GTK_LIBRARY_RELEASE /usr/local/lib/libgtk-quartz-2.0.dylib
GTK2_PANGOCAIRO_LIBRARY_DEBUG GTK2_PANGOCAIRO_LIBRARY_DEBUG-NOTFOUND
GTK2_PANGOCAIRO_LIBRARY_RELEAS /usr/local/lib/libpangocairo-1.0.dylib
GTK2_PANGOFT2_LIBRARY_DEBUG GTK2_PANGOFT2_LIBRARY_DEBUG-NOTFOUND
GTK2_PANGOFT2_LIBRARY_RELEASE /usr/local/lib/libpangoft2-1.0.dylib
GTK2_PANGOXFT_LIBRARY_DEBUG GTK2_PANGOXFT_LIBRARY_DEBUG-NOTFOUND
GTK2_PANGOXFT_LIBRARY_RELEASE GTK2_PANGOXFT_LIBRARY_RELEASE-NOTFOUND
GTK2_PANGO_INCLUDE_DIR /usr/local/include/pango-1.0
GTK2_PANGO_LIBRARY_DEBUG GTK2_PANGO_LIBRARY_DEBUG-NOTFOUND
GTK2_PANGO_LIBRARY_RELEASE /usr/local/lib/libpango-1.0.dylib
GTK2_X11_INCLUDE_DIR /System/Library/Frameworks/Tk.framework/Heade
GTK_BUILD_TYPE GTK2
HAVE_DN_EXPAND 1
HAVE_GEOIP /usr/local/lib/libGeoIP.dylib
HAVE_ICONV /usr/lib/libiconv.dylib
HAVE_PCAP /usr/lib/libpcap.dylib
HAVE_RESOLV /usr/lib/libresolv.dylib
ICON_DIR /usr/local/share/pixmaps
INSTALL_BINDIR /usr/local/bin
INSTALL_DATADIR /usr/local/share
INSTALL_DESKTOP ON
INSTALL_EXECPREFIX /usr/local
INSTALL_LIBDIR /usr/local/lib
INSTALL_PREFIX /usr/local
INSTALL_SYSCONFDIR /etc
LIBNET_INCLUDE_DIR LIBNET_INCLUDE_DIR-NOTFOUND
LIBNET_LIBRARY LIBNET_LIBRARY-NOTFOUND
LIBRARY_BUILD OFF
MAN_INSTALLDIR /usr/local/share/man
OPENSSL_CRYPTO_LIBRARY /usr/lib/libcrypto.dylib
OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR-'/usr/local/opt/openssl'
OPENSSL_SSL_LIBRARY /usr/lib/libssl.dylib
PCRE_INCLUDE_DIR /usr/local/include
PCRE_LIBRARY /usr/local/lib/libpcre.dylib
PKEXEC_INSTALL_WRAPPER org.pkexec.ettercap
PKG_CONFIG_EXECUTABLE /usr/local/bin/pkg-config
POLKIT_DIR /usr/local/share/polkit-1/actions
SPECIAL_LIB_DIR
SYSTEM_CURL ON
SYSTEM_LIBNET ON
SYSTEM_LIBS ON
ZLIB_INCLUDE_DIR /usr/include
ZLIB_LIBRARY_DEBUG ZLIB_LIBRARY_DEBUG-NOTFOUND
ZLIB_LIBRARY_RELEASE /usr/lib/libz.dylib
But I still get the invalid IPV6 or IPV4 error Error: 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
And I also get this error in ettercap
Error:
Randomizing 255 hosts for scanning... Scanning the whole netmask for 255 hosts... SEND L3 ERROR: 104 byte packet (0800:01) destined to 172.28.66.226 was not forwarded (libnet_write_raw_ipv4(): -1 bytes written (Invalid argument) ) SEND L3 ERROR: 104 byte packet (0800:01) destined to 172.28.66.226 was not forwarded (libnet_write_raw_ipv4(): -1 bytes written (Invalid argument) ) SEND L3 ERROR: 104 byte packet (0800:01) destined to 172.28.66.226 was not forwarded (libnet_write_raw_ipv4(): -1 bytes written (Invalid argument) ) SEND L3 ERROR: 104 byte packet (0800:01) destined to 172.28.66.226 was not forwarded (libnet_write_raw_ipv4(): -1 bytes written (Invalid argument)
?
:disappointed_relieved:
You're still executing the ettercap binary you installed days ago... The one without ipv6 support. That's why the warning is still there. You haven't installed the new one yet.
You have to follow instructions or else this won't work.
Build ettercap with ipv6 support. Then install it. Don't post any error related to running ettercap until you build and installed it. You hear me?
@sgeto I removed every previos build and started everything from new
I initiated a new git: git init Then git cloned then git pulled cd ettercap mkdir build cd build then used this command: cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DINSTALL_SYSCONFDIR=/usr/local/etc -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -ENABLE_IPV6=ON ../
then typed in
make make install
I did everything as a super user But I still get the IPV6 error!
@sgeto !?
@sayan-sibyl. I give up. Point is that it works for everyone but you. It won't work the want it to. It can't. If you still getting the warning, then you haven't uninstalled it. Yet you insist of saying so. Why? Don't you know what uninstalling means? If so, why don't go and find out? I am not saying that this may not be for you, but you are being very ignorant right now. You should seriously consider reading about the ins and outs of your OS and ettercap before posting again.
@sgeto I too give up I am installing ettercap using this command : brew install ettercap --with-gtk+
I don't get any errors after I have installed ettercap via brew but I did not got the latest build since brew has archived the ttercap repo so do uyou know is there anyway to upgrade this error free build to the latest git build?
@sgeto ?
@sgeto At last I installed ettercap succesfully with hombrew! Using this command : brew install --HEAD ettercap --with-gtk+ Without any errors
@LocutusOfBorg @koeppea @sgeto I don't know why I get this error
I have succesfully installed ettercap using this command : brew install --HEAD ettercap --with-gtk+ Now that I have installed I started ettercap using -G Then stopped unified sniffing Scanned for hosts Then started MITM (ARP poisoning) atttack (Only Poison One Way) with targets (Anyone) The poisoning failed the connections were not terminated I mean the full bandwith one!
Error:
Listening on: en0 -> 84:16:F9:B4:8E:73 172.28.66.249/255.255.255.0 fe80::56:65f5:89f:5a6d/64
Privileges dropped to EUID 0 EGID 0...
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... 168 hosts added to the hosts list... Unified sniffing was stopped. Host 172.28.66.1 added to TARGET1 Host 172.28.66.48 added to TARGET2
ARP poisoning victims:
GROUP 1 : 172.28.66.1 EC:CD:6D:58:48:C6
GROUP 2 : 172.28.66.48 6C:B0:CE:68:18:E1 Activating chk_poison plugin... chk_poison: Checking poisoning status... chk_poison: No poisoning at all :(
Don't waste anymore of your time mate. The post on the website is wrong. You can't do that. You want to continuously poison the arp cache of 200+ hosts, and you hope that your PC's network performance won't get affected by this? It's very unlikely.
## I enabled IPV6 support using 'ccmake' and even reconfigured the files required for IPV6 support, and even installed any missing dependencies and also reinstalled ettercap by cleaning all build and recloned the latest git repo but as soon as I open ettercap I get this error:
_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 dnsspoof: etter.dns:112 Invalid IPv4 or IPv6 address
And I also get this error in the terminal of my iMac
(process:617): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
(:617): Gtk-CRITICAL **: gtk_image_get_pixbuf: assertion 'image->storage_type == GTK_IMAGE_PIXBUF || image->storage_type == GTK_IMAGE_EMPTY' failed