No terazto już w ogóle nie kapuje. To co kolega powyżej wkleił to co właściwie jest? Z synaptica zainstalowałem pakiety diff, ale nie zadziałało. No ale zobaczyłem, że to co jest wyżej to nie ma tego w moich wynikach konsoli, wiec wkleiłem to do kosoli jako root i dostałem takie coś:
Kod: Zaznacz cały
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for strerror... yes
checking for strstr... yes
checking for strsignal... yes
checking for strtok_r... yes
checking for uname... yes
checking for daemon... yes
Checking for required libraries...
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing poll... none required
checking for library containing gzopen... -lz
checking for library containing dn_expand... -lresolv
checking for additional -lresolv needed by dn_expand... not needed
Checking for missing functions...
checking for strlcpy... no
checking for strlcat... no
checking for strsep... yes
checking for memmem... yes
checking for memcmp... yes
checking for basename... yes
checking for getopt_long... yes
checking for strcasestr... yes
checking for scandir... yes
checking for inet_aton... yes
checking for inet_aton in -lresolv... yes
Checking user defined options...
checking if --enable-debug option was specified... no
checking if --enable-plugins option was specified... not supported
checking for libpcap... yes
checking for pcap_datalink_val_to_description in -lpcap... yes
checking for libnet... yes
checking for libnet_adv_free_packet in -lnet... yes
checking for openssl... yes
checking for libpcre... no
checking for iconv... yes
checking for library containing iconv... none required
checking for iconv in -lc... yes
checking for iconv in -liconv... no
checking for libiconv in -liconv... no
checking for libncurses... yes
checking if --enable-gtk option was specified... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
checking for GTK_LIBS... -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lfreetype -lfontconfig -lpango-1.0 -lgmodule-2.0 -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
Writing output files...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.mingw
config.status: creating man/Makefile
config.status: creating man/ettercap.8
config.status: creating man/ettercap_curses.8
config.status: creating man/ettercap_plugins.8
config.status: creating man/etterlog.8
config.status: creating man/etterfilter.8
config.status: creating man/etter.conf.5
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/os/Makefile
config.status: creating src/interfaces/Makefile
config.status: creating src/interfaces/daemon/Makefile
config.status: creating src/interfaces/text/Makefile
config.status: creating src/interfaces/curses/Makefile
config.status: creating src/interfaces/curses/widgets/Makefile
config.status: creating src/interfaces/gtk/Makefile
config.status: creating include/Makefile
config.status: creating utils/Makefile
config.status: creating utils/etterlog/Makefile
config.status: creating utils/etterfilter/Makefile
config.status: creating plug-ins/Makefile
config.status: creating plug-ins/arp_cop/Makefile
config.status: creating plug-ins/autoadd/Makefile
config.status: creating plug-ins/chk_poison/Makefile
config.status: creating plug-ins/dos_attack/Makefile
config.status: creating plug-ins/dns_spoof/Makefile
config.status: creating plug-ins/dummy/Makefile
config.status: creating plug-ins/find_conn/Makefile
config.status: creating plug-ins/find_ettercap/Makefile
config.status: creating plug-ins/find_ip/Makefile
config.status: creating plug-ins/finger/Makefile
config.status: creating plug-ins/finger_submit/Makefile
config.status: creating plug-ins/gre_relay/Makefile
config.status: creating plug-ins/gw_discover/Makefile
config.status: creating plug-ins/isolate/Makefile
config.status: creating plug-ins/link_type/Makefile
config.status: creating plug-ins/pptp_chapms1/Makefile
config.status: creating plug-ins/pptp_clear/Makefile
config.status: creating plug-ins/pptp_pap/Makefile
config.status: creating plug-ins/pptp_reneg/Makefile
config.status: creating plug-ins/rand_flood/Makefile
config.status: creating plug-ins/remote_browser/Makefile
config.status: creating plug-ins/reply_arp/Makefile
config.status: creating plug-ins/repoison_arp/Makefile
config.status: creating plug-ins/scan_poisoner/Makefile
config.status: creating plug-ins/search_promisc/Makefile
config.status: creating plug-ins/smb_clear/Makefile
config.status: creating plug-ins/smb_down/Makefile
config.status: creating plug-ins/stp_mangler/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
ettercap has been configured as follow...
==================================================
Install directory: /usr/local
Libraries :
LIBPCAP ................ default
LIBNET ................. default
LIBSSL ................. default
NCURSES ................ default
GTK+ ................... yes
Functionalities :
Debug mode ............. no
Plugin support ......... no
Passive DNS ............ yes
Perl regex in filters .. no
Iconv UTF-8 support .... yes
==================================================
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# make && sudo make install
Making all in man
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/man'
Making all in share
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/share'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in include
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make all-am
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/include'
Making all in src
make[1]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
Making all in os
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/os'
Making all in interfaces
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
Making all in daemon
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/daemon'
Making all in text
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/text'
Making all in curses
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in widgets
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Nie ma nic do zrobienia w `all'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses/widgets'
make[4]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[4]: Nie ma nic do zrobienia w `all-am'.
make[4]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/curses'
Making all in gtk
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[3]: Nie ma nic do zrobienia w `all-am'.
make[3]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src/interfaces'
make[2]: Wejście do katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/local/include -g -O2 -MT ettercap-ec_log.o -MD -MP -MF ".deps/ettercap-ec_log.Tpo" -c -o ettercap-ec_log.o `test -f 'ec_log.c' || echo './'`ec_log.c; \
then mv -f ".deps/ettercap-ec_log.Tpo" ".deps/ettercap-ec_log.Po"; else rm -f ".deps/ettercap-ec_log.Tpo"; exit 1; fi
ec_log.c: In function ‘log_packet’:
ec_log.c:248: warning: pointer targets in passing argument 2 of ‘regexec’ differ in signedness
/usr/include/regex.h:571: note: expected ‘const char * __restrict__’ but argument is of type ‘u_char *’
ec_log.c: In function ‘log_write_info’:
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’
In file included from /usr/include/fcntl.h:252,
from ec_log.c:32:
In function ‘open’,
inlined from ‘log_open’ at ec_log.c:193:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [ettercap-ec_log.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/ksz/Pobrane/ettercap-NG-0.7.3/src'
make: *** [all-recursive] Błąd 1
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# --- 1:0.7.3-2.1/debian/patches/02_file_permissions.diff1970-01-01 01:00:00.000000000 +0100
---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +++ 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff2010-10-22 17:54:15.000000000 +0100
No command '+++' found, did you mean:
Command 'c++' from package 'g++' (main)
Command 'c++' from package 'pentium-builder' (universe)
Command 'g++' from package 'g++' (main)
Command 'g++' from package 'pentium-builder' (universe)
Command 'u++' from package 'u++' (universe)
+++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# @@ -0,0 +1,15 @@
@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +# Description: specify file permission in open call
+#: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +Index: ettercap-0.7.3-1.4ubuntu1/src/ec_log.c
+Index:: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +===================================================================
+===================================================================: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +--- ettercap-0.7.3-1.4ubuntu1.orig/src/ec_log.c2009-07-10 16:11:16.427060161 -0400
+---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++++ ettercap-0.7.3-1.4ubuntu1/src/ec_log.c2009-07-10 16:11:42.789785610 -0400
++++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +@@ -190,7 +190,7 @@
+@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + if (fd->cfd == NULL)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + } else {
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +- fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++ fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + if (fd->fd == -1)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + }
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3#
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# clear
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# diff -pruN 1:0.7.3-2.1/debian/patches/02_file_permissions.diff 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff
diff: 1:0.7.3-2.1/debian/patches/02_file_permissions.diff: No such file or directory
diff: 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff: No such file or directory
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# --- 1:0.7.3-2.1/debian/patches/02_file_permissions.diff1970-01-01 01:00:00.000000000 +0100
---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +++ 1:0.7.3-2.1ubuntu1/debian/patches/02_file_permissions.diff2010-10-22 17:54:15.000000000 +0100
No command '+++' found, did you mean:
Command 'c++' from package 'g++' (main)
Command 'c++' from package 'pentium-builder' (universe)
Command 'g++' from package 'g++' (main)
Command 'g++' from package 'pentium-builder' (universe)
Command 'u++' from package 'u++' (universe)
+++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# @@ -0,0 +1,15 @@
@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +# Description: specify file permission in open call
+#: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +Index: ettercap-0.7.3-1.4ubuntu1/src/ec_log.c
+Index:: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +===================================================================
+===================================================================: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +--- ettercap-0.7.3-1.4ubuntu1.orig/src/ec_log.c2009-07-10 16:11:16.427060161 -0400
+---: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++++ ettercap-0.7.3-1.4ubuntu1/src/ec_log.c2009-07-10 16:11:42.789785610 -0400
++++: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +@@ -190,7 +190,7 @@
+@@: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + if (fd->cfd == NULL)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + } else {
+: command not found
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# +- fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# ++ fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0664);
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + if (fd->fd == -1)
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
bash: błąd składni przy nieoczekiwanym znaczniku `('
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3# + }^C
root@ksz-MS-7327:/home/ksz/Pobrane/ettercap-NG-0.7.3#
Ale tak jak mówię, instalowałem pakiety z Synaptica, ale nie działa. Słyszałem jeszcze, że dobrą metodą na patchowanie jest akutalizacja jądra, ale martwie się, że będą z tym dodatkowe atrakcje. Próbowałem polecenie patch diff, ale nie dało rady. Kurde, ale jestem zielony z tego Linuksa, teraz se zdałem sprawę
