==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done ==> Making package: mdk3 6-1 (Sat Jul 31 07:24:40 2021) ==> Retrieving sources... -> Found mdk3-v6.tar.bz2 ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... mdk3-v6.tar.bz2 ... Passed ==> Making package: mdk3 6-1 (Sat 31 Jul 2021 07:24:47 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found mdk3-v6.tar.bz2 ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting mdk3-v6.tar.bz2 with bsdtar ==> Starting prepare()... ==> Starting build()... make: Entering directory '/build/mdk3/src/mdk3-v6/osdep' Building for Linux make[1]: Entering directory '/build/mdk3/src/mdk3-v6/osdep' gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o common.o common.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o network.o network.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c ar cru libosdep.a osdep.o common.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libosdep.a touch .os.Linux make[1]: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' make: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' make -C osdep make[1]: Entering directory '/build/mdk3/src/mdk3-v6/osdep' Building for Linux make[2]: Entering directory '/build/mdk3/src/mdk3-v6/osdep' make[2]: '.os.Linux' is up to date. make[2]: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' make[1]: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -pthread mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep mdk3.c: In function ‘read_line_from_file’: mdk3.c:755:40: warning: passing argument 2 of ‘getline’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 755 | bytes_read = getline(&ssid_string, &size, ssid_file_fp); | ^~~~~ | | | unsigned int * In file included from /usr/include/stdio.h:863, from mdk3.c:28: /usr/include/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘unsigned int *’ 118 | getline (char **__lineptr, size_t *__n, FILE *__stream) | ~~~~~~~~^~~ mdk3.c:760:44: warning: passing argument 2 of ‘getline’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 760 | bytes_read = getline(&ssid_string, &size, ssid_file_fp); | ^~~~~ | | | unsigned int * In file included from /usr/include/stdio.h:863, from mdk3.c:28: /usr/include/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘unsigned int *’ 118 | getline (char **__lineptr, size_t *__n, FILE *__stream) | ~~~~~~~~^~~ mdk3.c: In function ‘bruteforce_ssid’: mdk3.c:809:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 809 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:828:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 828 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:847:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 847 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:866:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 866 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:888:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 888 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:913:39: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 913 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c: In function ‘ssid_brute_sniffer’: mdk3.c:1512:9: warning: variable ‘len’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1512 | int len=0; | ^~~ mdk3.c: In function ‘mac_bruteforce_sniffer’: mdk3.c:1926:9: warning: variable ‘plen’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1926 | int plen = 0; | ^~~~ mdk3.c: In function ‘eapol_machine’: mdk3.c:2560:17: warning: variable ‘len’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2560 | int co, flag, len; | ^~~ mdk3.c: In function ‘check_probe’: mdk3.c:3153:9: warning: variable ‘len’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 3153 | int len = 0; | ^~~ mdk3.c: In function ‘mdk_parser’: mdk3.c:3431:30: warning: logical not is only applied to the left hand side of comparison []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlogical-not-parentheses-Wlogical-not-parentheses]8;;] 3431 | if (! argc > t+1) { printf(use_auth); return -1; } | ^ mdk3.c:3431:23: note: add parentheses around left hand side expression to silence this warning 3431 | if (! argc > t+1) { printf(use_auth); return -1; } | ^~~~~~ | ( ) mdk3.c:3436:30: warning: logical not is only applied to the left hand side of comparison []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlogical-not-parentheses-Wlogical-not-parentheses]8;;] 3436 | if (! argc > t+1) { printf(use_auth); return -1; } | ^ mdk3.c:3436:23: note: add parentheses around left hand side expression to silence this warning 3436 | if (! argc > t+1) { printf(use_auth); return -1; } | ^~~~~~ | ( ) mdk3.c:3494:28: warning: logical not is only applied to the left hand side of comparison []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlogical-not-parentheses-Wlogical-not-parentheses]8;;] 3494 | if (! argc > t+1) { printf(use_prob); return -1; } | ^ mdk3.c:3494:21: note: add parentheses around left hand side expression to silence this warning 3494 | if (! argc > t+1) { printf(use_prob); return -1; } | ^~~~~~ | ( ) mdk3.c:3746:38: warning: this statement may fall through []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough=-Wimplicit-fallthrough=]8;;] 3746 | if ((nb_sent % 512 == 0) || (total_time % 30 == 0)) // After 512 packets or 30 seconds, search for new target | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mdk3.c:3751:9: note: here 3751 | case 'A': // Auth DoS mode with target MAC given | ^~~~ ==> Entering fakeroot environment... ==> Starting package()... make -C osdep install make[1]: Entering directory '/build/mdk3/src/mdk3-v6/osdep' Building for Linux make[2]: Entering directory '/build/mdk3/src/mdk3-v6/osdep' make[2]: '.os.Linux' is up to date. make[2]: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' make[1]: Leaving directory '/build/mdk3/src/mdk3-v6/osdep' install -D -m 0755 mdk3 /build/mdk3/pkg/mdk3//usr/bin/mdk3 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "mdk3"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: mdk3 6-1 (Sat 31 Jul 2021 07:24:57 AM EDT) ==> Cleaning up...