elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Introducción a la Factorización De Semiprimos (RSA)


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Hacking Wireless
| | |-+  Wireless en Linux
| | | |-+  Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 Ir Abajo Respuesta Imprimir
Autor Tema: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!  (Leído 108,184 veces)
HierroHierro

Desconectado Desconectado

Mensajes: 20


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #150 en: 11 Abril 2009, 21:11 pm »

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 !


Tengo el mismo problema que el... alguien tiene alguna solución??
En línea

*dudux
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.388


.....traficando con sueños.....


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #151 en: 11 Abril 2009, 22:24 pm »

ubuntu o debian?

reinstala libnet y libnet-dev a ver
En línea

HierroHierro

Desconectado Desconectado

Mensajes: 20


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #152 en: 12 Abril 2009, 00:48 am »

ubuntu o debian?

reinstala libnet y libnet-dev a ver
Uso el BT4, ya que es el único que me reconoce la tarjeta interna del PC, y así puedo usar la interna y una USB para el wlaninject...
En línea

*dudux
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.388


.....traficando con sueños.....


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #153 en: 12 Abril 2009, 01:16 am »

bt4 es ubuntudebian asi que no deberias de tener problemas

pega exactamente error
En línea

HierroHierro

Desconectado Desconectado

Mensajes: 20


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #154 en: 12 Abril 2009, 01:37 am »

bt4 es ubuntudebian asi que no deberias de tener problemas

pega exactamente error

Es el mismo que la cita anterior:

make: *** [wlaninject.o] Error 1


El código completo es:
make
gcc -Os -I. -lnet -lpcap -lpcre -W -Wall  -MMD    -fPIC -c -o iwlib.so iwlib.c
iwlib.c: In function ‘iw_enum_devices’:
iwlib.c:217: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:218: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c: In function ‘iw_get_kernel_we_version’:
iwlib.c:300: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:316: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
rm -f libiw.a
ar cru libiw.a iwlib.so
ranlib libiw.a
gcc -Os -I. -lnet -lpcap -lpcre -W -Wall  -MMD    -c wlaninject.c
wlaninject.c:42:18: warning: pcre.h: No such file or directory
wlaninject.c:425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wlaninject.c:450: error: expected declaration specifiers or ‘...’ before ‘pcre’
wlaninject.c: In function ‘checkpackets’:
wlaninject.c:475: warning: implicit declaration of function ‘getline’
wlaninject.c:479: warning: implicit declaration of function ‘pcre_exec’
wlaninject.c:480: error: ‘re’ undeclared (first use in this function)
wlaninject.c:480: error: (Each undeclared identifier is reported only once
wlaninject.c:480: error: for each function it appears in.)
wlaninject.c:494: warning: implicit declaration of function ‘pcre_get_substring’
wlaninject.c:496: warning: implicit declaration of function ‘pcre_free_substring’
wlaninject.c: In function ‘main’:
wlaninject.c:865: error: ‘pcre’ undeclared (first use in this function)
wlaninject.c:865: error: ‘re’ undeclared (first use in this function)
wlaninject.c:934: warning: comparison between signed and unsigned
wlaninject.c:962: warning: comparison between signed and unsigned
wlaninject.c:970: warning: comparison between signed and unsigned
wlaninject.c:999: warning: implicit declaration of function ‘buildregexp’
wlaninject.c:1002: error: too many arguments to function ‘checkpackets’
wlaninject.c:1080: error: too many arguments to function ‘checkpackets’
wlaninject.c:864: warning: unused variable ‘fnetdev’
make: *** [wlaninject.o] Error 1
« Última modificación: 12 Abril 2009, 01:44 am por HierroHierro » En línea

*dudux
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.388


.....traficando con sueños.....


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #155 en: 12 Abril 2009, 10:06 am »

los signos esos no dan buen rollo  :P

reinstala libnet y libpcap con apt o a mano
y recompila usando antes make clean && make && make install
En línea

HierroHierro

Desconectado Desconectado

Mensajes: 20


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #156 en: 12 Abril 2009, 22:45 pm »

los signos esos no dan buen rollo  :P

reinstala libnet y libpcap con apt o a mano
y recompila usando antes make clean && make && make install

Pues no podré instalarlo... porque me dice que mi sistema es incompatible con el libpcap...
En línea

*dudux
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.388


.....traficando con sueños.....


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #157 en: 12 Abril 2009, 23:41 pm »

los signos esos no dan buen rollo  :P

reinstala libnet y libpcap con apt o a mano
y recompila usando antes make clean && make && make install

Pues no podré instalarlo... porque me dice que mi sistema es incompatible con el libpcap...

como no va a llevar libpcap una distro como BACKTQRACK de auditorias?¿
En línea

HierroHierro

Desconectado Desconectado

Mensajes: 20


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #158 en: 13 Abril 2009, 17:09 pm »

los signos esos no dan buen rollo  :P

reinstala libnet y libpcap con apt o a mano
y recompila usando antes make clean && make && make install

Pues no podré instalarlo... porque me dice que mi sistema es incompatible con el libpcap...

como no va a llevar libpcap una distro como BACKTQRACK de auditorias?¿
Pues cuando intento reinstalarla al hacer el configure me dice que mi sistema no es compatible con libpcap
En línea

fuenteRea


Desconectado Desconectado

Mensajes: 2.709


Volver a ser un niño


Ver Perfil
Re: Wlaninject 0.6 - Ahora con cafeina, mucho más rapido!!
« Respuesta #159 en: 13 Abril 2009, 22:33 pm »

no te gusta wifiway 1.0 final??, ya lo tiene, un saludo!!
En línea

Una rosa es una rosa...
Páginas: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 Ir Arriba Respuesta Imprimir 

Ir a:  

WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines