El quid de la cuestión es, que hoy he decidido instalar Reaver 1.4 en Ubuntu 10.04 LTS para hacer algunas pruebas y me ha dado unos cuantos fallos, el primero ha sido el de la librería libpcap que ya ha sido solucionado, pero el siguiente es el que no consigo solucionar, al hacer ./configure todo bien hasta que hago make y me da un error al final que pone make: *** [libwps.o] Error 2, he intentado arreglarlo pero no se como...
Aqui dejo el log de la consola:
Código:
root@Soasada:/home/user/reaver-1.4/src# ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for pcap_open_live in -lpcap... yes
checking for sqlite3_open in -lsqlite3... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
configure: creating ./config.status
config.status: creating Makefile
root@Soasada:/home/user/reaver-1.4/src# make
(cd utils && make)
make[1]: se ingresa al directorio «/home/user/reaver-1.4/src/utils»
CC base64.c
CC common.c
CC ip_addr.c
CC radiotap.c
CC trace.c
CC uuid.c
CC wpa_debug.c
CC wpabuf.c
CC os_unix.c
CC eloop.c
ar crT libutils.a base64.o common.o ip_addr.o radiotap.o trace.o uuid.o wpa_debug.o wpabuf.o os_unix.o eloop.o
make[1]: se sale del directorio «/home/user/reaver-1.4/src/utils»
(cd tls && make)
make[1]: se ingresa al directorio «/home/user/reaver-1.4/src/tls»
CC asn1.c
CC bignum.c
CC pkcs1.c
CC pkcs5.c
CC pkcs8.c
CC rsa.c
CC tlsv1_client.c
CC tlsv1_client_read.c
CC tlsv1_client_write.c
CC tlsv1_common.c
CC tlsv1_cred.c
CC tlsv1_record.c
CC tlsv1_server.c
CC tlsv1_server_read.c
CC tlsv1_server_write.c
CC x509v3.c
ar crT libtls.a asn1.o bignum.o pkcs1.o pkcs5.o pkcs8.o rsa.o tlsv1_client.o tlsv1_client_read.o tlsv1_client_write.o tlsv1_common.o tlsv1_cred.o tlsv1_record.o tlsv1_server.o tlsv1_server_read.o tlsv1_server_write.o x509v3.o
make[1]: se sale del directorio «/home/user/reaver-1.4/src/tls»
(cd crypto && make)
make[1]: se ingresa al directorio «/home/user/reaver-1.4/src/crypto»
CC aes-cbc.c
CC aes-ctr.c
CC aes-eax.c
CC aes-encblock.c
CC aes-internal.c
CC aes-internal-dec.c
CC aes-internal-enc.c
CC aes-omac1.c
CC aes-unwrap.c
CC aes-wrap.c
CC des-internal.c
CC dh_group5.c
CC dh_groups.c
CC md4-internal.c
CC md5.c
CC md5-internal.c
CC md5-non-fips.c
CC milenage.c
CC ms_funcs.c
CC rc4.c
CC sha1.c
CC sha1-internal.c
CC sha1-pbkdf2.c
CC sha1-tlsprf.c
CC sha1-tprf.c
CC sha256.c
CC sha256-internal.c
CC crypto_internal.c
CC crypto_internal-cipher.c
CC crypto_internal-modexp.c
CC crypto_internal-rsa.c
CC tls_internal.c
CC fips_prf_internal.c
ar crT libcrypto.a aes-cbc.o aes-ctr.o aes-eax.o aes-encblock.o aes-internal.o aes-internal-dec.o aes-internal-enc.o aes-omac1.o aes-unwrap.o aes-wrap.o des-internal.o dh_group5.o dh_groups.o md4-internal.o md5.o md5-internal.o md5-non-fips.o milenage.o ms_funcs.o rc4.o sha1.o sha1-internal.o sha1-pbkdf2.o sha1-tlsprf.o sha1-tprf.o sha256.o sha256-internal.o crypto_internal.o crypto_internal-cipher.o crypto_internal-modexp.o crypto_internal-rsa.o tls_internal.o fips_prf_internal.o
make[1]: se sale del directorio «/home/user/reaver-1.4/src/crypto»
(cd wps && make)
make[1]: se ingresa al directorio «/home/user/reaver-1.4/src/wps»
gcc -I../utils -I ../ wps_attr_build.c -c
gcc -I../utils -I ../ wps_attr_parse.c -c
gcc -I../utils -I ../ wps_attr_process.c -c
gcc -I../utils -I ../ wps.c -c
gcc -I../utils -I ../ wps_common.c -c
gcc -I../utils -I ../ wps_dev_attr.c -c
gcc -I../utils -I ../ wps_enrollee.c -c
gcc -I../utils -I ../ wps_registrar.c -c
gcc -I../utils -I ../ wps_ufd.c -c
make[1]: se sale del directorio «/home/user/reaver-1.4/src/wps»
(cd lwe && make BUILD_STATIC=y libiw.a)
make[1]: se ingresa al directorio «/home/user/reaver-1.4/src/lwe»
cp wireless.21.h wireless.h
gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -fPIC -c -o iwlib.so iwlib.c
iwlib.c: In function ‘iw_enum_devices’:
iwlib.c:254: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:255: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c: In function ‘iw_get_kernel_we_version’:
iwlib.c:337: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:353: 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
make[1]: se sale del directorio «/home/user/reaver-1.4/src/lwe»
(cd libwps && make)
cd: 1: can't cd to libwps
make: *** [libwps.o] Error 2
root@Soasada:/home/user/reaver-1.4/src# sudo make install
rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
if [ ! -e /usr/local/etc/reaver/reaver.db ]; then cp reaver.db /usr/local/etc/reaver/reaver.db && chmod -R a+rw /usr/local/etc/reaver; fi
if [ -e wash ]; then cp wash /usr/local/bin/wash; fi
if [ -e reaver ]; then cp reaver /usr/local/bin/reaver; fi
root@Soasada:/home/user/reaver-1.4/src#
Espero que puedan ayudarme, gracias de antemano.