Hola a todos. Estoy intentando instalar esta repo:
https://github.com/m13253/reaver-wps-macchangerEstoy usando Parrot 4.11.3 (basado en Debian), y ya he instalado las librerias necesarias:
sudo apt-get install libpcap-dev sqlite3 libsqlite3-dev libpcap0.8-dev
Después extraigo el contenido del paquete, entro en "reaver-1.4-mac-changer/src/", ejecuto "./configure" y se crea el makefile correctamente pero cuando ejecuto "make" me salta un error que no he sido capaz de solucionar después de horas buscando por internet
A continuación dejo lo que me devuelve el comando "make":
┌─[user@parrot]─[~/Desktop/reaver-wps-macchanger-master/src]
└──╼ $make
(cd utils && make)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/utils'
(cd tls && make)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/tls'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/tls'
(cd crypto && make)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/crypto'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/crypto'
(cd wps && make)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/wps'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/wps'
(cd lwe && make BUILD_STATIC=y libiw.a)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/lwe'
make[1]: 'libiw.a' is up to date.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/lwe'
(cd libwps && make)
make[1]: Entering directory '/home/user/Desktop/reaver-wps-macchanger-master/src/libwps'
make[1]: 'libwps.o' is up to date.
make[1]: Leaving directory '/home/user/Desktop/reaver-wps-macchanger-master/src/libwps'
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps wpsmon.c *.o libwps/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a -ldl -lm -lpcap -lsqlite3 -o wash
/usr/bin/ld: 80211.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: argsparser.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: builder.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: globule.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: iface.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: init.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: misc.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: sql.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: wps/wps_registrar.o:(.bss+0x0): multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: crypto/dh_groups.o:/home/user/Desktop/reaver-wps-macchanger-master/src/crypto/../globule.h:143: multiple definition of `globule'; /tmp/cc5CH4qO.o:/home/user/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: wash] Error 1
Según veo en la última línea parece ser que hay un problema con wash, pero no sé como solucionarlo. He revisado la línea 13 del archivo Makefile y no soy capaz de ver cual es el problema:
$(CC) $(CFLAGS) $(INC) wpsmon.c *.o $(LDFLAGS) -o wash
También he probado a compilar e instalar esta repo en una instalación limpia de Debian 11 y me sigue saliendo el mismo error:
debian@debian:~/Desktop/reaver-wps-macchanger-master/src$ make
(cd utils && make)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/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]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/utils'
(cd tls && make)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/tls'
CC asn1.c
In file included from bignum.c:21:
libtommath.c: In function ‘mp_exptmod’:
libtommath.c:580:7: warning: variable ‘dr’ set but not used [-Wunused-but-set-variable]
580 | int dr;
| ^~
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
tlsv1_server_read.c: In function ‘tls_process_client_key_exchange_rsa’:
tlsv1_server_read.c:474:6: warning: variable ‘encr_len’ set but not used [-Wunused-but-set-variable]
474 | u16 encr_len;
| ^~~~~~~~
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]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/tls'
(cd crypto && make)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/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
In file included from ../utils/common.h:18,
from md5-internal.c:17:
md5-internal.c: In function ‘MD5Final’:
md5-internal.c:191:29: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
191 | os_memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
| ^
../utils/os.h:413:41: note: in definition of macro ‘os_memset’
413 | #define os_memset(s, c, n) memset(s, c, n)
| ^
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]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/crypto'
(cd wps && make)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/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]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/wps'
(cd lwe && make BUILD_STATIC=y libiw.a)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/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
In file included from iwlib.c:14:
iwlib.c: In function ‘print_iface_version_info’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:387:6: note: called from here
387 | if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:396:6: note: called from here
396 | if(iw_get_ext(skfd, ifname, SIOCGIWRANGE, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_get_range_info’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:483:6: note: called from here
483 | if(iw_get_ext(skfd, ifname, SIOCGIWRANGE, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_get_priv_info’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:623:10: note: called from here
623 | if(iw_get_ext(skfd, ifname, SIOCGIWPRIV, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_set_basic_config’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:748:6: note: called from here
748 | if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:761:10: note: called from here
761 | if(iw_get_ext(skfd, ifname, SIOCSIWMODE, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:773:10: note: called from here
773 | if(iw_set_ext(skfd, ifname, SIOCSIWFREQ, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:793:7: note: called from here
793 | if(iw_set_ext(skfd, ifname, SIOCSIWENCODE, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:813:10: note: called from here
813 | if(iw_set_ext(skfd, ifname, SIOCSIWENCODE, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:827:10: note: called from here
827 | if(iw_set_ext(skfd, ifname, SIOCSIWNWID, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:850:10: note: called from here
850 | if(iw_set_ext(skfd, ifname, SIOCSIWESSID, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_get_basic_config’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:673:6: note: called from here
673 | if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:683:6: note: called from here
683 | if(iw_get_ext(skfd, ifname, SIOCGIWNWID, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:690:6: note: called from here
690 | if(iw_get_ext(skfd, ifname, SIOCGIWFREQ, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:701:6: note: called from here
701 | if(iw_get_ext(skfd, ifname, SIOCGIWENCODE, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:712:6: note: called from here
712 | if(iw_get_ext(skfd, ifname, SIOCGIWESSID, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:719:6: note: called from here
719 | if(iw_get_ext(skfd, ifname, SIOCGIWMODE, &wrq) >= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_get_stats’:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:1276:10: note: called from here
1276 | if(iw_get_ext(skfd, ifname, SIOCGIWSTATS, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.c: In function ‘iw_process_scan’:
iwlib.h:506:1: warning: inlining failed in call to ‘iw_set_ext’: call is unlikely and code size would grow [-Winline]
506 | iw_set_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:3058:11: note: called from here
3058 | if((iw_set_ext(skfd, ifname, SIOCSIWSCAN, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iwlib.c:14:
iwlib.h:522:1: warning: inlining failed in call to ‘iw_get_ext’: call is unlikely and code size would grow [-Winline]
522 | iw_get_ext(int skfd, /* Socket to the kernel */
| ^~~~~~~~~~
iwlib.c:3082:6: note: called from here
3082 | if(iw_get_ext(skfd, ifname, SIOCGIWSCAN, &wrq) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f libiw.a
ar cru libiw.a iwlib.so
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libiw.a
make[1]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/lwe'
(cd libwps && make)
make[1]: Entering directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/libwps'
gcc -Wall libwps.c -c
libwps.c: In function ‘parse_wps_parameters’:
libwps.c:29:9: warning: variable ‘data_len’ set but not used [-Wunused-but-set-variable]
29 | size_t data_len = 0, offset = 0;
| ^~~~~~~~
make[1]: Leaving directory '/home/debian/Desktop/reaver-wps-macchanger-master/src/libwps'
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 globule.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps argsparser.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 init.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 misc.c -c
misc.c: In function ‘mac2str’:
misc.c:58:4: warning: ‘strncat’ output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation]
58 | strncat((char *) str, (char *) &buf, str_mult);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps sql.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 builder.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 crc.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps 80211.c -c
80211.c: In function ‘read_ap_beacon’:
80211.c:76:9: warning: variable ‘tag_offset’ set but not used [-Wunused-but-set-variable]
76 | size_t tag_offset = 0;
| ^~~~~~~~~~
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 iface.c -c
In file included from wps.h:40,
from defs.h:45,
from iface.h:42,
from iface.c:34:
utils/common.h:420: warning: "__bitwise" redefined
420 | #define __bitwise
|
In file included from /usr/include/linux/if_ether.h:25,
from /usr/include/net/ethernet.h:27,
from lwe/iwlib.h:31,
from iface.h:40,
from iface.c:34:
/usr/include/linux/types.h:22: note: this is the location of the previous definition
22 | #define __bitwise __bitwise__
|
iface.c: In function ‘read_iface_mac’:
iface.c:54:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
54 | strncpy(ifr.ifr_name, get_iface(), IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from iface.h:40,
from iface.c:34:
In function ‘iw_set_ext’,
inlined from ‘change_channel’ at iface.c:138:20:
lwe/iwlib.h:512:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
512 | strncpy(pwrq->ifr_name, ifname, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DCONF_DIR='"/usr/local/etc/reaver"' -DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps wpsmon.c *.o libwps/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a -ldl -lm -lpcap -lsqlite3 -o wash
/usr/bin/ld: 80211.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: argsparser.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: builder.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: globule.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: iface.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: init.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: misc.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: sql.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: wps/wps_registrar.o:(.bss+0x0): multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
/usr/bin/ld: crypto/dh_groups.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/crypto/../globule.h:143: multiple definition of `globule'; /tmp/ccHFUS0w.o:/home/debian/Desktop/reaver-wps-macchanger-master/src/globule.h:143: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: wash] Error 1
Si alguien pudiese ayudarme se lo agradecería mucho.
Saludos.