Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mdk4/mdk4_4.2-3_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mdk4-4.2-39daq0dm4/mdk4_4.2-3_amd64.buildinfo Get source package info: mdk4=4.2-3 Source URL: http://snapshot.notset.fr/mr/package/mdk4/4.2-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.4-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.51 bash=5.1-3+b1 binutils=2.37-5 binutils-common=2.37-5 binutils-x86-64-linux-gnu=2.37-5 bsdextrautils=2.37.2-2 bsdutils=1:2.37.2-2 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.3.0-9 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.5.1 debianutils=5.4-3 dh-autoreconf=20 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.3.0-9 gcc=4:10.2.1-1 gcc-10=10.3.0-9 gcc-10-base=10.3.0-9 gcc-11-base=11.2.0-4 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-4 libatomic1=11.2.0-4 libattr1=1:2.5.1-1 libaudit-common=1:3.0.5-1 libaudit1=1:3.0.5-1 libbinutils=2.37-5 libblkid1=2.37.2-2 libbz2-1.0=1.0.8-4 libc-bin=2.32-2 libc-dev-bin=2.32-2 libc6=2.32-2 libc6-dev=2.32-2 libcap-ng0=0.7.9-2.2+b1 libcc1-0=11.2.0-4 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.25-2 libcrypt1=1:4.4.25-2 libctf-nobfd0=2.37-5 libctf0=2.37-5 libdb5.3=5.3.28+dfsg1-0.8 libdbus-1-3=1.12.20-2 libdbus-1-dev=1.12.20-2 libdebconfclient0=0.260 libdebhelper-perl=13.5.1 libdpkg-perl=1.20.9 libelf1=0.185-2 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.3.0-9 libgcc-s1=11.2.0-4 libgcrypt20=1.9.4-2 libgdbm-compat4=1.20-1 libgdbm6=1.20-1 libglib2.0-0=2.68.4-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=11.2.0-4 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.23-1 libitm1=11.2.0-4 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-4 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.37.2-2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnl-3-200=3.4.0-1+b1 libnl-3-dev=3.4.0-1+b1 libnl-genl-3-200=3.4.0-1+b1 libnl-genl-3-dev=3.4.0-1+b1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-10 libpam-modules-bin=1.4.0-10 libpam-runtime=1.4.0-10 libpam0g=1.4.0-10 libpcap-dev=1.10.1-4 libpcap0.8=1.10.1-4 libpcap0.8-dev=1.10.1-4 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-5 libpipeline1=1.5.3-1 libquadmath0=11.2.0-4 libseccomp2=2.5.2-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.37.2-2 libssl1.1=1.1.1l-1 libstdc++-10-dev=10.3.0-9 libstdc++6=11.2.0-4 libsub-override-perl=0.09-2 libsystemd0=247.9-1 libtinfo6=6.2+20201114-4 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-4 libubsan1=11.2.0-4 libuchardet0=0.0.7-1 libudev1=247.9-1 libunistring2=0.9.10-6 libuuid1=2.37.2-2 libxml2=2.9.12+dfsg-4 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-4 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-4 ncurses-bin=6.2+20201114-4 patch=2.7.6-7 perl=5.32.1-5 perl-base=5.32.1-5 perl-modules-5.32=5.32.1-5 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.37.2-2 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210922T025414Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210922T025414Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210920T144924Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210908T210625Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mdk4=4.2-3 && mkdir -p /build/mdk4-oUQobX && dpkg-source --no-check -x /*.dsc /build/mdk4-oUQobX/mdk4-4.2 && chown -R builduser:builduser /build/mdk4-oUQobX" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mdk4-oUQobX/mdk4-4.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1631401646" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mdk4-oUQobX /tmp/mdk4-4.2-39daq0dm4 bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20210908T210625Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.3t4bEv1gaY as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.3t4bEv1gaY Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210908T210625Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210908T210625Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (831 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4664 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.32-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210922T025414Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210922T025414Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210920T144924Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210908T210625Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.3t4bEv1gaY Get:1 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm InRelease [128 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210920T144924Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210908T210625Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main Sources [11.6 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main amd64 Packages [11.2 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210920T144924Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20210920T144924Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20210920T144924Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210920T144924Z unstable/main amd64 Packages [11.9 MB] Fetched 35.1 MB in 31s (1146 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.3t4bEv1gaY I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mdk4=4.2-3 && mkdir -p /build/mdk4-oUQobX && dpkg-source --no-check -x /*.dsc /build/mdk4-oUQobX/mdk4-4.2 && chown -R builduser:builduser /build/mdk4-oUQobX"' exec /tmp/mmdebstrap.3t4bEv1gaY Reading package lists... NOTICE: 'mdk4' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/pkg-security-team/mdk4.git Please use: git clone https://salsa.debian.org/pkg-security-team/mdk4.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 182 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main mdk4 4.2-3 (dsc) [1918 B] Get:2 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main mdk4 4.2-3 (tar) [176 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210922T025414Z bookworm/main mdk4 4.2-3 (diff) [4304 B] Fetched 182 kB in 0s (762 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mdk4_4.2-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mdk4 in /build/mdk4-oUQobX/mdk4-4.2 dpkg-source: info: unpacking mdk4_4.2.orig.tar.gz dpkg-source: info: unpacking mdk4_4.2-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying manpage_example.patch dpkg-source: info: applying makefile_osdep_parallel_build_fix.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mdk4-oUQobX/mdk4-4.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1631401646" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.3t4bEv1gaY dpkg-buildpackage: info: source package mdk4 dpkg-buildpackage: info: source version 4.2-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Samuel Henrique dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j10 distclean make[1]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src' rm -f mdk4 rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o rm -f ../test *.o make -C osdep clean make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make -C radiotap clean make[4]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep/radiotap' rm -f *.o make[4]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep/radiotap' rm -f libosdep.a *.o .os.* make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make -C attacks clean make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[2]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src' make[1]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src' rm -f mdk4 rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o rm -f ../test *.o make -C osdep clean make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make -C radiotap clean make[4]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep/radiotap' rm -f *.o make[4]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep/radiotap' rm -f libosdep.a *.o .os.* make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make -C attacks clean make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[2]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src' make -C src make[2]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src' make -C osdep gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o debug.o debug.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o helpers.o helpers.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mac_addr.o mac_addr.c make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linkedlist.o linkedlist.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o greylist.o greylist.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dumpfile.o dumpfile.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o packet.o packet.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o brute.o brute.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c Building for Linux make[4]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o channelhopper.o channelhopper.c packet.c: In function ‘create_ieee_hdr’: packet.c:13:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 13 | if (!fragment) seqno++; seqno %= 0x1000; | ^~ packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 13 | if (!fragment) seqno++; seqno %= 0x1000; | ^~~~~ gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ghosting.o ghosting.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fragmenting.o fragmenting.c make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o network.o network.c channelhopper.c:48:26: warning: initialization of ‘pthread_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 48 | pthread_t chan_sniffer = NULL; | ^~~~ channelhopper.c: In function ‘error_handler’: channelhopper.c:155:46: warning: unused parameter ‘nla’ [-Wunused-parameter] 155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, | ~~~~~~~~~~~~~~~~~~~~^~~ channelhopper.c: In function ‘finish_handler’: channelhopper.c:163:42: warning: unused parameter ‘msg’ [-Wunused-parameter] 163 | static int finish_handler(struct nl_msg *msg, void *arg) | ~~~~~~~~~~~~~~~^~~ channelhopper.c: In function ‘ack_handler’: channelhopper.c:170:39: warning: unused parameter ‘msg’ [-Wunused-parameter] 170 | static int ack_handler(struct nl_msg *msg, void *arg) | ~~~~~~~~~~~~~~~^~~ channelhopper.c: In function ‘valid_handler’: channelhopper.c:186:45: warning: unused parameter ‘arg’ [-Wunused-parameter] 186 | int valid_handler(struct nl_msg *msg, void *arg) | ~~~~~~^~~ channelhopper.c: In function ‘handle_channels’: channelhopper.c:328:50: warning: unused parameter ‘state’ [-Wunused-parameter] 328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ At top level: channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function] 240 | static char *dfs_state_name(enum nl80211_dfs_state state) | ^~~~~~~~~~~~~~ make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c In file included from /usr/include/string.h:519, from osdep.c:4: In function ‘strncpy’, inlined from ‘osdep_init_txpowers’ at osdep.c:179:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘osdep_init_txpowers’ at osdep.c:218:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from osdep.c:1: In function ‘printf’, inlined from ‘osdep_init_txpowers’ at osdep.c:165:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:110:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 110 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from osdep.c:4: In function ‘strncpy’, inlined from ‘osdep_random_txpower’ at osdep.c:265:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘osdep_random_txpower’ at osdep.c:282:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o file.o file.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c poc.c: In function ‘poc_parse’: poc.c:102:8: warning: assignment to ‘DIR *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ | ^ poc.c:102:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ | ^~~ poc.c:148:30: warning: implicit declaration of function ‘get_file_lines’ [-Wimplicit-function-declaration] 148 | file_lines = get_file_lines(file_name); | ^~~~~~~~~~~~~~ poc.c:160:38: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 160 | if(fgets(buf, sizeof(buf), fp1)) | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:866, from poc.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:260:25: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 260 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ poc.c:165:59: warning: implicit declaration of function ‘str_to_hex’ [-Wimplicit-function-declaration] 165 | poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data)); | ^~~~~~~~~~ poc.c: In function ‘get_target’: poc.c:199:14: warning: unused variable ‘recv_seq_ctrl’ [-Wunused-variable] 199 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ poc.c: In function ‘get_file_lines’: poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 481 | if(fp = fopen(filename, "r")) | ^~ poc.c:486:22: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 486 | if(fgets(buf, sizeof(buf), fp)) | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:866, from poc.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:260:25: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 260 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ poc.c: In function ‘str_to_hex’: poc.c:508:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 508 | return; | ^~~~~~ poc.c:500:5: note: declared here 500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len) | ^~~~~~~~~~ poc.c:510:19: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 510 | str_len = strlen(pascii)/4; | ^~~~~~ | | | unsigned char * In file included from poc.c:2: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ poc.c:518:9: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] 518 | s1 = toupper(h1) - 0x30; | ^~~~~~~ poc.c:526:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 526 | if(i < len) | ^ In file included from /usr/include/string.h:519, from poc.c:2: In function ‘strncpy’, inlined from ‘poc_parse’ at poc.c:146:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c: In function ‘get_target’: poc.c:224:9: warning: ‘dsflags’ may be used uninitialized in this function [-Wmaybe-uninitialized] 224 | switch (dsflags) { | ^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c linux.c: In function ‘is_ndiswrapper’: linux.c:183:17: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 183 | int n, pid, unused; | ^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c linux.c: In function ‘linux_set_rate’: linux.c:457:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 457 | int pid, status, unused; | ^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c linux.c: In function ‘linux_set_channel_nl80211’: linux.c:950:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 950 | int pid, status, unused; | ^~~~~~ linux.c: In function ‘linux_set_channel’: linux.c:1052:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 1052 | int pid, status, unused; | ^~~~~~ linux.c: In function ‘linux_set_freq’: linux.c:1143:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 1143 | int pid, status, unused; | ^~~~~~ linux.c: In function ‘set_monitor’: linux.c:1273:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 1273 | int pid, status, unused; | ^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c linux.c: In function ‘openraw’: linux.c:1513:63: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare] 1513 | if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO ) | ^~ linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning 1513 | if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO ) | ^~~~~~~~~~~~~~~~ | ( ) linux.c:1523:67: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare] 1523 | if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO ) | ^~ linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning 1523 | if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO ) | ^~~~~~~~~~~~~~~~ | ( ) linux.c: In function ‘do_linux_open’: linux.c:1620:12: warning: variable ‘unused_str’ set but not used [-Wunused-but-set-variable] 1620 | char * unused_str; | ^~~~~~~~~~ linux.c:1606:15: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 1606 | int kver, unused; | ^~~~~~ probing.c: In function ‘create_probe_req’: probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); | ^~~~~~~~~~~~ probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration] 237 | add_rate_sets(&probe, 1, 1); | ^~~~~~~~~~~~~ probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign] 240 | stpcpy(popt->proceed, ssid); | ^~~~ | | | unsigned char * In file included from probing.c:4: /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ linux.c: In function ‘get_battery_state’: linux.c:2273:35: warning: variable ‘current’ set but not used [-Wunused-but-set-variable] 2273 | int rate = 1, remain = 0, current = 0; | ^~~~~~~ At top level: linux.c:2057:13: warning: ‘linux_close’ defined but not used [-Wunused-function] 2057 | static void linux_close(struct wif *wi) | ^~~~~~~~~~~ linux.c:946:12: warning: ‘linux_set_channel_nl80211’ defined but not used [-Wunused-function] 946 | static int linux_set_channel_nl80211(struct wif *wi, int channel) | ^~~~~~~~~~~~~~~~~~~~~~~~~ linux.c:314:12: warning: ‘linux_nl80211_init’ defined but not used [-Wunused-function] 314 | static int linux_nl80211_init(struct nl80211_state *state) | ^~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c probing.c: In function ‘create_probe_req’: probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); | ^~~~~~~~~~~~ probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration] 237 | add_rate_sets(&probe, 1, 1); | ^~~~~~~~~~~~~ probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign] 240 | stpcpy(popt->proceed, ssid); | ^~~~ | | | unsigned char * In file included from probing.c:4: /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap.o radiotap/radiotap.c gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c probing.c: In function ‘create_probe_req’: probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); | ^~~~~~~~~~~~ probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration] 237 | add_rate_sets(&probe, 1, 1); | ^~~~~~~~~~~~~ probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign] 240 | stpcpy(popt->proceed, ssid); | ^~~~ | | | unsigned char * In file included from probing.c:4: /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ probing.c: In function ‘create_probe_req’: probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); | ^~~~~~~~~~~~ probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration] 237 | add_rate_sets(&probe, 1, 1); | ^~~~~~~~~~~~~ probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign] 240 | stpcpy(popt->proceed, ssid); | ^~~~ | | | unsigned char * In file included from probing.c:4: /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/string.h:519, from linux_tap.c:33: In function ‘strncpy’, inlined from ‘ti_do_open_linux’ at linux_tap.c:72:5, inlined from ‘ti_open_linux’ at linux_tap.c:192:7, inlined from ‘ti_open’ at linux_tap.c:207:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' In file included from /usr/include/string.h:519, from linux.c:36: In function ‘strncpy’, inlined from ‘do_linux_open.constprop’ at linux.c:1906:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function ‘do_linux_open.constprop’: linux.c:1906:9: note: length computed here 1906 | strncpy(dev->main_if, iface, strlen(iface)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from linux.c:36: In function ‘strncpy’, inlined from ‘do_linux_open.constprop’ at linux.c:1911:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function ‘do_linux_open.constprop’: linux.c:1911:9: note: length computed here 1911 | strncpy(iface, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c:1937:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=] 1937 | "/sys/class/net/%s/device/rtap_iface", this_iface->d_name); | ^~ In file included from /usr/include/stdio.h:866, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c: In function ‘get_battery_state’: linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull] 2310 | closedir(batteries); | ^~~~~~~~~~~~~~~~~~~ In file included from linux.c:40: /usr/include/dirent.h:149:12: note: in a call to function ‘closedir’ declared here 149 | extern int closedir (DIR *__dirp) __nonnull ((1)); | ^~~~~~~~ linux.c:2318:78: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] 2318 | snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name); | ^~ In file included from /usr/include/stdio.h:866, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c:2330:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] 2330 | "/proc/acpi/battery/%s/state", this_battery->d_name); | ^~ In file included from /usr/include/stdio.h:866, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linux.c:2289:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=] 2289 | "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name); | ^~ In file included from /usr/include/stdio.h:866, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libosdep.a touch .os.Linux make[4]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/osdep' make -C attacks make[3]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src/attacks' gcc -g -O2 -ffile-prefix-map=/build/mdk4-oUQobX/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 mdk4.c osdep/libosdep.a debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o attacks/attacks.o attacks/auth_dos.o attacks/beacon_flood.o attacks/countermeasures.o attacks/deauth.o attacks/dummy.o attacks/eapol.o attacks/fuzzer.o attacks/ieee80211s.o attacks/poc.o attacks/probing.o attacks/wids.o -o mdk4 -lnl-genl-3 -lnl-3 -lm -Losdep -losdep -lpthread -lpcap -Wl,-z,relro -Wl,-z,now mdk4.c: In function ‘main’: mdk4.c:164:3: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 164 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2/src' make[1]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2' dh: command-omitted: The call to "dh_auto_test -a" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/mdk4-oUQobX/mdk4-4.2' # override this: it installs in /usr/local make[1]: Leaving directory '/build/mdk4-oUQobX/mdk4-4.2' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'mdk4-dbgsym' in '../mdk4-dbgsym_4.2-3_amd64.deb'. dpkg-deb: building package 'mdk4' in '../mdk4_4.2-3_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../mdk4_4.2-3_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mdk4-oUQobX /tmp/mdk4-4.2-39daq0dm4 I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.3t4bEv1gaY... I: success in 2193.3892 seconds md5: mdk4-dbgsym_4.2-3_amd64.deb: OK md5: mdk4_4.2-3_amd64.deb: OK sha1: mdk4-dbgsym_4.2-3_amd64.deb: OK sha1: mdk4_4.2-3_amd64.deb: OK sha256: mdk4-dbgsym_4.2-3_amd64.deb: OK sha256: mdk4_4.2-3_amd64.deb: OK Checksums: OK