|
|
VNIMANIE: Izpolzvaite forumite na saita za da zadadete vashite vuprosi.
Vupros |
Ot: dsniff |
Data: 07/19/2004 |
abe izteglih si novata versia na dsniff 2.4 pri ./configure
nikvi problemi vsi4ko proti4a normalno
no pri make-vaneto izliza slednoto suob6tenie arp.h:14:
warning: `struct ether_addr' declared inside parameter list
arp.h:14: warning: its scope is only this definition or
declaration, which is probably not what you want
arpspoof.c:28: warning: `struct ether_addr' declared inside
parameter list
arpspoof.c: In function `arp_send':
arpspoof.c:51: warning: passing arg 1 of `libnet_get_hwaddr'
from incompatible pointer type
arpspoof.c:51: too many arguments to function
`libnet_get_hwaddr'
arpspoof.c:62: warning: passing arg 6 of
`libnet_build_ethernet' from incompatible pointer type
arpspoof.c:62: too few arguments to function
`libnet_build_ethernet'
arpspoof.c:66: `ETH_H' undeclared (first use in this
function)
arpspoof.c:66: (Each undeclared identifier is reported only
once
arpspoof.c:66: for each function it appears in.)
arpspoof.c:66: too few arguments to function
`libnet_build_arp'
arpspoof.c:69: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:73: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:79: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:82: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c: In function `arp_find':
arpspoof.c:116: warning: passing arg 2 of `arp_cache_lookup'
from incompatible pointer type
arpspoof.c: In function `main':
arpspoof.c:185: warning: assignment makes pointer from
integer without a cast
/usr/include/linux/byteorder/swab.h: At top level:
arpspoof.c:31: storage size of `spoof_mac' isn't known
arpspoof.c:31: storage size of `target_mac' isn't known
make: *** [arpspoof.o] Error 1
niakoi da pomogne ...
|
Otgovor #2 |
Ot: ivo (siten< at >abv[ tochka ]bg) |
Data: 11/14/2004 |
sega shue vi kazha kak...
predpolagam ste izteglili vsichki programi ot spisaka na FAQ
na dsniff:
Berkeley DB
OpenSSL
libpcap
libnet
libnids
parvo kompilirate tiah...
obache shte vi kazha che vi triabva versiia >>1.0.2a<< na libnet
podchertava tazi versiia zashtoto s nai-novata 1.1.x niama da
tragne.
davate ./configure make i tn za da kompilirate vsichki tiia
porg i nai-nakraia kompilirate dsnif...
obache pri men iznikna drug problem... pri dsniff ne mi go
kompilira tsialoto... sega 6te vi go paste:)
|
Otgovor #3 |
Ot: ivo (siten< at >abv __tochka__ bg) |
Data: 11/14/2004 |
etogo i moia problem za dsniff
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./arpspoof.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./arp.c
gcc -o arpspoof arpspoof.o arp.o -lresolv -lnsl -lrpcsvc -L.
-lmissing -L/usr/local/lib -lpcap -lnet
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./dnsspoof.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./pcaputil.c
gcc -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl
-lrpcsvc -L. -lmissing -L/usr/local/lib -lpcap -lnet
rpcgen -h mount.x -o mount.h
rpcgen -c mount.x -o mount.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./asn1.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./base64.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./buf.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./hex.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./magic.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./mount.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./rpc.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./tcp_raw.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./trigger.c
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./record.c
record.c: In function `record_save':
record.c:130: error: `R_NOOVERWRITE' undeclared (first use
in this function)
record.c:130: error: (Each undeclared identifier is reported
only once
record.c:130: error: for each function it appears in.)
record.c:130: warning: passing arg 2 of pointer to function
from incompatible pointer type
record.c:130: error: too few arguments to function
record.c: In function `record_dump':
record.c:143: error: structure has no member named `seq'
record.c:143: error: `R_NEXT' undeclared (first use in this
function)
record.c: In function `record_init':
record.c:167: warning: assignment makes pointer from integer
without a cast
record.c: In function `record_close':
record.c:206: error: too few arguments to function
make: *** [record.o] Error 1
bash-2.05b# make
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./record.c
record.c: In function `record_save':
record.c:130: error: `R_NOOVERWRITE' undeclared (first use
in this function)
record.c:130: error: (Each undeclared identifier is reported
only once
record.c:130: error: for each function it appears in.)
record.c:130: warning: passing arg 2 of pointer to function
from incompatible pointer type
record.c:130: error: too few arguments to function
record.c: In function `record_dump':
record.c:143: error: structure has no member named `seq'
record.c:143: error: `R_NEXT' undeclared (first use in this
function)
record.c: In function `record_init':
record.c:167: warning: assignment makes pointer from integer
without a cast
record.c: In function `record_close':
record.c:206: error: too few arguments to function
make: *** [record.o] Error 1
|
Otgovor #4 |
Ot: koko777 (koko777__at__Gorna__dot__Net) |
Data: 10/02/2005 |
prosto pishesh:
cd /usr/include/
ln -s db3/db_185.h db_185.h
vryshtash se v */dsniff$
./configure && make && make install
have fun :)
|
Otgovor #5 |
Ot: Night_Hawk (spasitel__at__gorna[ tochka ]net) |
Data: 10/02/2005 |
Priznavam go toq Koko777 za nai golemiq "Hoher"
EAxeXAeXAEXAEXAExA
Blagodarenie na nego shte razbiim sveta {}
|
<< sheipur pod Free BSD (6
) | Za Trustix... (2
) >>
|
|
|
|
|