Hola a todos !
Primero, felicidades por la web, es genial y se aprende un monton !
Os cuento, estaba yo con el wlainject, a ver si lo puedo instalar, y despues de instalar todas las librerias que me iba pidiendo y leer muuuuuuchos post, me he quedado encallado aqui:
sudo make
gcc -Os -I. -lnet -lpcap -W -Wall -MMD -c wlaninject.c
En el fitxer inclòs dès de wlaninject.c:39:
/usr/include/libnet.h:87:2: error: #error "byte order has not been specified, you'll need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the documentation regarding the libnet-config script."
wlaninject.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wlaninject.c: In function 'do_libnet_init':
wlaninject.c:226: error: 'libnet' undeclared (first use in this function)
wlaninject.c:226: error: (Each undeclared identifier is reported only once
wlaninject.c:226: error: for each function it appears in.)
wlaninject.c:228: avís: implicit declaration of function 'libnet_destroy'
wlaninject.c:236: avís: implicit declaration of function 'libnet_init'
wlaninject.c:236: error: 'LIBNET_LINK' undeclared (first use in this function)
wlaninject.c: In function 'pingip_send':
wlaninject.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arp'
wlaninject.c:247: error: 'arp' undeclared (first use in this function)
wlaninject.c:247: error: 'eth' undeclared (first use in this function)
wlaninject.c:247: avís: l'operador del costat esquerre de l'expressió coma no té efecte
wlaninject.c:259: error: 'libnet' undeclared (first use in this function)
wlaninject.c:260: error: too many arguments to function 'libnet_build_arp'
wlaninject.c:262: avís: implicit declaration of function 'libnet_geterror'
wlaninject.c:262: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:271: error: too many arguments to function 'libnet_build_ethernet'
wlaninject.c:273: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:279: avís: implicit declaration of function 'libnet_write'
wlaninject.c:281: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c: In function 'main':
wlaninject.c:569: error: 'libnet' undeclared (first use in this function)
wlaninject.c:569: error: too few arguments to function 'libnet_get_hwaddr'
wlaninject.c:571: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:577: avís: implicit declaration of function 'libnet_get_ipaddr4'
wlaninject.c:577: avís: comparança entre signed i unsigned
wlaninject.c:579: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:602: avís: comparança entre signed i unsigned
wlaninject.c:610: avís: comparança entre signed i unsigned
make: *** [wlaninject.o] Error 1
Ya no se que hacer, y ya he hecho: sudo apt-get build-dep aircrack-ng; sudo apt-get install -y libnet0 libnet1 libnet1-dev libpcap0.7 libpcap0.7-dev libpcap0.8 y tengo instalado el ultimo libnet y el libpcap 0.8.1 ....
Alguna idea ???
GRACIAS !
Primero, felicidades por la web, es genial y se aprende un monton !
Os cuento, estaba yo con el wlainject, a ver si lo puedo instalar, y despues de instalar todas las librerias que me iba pidiendo y leer muuuuuuchos post, me he quedado encallado aqui:
sudo make
gcc -Os -I. -lnet -lpcap -W -Wall -MMD -c wlaninject.c
En el fitxer inclòs dès de wlaninject.c:39:
/usr/include/libnet.h:87:2: error: #error "byte order has not been specified, you'll need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the documentation regarding the libnet-config script."
wlaninject.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wlaninject.c: In function 'do_libnet_init':
wlaninject.c:226: error: 'libnet' undeclared (first use in this function)
wlaninject.c:226: error: (Each undeclared identifier is reported only once
wlaninject.c:226: error: for each function it appears in.)
wlaninject.c:228: avís: implicit declaration of function 'libnet_destroy'
wlaninject.c:236: avís: implicit declaration of function 'libnet_init'
wlaninject.c:236: error: 'LIBNET_LINK' undeclared (first use in this function)
wlaninject.c: In function 'pingip_send':
wlaninject.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arp'
wlaninject.c:247: error: 'arp' undeclared (first use in this function)
wlaninject.c:247: error: 'eth' undeclared (first use in this function)
wlaninject.c:247: avís: l'operador del costat esquerre de l'expressió coma no té efecte
wlaninject.c:259: error: 'libnet' undeclared (first use in this function)
wlaninject.c:260: error: too many arguments to function 'libnet_build_arp'
wlaninject.c:262: avís: implicit declaration of function 'libnet_geterror'
wlaninject.c:262: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:271: error: too many arguments to function 'libnet_build_ethernet'
wlaninject.c:273: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:279: avís: implicit declaration of function 'libnet_write'
wlaninject.c:281: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c: In function 'main':
wlaninject.c:569: error: 'libnet' undeclared (first use in this function)
wlaninject.c:569: error: too few arguments to function 'libnet_get_hwaddr'
wlaninject.c:571: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:577: avís: implicit declaration of function 'libnet_get_ipaddr4'
wlaninject.c:577: avís: comparança entre signed i unsigned
wlaninject.c:579: avís: format '%s' expects type 'char *', but argument 3 has type 'int'
wlaninject.c:602: avís: comparança entre signed i unsigned
wlaninject.c:610: avís: comparança entre signed i unsigned
make: *** [wlaninject.o] Error 1
Ya no se que hacer, y ya he hecho: sudo apt-get build-dep aircrack-ng; sudo apt-get install -y libnet0 libnet1 libnet1-dev libpcap0.7 libpcap0.7-dev libpcap0.8 y tengo instalado el ultimo libnet y el libpcap 0.8.1 ....
Alguna idea ???
GRACIAS !