ciao...
qualcuno sa dirmi da dove scarico dsniff per slackware che sia funzionante?
nei repo non c'è,sono andato su slackbuild,ma poi il pacchetto non si costruisce che da errore...
non so come fare....
grazie per eventuale aiuto...
Moderatore: Staff


414N ha scritto:Hai installato, prima di provare a compilarlo, le dipendenze indicate (libnids e libnet)?



checking for MD5Update... no
checking for warnx... yes
checking for ether_ntoa... yes
checking for Berkeley DB with 1.85 compatibility... yes
checking for libpcap... yes
checking for libnet... yes
checking for libnids... yes
checking whether libnids version is good... yes
checking for OpenSSL... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
gcc -O2 -march=i486 -mtune=i686 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/dummy.c
gcc -O2 -march=i486 -mtune=i686 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/strlcpy.c
gcc -O2 -march=i486 -mtune=i686 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/strlcat.c
gcc -O2 -march=i486 -mtune=i686 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/md5.c
ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o
ranlib libmissing.a
gcc -O2 -march=i486 -mtune=i686 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./arpspoof.c
./arpspoof.c: In function 'arp_send':
./arpspoof.c:51:6: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type
/usr/include/./libnet/libnet-functions.h:1819:1: note: expected 'struct libnet_t *' but argument is of type 'struct libnet_link_int *'
./arpspoof.c:51:6: error: too many arguments to function 'libnet_get_hwaddr'
/usr/include/./libnet/libnet-functions.h:1819:1: note: declared here
./arpspoof.c:62:2: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type
/usr/include/./libnet/libnet-functions.h:490:1: note: expected 'struct libnet_t *' but argument is of type 'u_char *'
./arpspoof.c:62:2: error: too few arguments to function 'libnet_build_ethernet'
/usr/include/./libnet/libnet-functions.h:490:1: note: declared here
./arpspoof.c:66:20: error: 'ETH_H' undeclared (first use in this function)
./arpspoof.c:66:20: note: each undeclared identifier is reported only once for each function it appears in
./arpspoof.c:66:5: error: too few arguments to function 'libnet_build_arp'
/usr/include/./libnet/libnet-functions.h:564:1: note: declared here
./arpspoof.c: In function 'main':
./arpspoof.c:185:12: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1



Visitano il forum: Nessuno e 1 ospite