Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mdk4/mdk4_4.1+git20200420-2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mdk4-4.1+git20200420-2orfz4cxl/mdk4_4.1+git20200420-2_amd64.buildinfo Get source package info: mdk4=4.1+git20200420-2 Source URL: http://snapshot.notset.fr/mr/package/mdk4/4.1+git20200420-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34.90.20200706-1 binutils-common=2.34.90.20200706-1 binutils-x86-64-linux-gnu=2.34.90.20200706-1 bsdextrautils=2.36-1 bsdutils=1:2.35.2-9 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.1.0-6 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.1.0-6 gcc=4:10.1.0-1 gcc-10=10.1.0-6 gcc-10-base=10.1.0-6 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.1.0-6 libatomic1=10.1.0-6 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34.90.20200706-1 libblkid1=2.35.2-9 libbz2-1.0=1.0.8-4 libc-bin=2.31-1 libc-dev-bin=2.31-1 libc6=2.31-1 libc6-dev=2.31-1 libcap-ng0=0.7.9-2.2 libcc1-0=10.1.0-6 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34.90.20200706-1 libctf0=2.34.90.20200706-1 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.176-1.1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.1.0-6 libgcc-s1=10.1.0-6 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.1.0-6 libgpg-error0=1.38-2 libicu67=67.1-3 libisl22=0.22.1-1 libitm1=10.1.0-6 liblsan0=10.1.0-6 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.35.2-9 libmpc3=1.1.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 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcap-dev=1.9.1-4 libpcap0.8=1.9.1-4 libpcap0.8-dev=1.9.1-4 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libquadmath0=10.1.0-6 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.35.2-9 libstdc++-10-dev=10.1.0-6 libstdc++6=10.1.0-6 libsub-override-perl=0.09-2 libsystemd0=245.6-3 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.1.0-6 libubsan1=10.1.0-6 libuchardet0=0.0.7-1 libudev1=245.6-3 libunistring2=0.9.10-4 libuuid1=2.35.2-9 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 pkg-config=0.29.2-1 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.35.2-9 xz-utils=5.2.4-1+b1 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/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ 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.1+git20200420-2 && mkdir -p /build/mdk4-rtXJO9 && dpkg-source --no-check -x /*.dsc /build/mdk4-rtXJO9/mdk4-4.1+git20200420 && chown -R builduser:builduser /build/mdk4-rtXJO9" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mdk4-rtXJO9/mdk4-4.1+git20200420 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595676956" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mdk4-rtXJO9 /tmp/mdk4-4.1+git20200420-2orfz4cxl bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.LdVgLzF9F3 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.LdVgLzF9F3 Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-9). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1086 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 ... 4579 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-1) ... 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/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.LdVgLzF9F3 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages [11.3 MB] Fetched 34.0 MB in 29s (1172 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.LdVgLzF9F3 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mdk4=4.1+git20200420-2 && mkdir -p /build/mdk4-rtXJO9 && dpkg-source --no-check -x /*.dsc /build/mdk4-rtXJO9/mdk4-4.1+git20200420 && chown -R builduser:builduser /build/mdk4-rtXJO9"' exec /tmp/mmdebstrap.LdVgLzF9F3 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 234 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mdk4 4.1+git20200420-2 (dsc) [2002 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mdk4 4.1+git20200420-2 (tar) [227 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mdk4 4.1+git20200420-2 (diff) [4240 B] Fetched 234 kB in 0s (847 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mdk4_4.1+git20200420-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mdk4 in /build/mdk4-rtXJO9/mdk4-4.1+git20200420 dpkg-source: info: unpacking mdk4_4.1+git20200420.orig.tar.xz dpkg-source: info: unpacking mdk4_4.1+git20200420-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying gcc10_ftbfs.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mdk4-rtXJO9/mdk4-4.1+git20200420 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595676956" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.LdVgLzF9F3 dpkg-buildpackage: info: source package mdk4 dpkg-buildpackage: info: source version 4.1+git20200420-2 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 -j4 distclean make[1]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' make -C src clean make[2]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/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-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C radiotap clean make[4]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep/radiotap' rm -f *.o make[4]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep/radiotap' rm -f libosdep.a *.o .os.* make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C attacks clean make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o probing.o wids.o *.o make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[2]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' make[1]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' 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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' make -C src clean make[2]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/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-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C radiotap clean make[4]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep/radiotap' rm -f *.o make[4]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep/radiotap' rm -f libosdep.a *.o .os.* make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C attacks clean make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o probing.o wids.o *.o make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[2]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' make -C src make[2]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' make -C osdep make -C osdep make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 Building for Linux Building for Linux make[4]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make[4]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o network.o network.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o network.o network.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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o file.o file.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.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; | ^~~~~~ 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; | ^~~~~~ 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; | ^~~~~~ 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; | ^~~~~~ 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:1048:12: warning: ‘linux_set_channel’ defined but not used [-Wunused-function] 1048 | static int linux_set_channel(struct wif *wi, int channel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, 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:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o file.o file.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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; | ^~~~~~ 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; | ^~~~~~ 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; | ^~~~~~ 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; | ^~~~~~ 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:1048:12: warning: ‘linux_set_channel’ defined but not used [-Wunused-function] 1048 | static int linux_set_channel(struct wif *wi, int channel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from osdep.c:4: In function ‘strncpy’, inlined from ‘osdep_init_txpowers’ at osdep.c:180:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘osdep_init_txpowers’ at osdep.c:219:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from osdep.c:1: In function ‘printf’, inlined from ‘osdep_init_txpowers’ at osdep.c:166:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:107:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from osdep.c:4: In function ‘strncpy’, inlined from ‘osdep_random_txpower’ at osdep.c:266:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘osdep_random_txpower’ at osdep.c:283:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 In file included from /usr/include/string.h:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | 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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | 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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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-rtXJO9/mdk4-4.1+git20200420/src/attacks' cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | 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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | 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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-rtXJO9/mdk4-4.1+git20200420/src/osdep' make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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:867, from linux.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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') cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 ranlib libosdep.a touch .os.Linux make[4]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/osdep' make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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:452:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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:452:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 452 | 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:452:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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:452:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 cc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src/attacks' gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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/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:171:3: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 171 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' make[1]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' dh_auto_test -a make -j4 test make[1]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' make -C src test make[2]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' gcc -g -O2 -fdebug-prefix-map=/build/mdk4-rtXJO9/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 test.c debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o -o test -lpthread -lpcap -Wl,-z,relro -Wl,-z,now test.c: In function ‘print_clist’: test.c:32:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 32 | printf(" CList at %X contains: Status %d, Data %s\n", (unsigned int) cl, cl->status, cl->data); | ^ test.c: In function ‘test_linkedlist’: test.c:133:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 133 | printf(" Searching status in empty list: %X\n", (unsigned int) search_status(cl, 0)); | ^ test.c:134:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 134 | printf(" Searching \"%s\" in empty list: %X\n", tdata, (unsigned int) search_data(cl, (u_char *) tdata, strlen(tdata))); | ^ test.c:151:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 151 | printf(" Searching status in full list: %X\n", (unsigned int) search_status(cl, 0)); | ^ test.c:152:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 152 | printf(" Searching \"%s\" in full list: %X\n", tdata, (unsigned int) search_data(cl, (u_char *) tdata, strlen(tdata))); | ^ test.c: In function ‘test_greylist’: test.c:164:3: warning: implicit declaration of function ‘load_greylist’; did you mean ‘test_greylist’? [-Wimplicit-function-declaration] 164 | load_greylist(1, "./useful_files/fakeap-example.txt"); | ^~~~~~~~~~~~~ | test_greylist mv test .. make[2]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420/src' make[1]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' # override this: it installs in /usr/local make[1]: Leaving directory '/build/mdk4-rtXJO9/mdk4-4.1+git20200420' 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' in '../mdk4_4.1+git20200420-2_amd64.deb'. dpkg-deb: building package 'mdk4-dbgsym' in '../mdk4-dbgsym_4.1+git20200420-2_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../mdk4_4.1+git20200420-2_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-rtXJO9 /tmp/mdk4-4.1+git20200420-2orfz4cxl I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.LdVgLzF9F3... I: success in 317.9747 seconds md5: mdk4-dbgsym_4.1+git20200420-2_amd64.deb: OK md5: mdk4_4.1+git20200420-2_amd64.deb: OK sha1: mdk4-dbgsym_4.1+git20200420-2_amd64.deb: OK sha1: mdk4_4.1+git20200420-2_amd64.deb: OK sha256: mdk4-dbgsym_4.1+git20200420-2_amd64.deb: OK sha256: mdk4_4.1+git20200420-2_amd64.deb: OK Checksums: OK