Diff of the two buildlogs: -- --- b1/build.log 2024-08-08 15:42:12.747022690 +0000 +++ b2/build.log 2024-08-08 15:47:54.356507091 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 8 03:37:46 -12 2024 -I: pbuilder-time-stamp: 1723131466 +I: Current time: Fri Aug 9 05:42:22 +14 2024 +I: pbuilder-time-stamp: 1723131742 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying implicit-declaration-xmalloc.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5809/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 8 15:42 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='156f982cb2094c9fbfac77c3913a38ed' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5809' - PS1='# ' - PS2='> ' + INVOCATION_ID=b813ee36e1084a79ac428ceb830911c9 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=21850 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.D0dhZxLw/pbuilderrc_YZFI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D0dhZxLw/b1 --logfile b1/build.log ncrack_0.7+debian-6.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.D0dhZxLw/pbuilderrc_PVdr --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D0dhZxLw/b2 --logfile b2/build.log ncrack_0.7+debian-6.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5809/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -149,7 +181,7 @@ Get: 29 http://deb.debian.org/debian trixie/main armhf debhelper all 13.16 [891 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf libssl-dev armhf 3.2.2-1 [2351 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [904 kB] -Fetched 22.1 MB in 0s (83.1 MB/s) +Fetched 22.1 MB in 1s (34.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19503 files and directories currently installed.) @@ -288,7 +320,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ncrack-0.7+debian/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ncrack_0.7+debian-6_source.changes +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ncrack-0.7+debian/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ncrack_0.7+debian-6_source.changes dpkg-buildpackage: info: source package ncrack dpkg-buildpackage: info: source version 0.7+debian-6 dpkg-buildpackage: info: source distribution unstable @@ -556,7 +592,7 @@ config.status: creating modules/Makefile config.status: creating ncrack_config.h === configuring in nbase (/build/reproducible-path/ncrack-0.7+debian/nbase) -configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out @@ -659,7 +695,7 @@ config.status: creating Makefile config.status: creating nbase_config.h === configuring in nsock/src (/build/reproducible-path/ncrack-0.7+debian/nsock/src) -configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking for gcc... gcc @@ -712,7 +748,7 @@ config.status: creating ../tests/Makefile config.status: creating ../include/nsock_config.h === configuring in opensshlib (/build/reproducible-path/ncrack-0.7+debian/opensshlib) -configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=arm-linux-gnueabihf' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out @@ -1251,36 +1287,34 @@ Configuration complete. Type make (or gmake on some *BSD machines) to compile. make[1]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/ncrack-0.7+debian' g++ -MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 ncrack.cc utils.cc TargetGroup.cc Target.cc targets.cc NcrackOps.cc Service.cc ServiceGroup.cc Connection.h services.cc timing.cc ncrack_error.cc output.cc ncrack_tty.cc Buf.cc NcrackOutputTable.cc ncrack_input.cc ncrack_resume.cc crypto.cc http.cc http_digest.cc xml.cc ntlmssp.cc > makefile.dep Compiling libnbase -cd nbase && make Compiling openssh lib -Compiling modules +cd nbase && make cd opensshlib && make -cd modules && make make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/nbase' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c -make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/modules' -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ssh.cc -o ncrack_ssh.o make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/opensshlib' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcpy.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcat.c +Compiling modules +cd modules && make +make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/modules' +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ssh.cc -o ncrack_ssh.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-snprintf.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_str.o nbase_str.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-asprintf.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sha2.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_misc.o nbase_misc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bufaux.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bufbn.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_memalloc.o nbase_memalloc.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_rnd.o nbase_rnd.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_str.o nbase_str.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c buffer.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_addrset.o nbase_addrset.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c freezero.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb.cc -o ncrack_smb.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_misc.o nbase_misc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-aes.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c reallocarray.c cipher.c: In function 'cipher_get_keyiv': cipher.c:571:25: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 571 | memcpy(iv, EVP_CIPHER_CTX_iv(cc->evp), len); @@ -1311,17 +1345,11 @@ /usr/include/openssl/evp.h:596:5: note: declared here 596 | int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~~~~~ -rm -f libnbase.a -ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o -ranlib libnbase.a -make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/nbase' -Compiling libnsock -cd nsock/src && make -make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/nsock/src' -gcc -MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include error.c filespace.c gh_heap.c nsock_connect.c nsock_core.c nsock_iod.c nsock_read.c nsock_timers.c nsock_write.c nsock_ssl.c nsock_event.c nsock_pool.c netutils.c nsock_pcap.c nsock_engines.c engine_select.c engine_epoll.c engine_kqueue.c engine_poll.c nsock_proxy.c nsock_log.c proxy_http.c proxy_socks4.c > makefile.dep -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-aes.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c reallocarray.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_memalloc.o nbase_memalloc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-bf1.c +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb.cc -o ncrack_smb.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_rnd.o nbase_rnd.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-ctr.c cipher-bf1.c: In function 'evp_ssh1_bf': cipher-bf1.c:93:9: warning: 'EVP_CIPHER_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | ssh1_bf = EVP_CIPHER_meth_dup(EVP_bf_cbc()); @@ -1342,9 +1370,9 @@ /usr/include/openssl/evp.h:254:5: note: declared here 254 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-ctr.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb2.cc -o ncrack_smb2.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-3des1.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_addrset.o nbase_addrset.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cleanup.c cipher-3des1.c: In function 'ssh1_3des_iv': cipher-3des1.c:133:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k1), iv, 8); @@ -1420,19 +1448,22 @@ /usr/include/openssl/evp.h:244:5: note: declared here 244 | int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cleanup.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c compat.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c crc32.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fatal.c +rm -f libnbase.a +ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o +ranlib libnbase.a +make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/nbase' +Compiling libnsock +cd nsock/src && make +make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/nsock/src' +gcc -MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include error.c filespace.c gh_heap.c nsock_connect.c nsock_core.c nsock_iod.c nsock_read.c nsock_timers.c nsock_write.c nsock_ssl.c nsock_event.c nsock_pool.c netutils.c nsock_pcap.c nsock_engines.c engine_select.c engine_epoll.c engine_kqueue.c engine_poll.c nsock_proxy.c nsock_log.c proxy_http.c proxy_socks4.c > makefile.dep gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c log.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_rdp.cc -o ncrack_rdp.o -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall error.c -o error.o -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall filespace.c -o filespace.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c match.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall gh_heap.c -o gh_heap.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c md-sha256.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c moduli.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_connect.c -o nsock_connect.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c moduli.c: In function 'prime_test': moduli.c:765:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 765 | if (BN_is_prime_ex(q, 1, ctx, NULL) <= 0) { @@ -1457,6 +1488,131 @@ /usr/include/openssl/bn.h:380:5: note: declared here 380 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); | ^~~~~~~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb2.cc -o ncrack_smb2.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rsa.c +packet.c: In function 'sshpkt_fatal': +packet.c:2034:52: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2034 | logit("Connection reset by %.200s", + | ^~~~~~ +packet.c:2029:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2029 | logit("Disconnected from %.200s", + | ^~~~~~ +packet.c:2045:57: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2045 | fatal("Unable to negotiate with %.200s: %s. " + | ^~~~~~ +packet.c:2023:45: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2023 | logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); + | ^~~~~~ +packet.c:2026:38: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2026 | logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); + | ^~~~~~ +packet.c:2051:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2051 | fatal("%s%sConnection to %.200s: %s", + | ^~~~~~ +rsa.c: In function 'rsa_public_encrypt': +rsa.c:81:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 81 | RSA_get0_key(key, &key_n, &key_e, &key_d); + | ^~~~~~~~~~~~ +In file included from rsa.h:20, + from rsa.c:70: +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +rsa.c:99:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 99 | if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, + | ^~ +/usr/include/openssl/rsa.h:293:5: note: declared here + 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, + | ^~~~~~~~~~~~~~~~~~ +rsa.c: In function 'rsa_private_decrypt': +rsa.c:130:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 130 | RSA_get0_key(key, &key_n, &key_e, &key_d); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +rsa.c:145:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 145 | if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, + | ^~ +/usr/include/openssl/rsa.h:302:5: note: declared here + 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, + | ^~~~~~~~~~~~~~~~~~~ +rsa.c: In function 'rsa_generate_additional_parameters': +rsa.c:176:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 176 | RSA_get0_key(rsa, NULL, NULL, (const BIGNUM**)&rsa_d); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +rsa.c:177:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 177 | RSA_get0_factors(rsa, (const BIGNUM**)&rsa_p, (const BIGNUM**)&rsa_q); + | ^~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ +rsa.c:178:9: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 178 | RSA_get0_crt_params(rsa, (const BIGNUM**)&rsa_dmp1, (const BIGNUM**)&rsa_dmq1, NULL); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:236:28: note: declared here + 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, + | ^~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c xmalloc.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c key.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kex.c +kex.c: In function 'kex_free': +kex.c:653:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 653 | DH_free(kex->dh); + | ^~~~~~~ +In file included from /usr/include/openssl/dsa.h:31, + from sshkey.h:33, + from kex.c:46: +/usr/include/openssl/dh.h:207:28: note: declared here + 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); + | ^~~~~~~ +kex.c:656:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 656 | EC_KEY_free(kex->ec_client_key); + | ^~~~~~~~~~~ +In file included from sshbuf.h:31, + from buffer.h:28, + from entropy.h:30, + from includes.h:190, + from kex.c:26: +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall error.c -o error.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall filespace.c -o filespace.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c mac.c +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall gh_heap.c -o gh_heap.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hmac.c +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_connect.c -o nsock_connect.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_rdp.cc -o ncrack_rdp.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_core.c -o nsock_core.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c misc.c +nsock_connect.c: In function 'nsock_connect_tcp_socks4a': +nsock_connect.c:364:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 364 | strncpy(nsi->hostname, targetname, strlen(targetname)); + | ^ +nsock_connect.c:364:3: note: length computed here + 364 | strncpy(nsi->hostname, targetname, strlen(targetname)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_iod.c -o nsock_iod.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rijndael.c +rijndael.c:762:64: warning: argument 3 of type 'const u8[16]' {aka 'const unsigned char[16]'} with mismatched bound [-Warray-parameter=] + 762 | rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], + | ~~~~~~~~~^~~~~~ +In file included from rijndael.c:34: +rijndael.h:41:53: note: previously declared as 'const unsigned char[]' + 41 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], + | ^~~~~~~~~~~~~~~~~~~~~~ +rijndael.c:763:8: warning: argument 4 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] + 763 | u8 ct[16]) + | ~~~^~~~~~ +rijndael.h:42:13: note: previously declared as 'unsigned char[]' + 42 | unsigned char []); + | ^~~~~~~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_read.c -o nsock_read.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-dss.c ncrack_rdp.cc: In function 'u_char* rdp_secure_recv_data(Connection*, bool*)': ncrack_rdp.cc:3755:12: warning: 'void RC4(RC4_KEY*, size_t, const unsigned char*, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3755 | RC4(&info->rc4_decrypt_key, datalen, p, p); @@ -1565,134 +1721,7 @@ /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ -nsock_connect.c: In function 'nsock_connect_tcp_socks4a': -nsock_connect.c:364:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 364 | strncpy(nsi->hostname, targetname, strlen(targetname)); - | ^ -nsock_connect.c:364:3: note: length computed here - 364 | strncpy(nsi->hostname, targetname, strlen(targetname)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_core.c -o nsock_core.o -packet.c: In function 'sshpkt_fatal': -packet.c:2034:52: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2034 | logit("Connection reset by %.200s", - | ^~~~~~ -packet.c:2029:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2029 | logit("Disconnected from %.200s", - | ^~~~~~ -packet.c:2045:57: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2045 | fatal("Unable to negotiate with %.200s: %s. " - | ^~~~~~ -packet.c:2023:45: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2023 | logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); - | ^~~~~~ -packet.c:2026:38: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2026 | logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); - | ^~~~~~ -packet.c:2051:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2051 | fatal("%s%sConnection to %.200s: %s", - | ^~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rsa.c -rsa.c: In function 'rsa_public_encrypt': -rsa.c:81:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 81 | RSA_get0_key(key, &key_n, &key_e, &key_d); - | ^~~~~~~~~~~~ -In file included from rsa.h:20, - from rsa.c:70: -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -rsa.c:99:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 99 | if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, - | ^~ -/usr/include/openssl/rsa.h:293:5: note: declared here - 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, - | ^~~~~~~~~~~~~~~~~~ -rsa.c: In function 'rsa_private_decrypt': -rsa.c:130:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 130 | RSA_get0_key(key, &key_n, &key_e, &key_d); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -rsa.c:145:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 145 | if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, - | ^~ -/usr/include/openssl/rsa.h:302:5: note: declared here - 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, - | ^~~~~~~~~~~~~~~~~~~ -rsa.c: In function 'rsa_generate_additional_parameters': -rsa.c:176:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 176 | RSA_get0_key(rsa, NULL, NULL, (const BIGNUM**)&rsa_d); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -rsa.c:177:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 177 | RSA_get0_factors(rsa, (const BIGNUM**)&rsa_p, (const BIGNUM**)&rsa_q); - | ^~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ -rsa.c:178:9: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 178 | RSA_get0_crt_params(rsa, (const BIGNUM**)&rsa_dmp1, (const BIGNUM**)&rsa_dmq1, NULL); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:236:28: note: declared here - 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, - | ^~~~~~~~~~~~~~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_iod.c -o nsock_iod.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c xmalloc.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c key.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_read.c -o nsock_read.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kex.c gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_timers.c -o nsock_timers.o -kex.c: In function 'kex_free': -kex.c:653:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 653 | DH_free(kex->dh); - | ^~~~~~~ -In file included from /usr/include/openssl/dsa.h:31, - from sshkey.h:33, - from kex.c:46: -/usr/include/openssl/dh.h:207:28: note: declared here - 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); - | ^~~~~~~ -kex.c:656:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 656 | EC_KEY_free(kex->ec_client_key); - | ^~~~~~~~~~~ -In file included from sshbuf.h:31, - from buffer.h:28, - from entropy.h:30, - from includes.h:190, - from kex.c:26: -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_write.c -o nsock_write.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c mac.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_ssl.c -o nsock_ssl.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hmac.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_event.c -o nsock_event.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c misc.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_sip.cc -o ncrack_sip.o -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_pool.c -o nsock_pool.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rijndael.c -rijndael.c:762:64: warning: argument 3 of type 'const u8[16]' {aka 'const unsigned char[16]'} with mismatched bound [-Warray-parameter=] - 762 | rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], - | ~~~~~~~~~^~~~~~ -In file included from rijndael.c:34: -rijndael.h:41:53: note: previously declared as 'const unsigned char[]' - 41 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], - | ^~~~~~~~~~~~~~~~~~~~~~ -rijndael.c:763:8: warning: argument 4 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] - 763 | u8 ct[16]) - | ~~~^~~~~~ -rijndael.h:42:13: note: previously declared as 'unsigned char[]' - 42 | unsigned char []); - | ^~~~~~~~~~~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall netutils.c -o netutils.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-dss.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_pcap.c -o nsock_pcap.o ssh-dss.c: In function 'ssh_dss_sign': ssh-dss.c:76:9: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | if ((sig = DSA_do_sign(digest, dlen, key->dsa)) == NULL) { @@ -1708,8 +1737,8 @@ /usr/include/openssl/dsa.h:120:27: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_write.c -o nsock_write.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-rsa.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_engines.c -o nsock_engines.o ssh-rsa.c: In function 'ssh_rsa_sign': ssh-rsa.c:59:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | slen = RSA_size(key->rsa); @@ -1751,9 +1780,9 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_ssl.c -o nsock_ssl.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_event.c -o nsock_event.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c dh.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_select.c -o engine_select.o dh.c: In function 'dh_pub_is_valid': dh.c:240:9: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | DH_get0_pqg(dh, &dh_p, NULL, NULL); @@ -1819,61 +1848,14 @@ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_pool.c -o nsock_pool.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdh.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_epoll.c -o engine_epoll.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall netutils.c -o netutils.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgex.c +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_pcap.c -o nsock_pcap.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdhc.c -ncrack_psql.cc: In function 'void make_response(char*, const char*, const char*, const char*)': -ncrack_psql.cc:177:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 177 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -In file included from ncrack_psql.cc:135: -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_psql.cc:178:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 178 | MD5_Update(&md5, password, strlen(password)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:179:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 179 | MD5_Update(&md5, username, strlen(username)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:180:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 180 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -ncrack_psql.cc:184:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 184 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_psql.cc:185:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 185 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:186:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 186 | MD5_Update(&md5, salt, strlen(salt)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:187:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 187 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_kqueue.c -o engine_kqueue.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_engines.c -o nsock_engines.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_select.c -o engine_select.o kexdhc.c: In function 'kexdh_client': kexdhc.c:80:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | DH_get0_key(kex->dh, &kex_dh_pub_key, NULL); @@ -1907,48 +1889,8 @@ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_poll.c -o engine_poll.o -ncrack_psql.cc: In function 'int psql_loop_read(nsock_pool, Connection*, char*, char*)': -ncrack_psql.cc:231:28: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 231 | snprintf(dig, 3, "\n%x", *p++); - | ^ -In file included from /usr/include/stdio.h:980, - from ../nbase/nbase.h:214, - from ../ncrack.h:161, - from ncrack_psql.cc:130: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int psql_loop_read(nsock_pool, Connection*, char*, char*)' at ncrack_psql.cc:231:14: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 3 and 4 bytes into a destination of size 3 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -ncrack_psql.cc: In function 'int psql_loop_read(nsock_pool, Connection*, char*, char*)': -ncrack_psql.cc:247:29: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 247 | snprintf(dig, 3, "\n%x", *p++); - | ^ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int psql_loop_read(nsock_pool, Connection*, char*, char*)' at ncrack_psql.cc:247:15: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 3 and 4 bytes into a destination of size 3 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In function 'void make_response(char*, const char*, const char*, const char*)', - inlined from 'void ncrack_psql(nsock_pool, Connection*)' at ncrack_psql.cc:327:20: -ncrack_psql.cc:195:36: warning: array subscript 35 is outside array bounds of 'char [35]' [-Warray-bounds=] - 195 | buf[MD5_DIGEST_LENGTH * 2 + 3] = '\0'; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -ncrack_psql.cc: In function 'void ncrack_psql(nsock_pool, Connection*)': -ncrack_psql.cc:295:8: note: at offset 35 into object 'response_hex' of size 35 - 295 | char response_hex[MD5_DIGEST_LENGTH *2 + 3]; - | ^~~~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_epoll.c -o engine_epoll.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgexc.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mysql.cc -o ncrack_mysql.o kexgexc.c: In function 'ncrackssh_input_kex_dh_gex_group': kexgexc.c:129:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | DH_get0_key(kex->dh, &kex_dh_pub_key, NULL); @@ -1989,7 +1931,8 @@ 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c umac.c -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_proxy.c -o nsock_proxy.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_kqueue.c -o engine_kqueue.o +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall engine_poll.c -o engine_poll.o umac.c: In function 'kdf': umac.c:198:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | aes_encryption(in_buf, out_buf, key); @@ -2025,6 +1968,7 @@ 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ umac.c: In function 'umac_new': +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall nsock_proxy.c -o nsock_proxy.o umac.c:1229:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1229 | aes_key_setup(key, prf_key); | ^~~~~~~~~~~~~ @@ -2036,68 +1980,7 @@ -DUMAC_OUTPUT_LEN=16 -Dumac_new=umac128_new \ -Dumac_update=umac128_update -Dumac_final=umac128_final \ -Dumac_delete=umac128_delete -ncrack_mysql.cc: In function 'void hash_password(char*, const char*, const char*)': -ncrack_mysql.cc:319:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 319 | SHA1_Init(&sha1_ctx); - | ~~~~~~~~~^~~~~~~~~~~ -In file included from ncrack_mysql.cc:137: -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:320:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 320 | SHA1_Update(&sha1_ctx, (const uint8_t *) password, strlen(password)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:321:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 321 | SHA1_Final(first_hash, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ -ncrack_mysql.cc:324:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 324 | SHA1_Init(&sha1_ctx); - | ~~~~~~~~~^~~~~~~~~~~ -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:325:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 325 | SHA1_Update(&sha1_ctx, first_hash, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:326:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 326 | SHA1_Final(second_hash, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ -ncrack_mysql.cc:329:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 329 | SHA1_Init(&sha1_ctx); - | ~~~~~~~~~^~~~~~~~~~~ -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 330 | SHA1_Update(&sha1_ctx, (const uint8_t *) salt, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 331 | SHA1_Update(&sha1_ctx, second_hash, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 332 | SHA1_Final((uint8_t *) buf, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ +gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall proxy_http.c -o proxy_http.o ./umac.c: In function 'kdf': ./umac.c:198:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | aes_encryption(in_buf, out_buf, key); @@ -2139,159 +2022,27 @@ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ -gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall proxy_http.c -o proxy_http.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_winrm.cc -o ncrack_winrm.o gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall proxy_socks4.c -o proxy_socks4.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshconnect2.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c rm -f libnsock.a ar cr libnsock.a error.o filespace.o gh_heap.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o nsock_engines.o engine_select.o engine_epoll.o engine_kqueue.o engine_poll.o nsock_proxy.o nsock_log.o proxy_http.o proxy_socks4.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c ranlib libnsock.a -make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/nsock/src' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssherr.c +make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/nsock/src' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c addrmatch.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-getput-basic.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c vis.c -ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': -ncrack_winrm.cc:885:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 885 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)lmbuffer, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 886 | &ks, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~ -In file included from ncrack_winrm.cc:138: -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:889:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 889 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)(lmbuffer + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 890 | &ks, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:897:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 897 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) lmresp, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 898 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:901:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 901 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 902 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:905:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 905 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 16), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 906 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:964:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 964 | MD4_Init(&MD4pw); - | ~~~~~~~~^~~~~~~~ -In file included from ncrack_winrm.cc:139: -/usr/include/openssl/md4.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); - | ^~~~~~~~ -ncrack_winrm.cc:965:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 965 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_winrm.cc:966:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 966 | MD4_Final(ntbuffer, &MD4pw); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:52:27: note: declared here - 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); - | ^~~~~~~~~ -ncrack_winrm.cc:970:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 970 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) ntresp, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 971 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:974:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 974 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 975 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:978:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 978 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 16), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 979 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:989:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 989 | MD4_Init(&MD4pw); - | ~~~~~~~~^~~~~~~~ -/usr/include/openssl/md4.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); - | ^~~~~~~~ -ncrack_winrm.cc:990:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 990 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_winrm.cc:991:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 991 | MD4_Final(ntbuffer, &MD4pw); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:52:27: note: declared here - 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); - | ^~~~~~~~~ -ncrack_winrm.cc: In function 'void setup_des_key(const unsigned char*, DES_key_schedule*)': -ncrack_winrm.cc:1410:21: warning: 'void DES_set_odd_parity(unsigned char (*)[8])' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1410 | DES_set_odd_parity(&key); - | ~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/des.h:176:28: note: declared here - 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); - | ^~~~~~~~~~~~~~~~~~ -ncrack_winrm.cc:1413:14: warning: 'int DES_set_key(unsigned char (*)[8], DES_key_schedule*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1413 | DES_set_key(&key, ks); - | ~~~~~~~~~~~^~~~~~~~~~ -/usr/include/openssl/des.h:186:5: note: declared here - 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); - | ^~~~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_sip.cc -o ncrack_sip.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-misc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-libc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-openssl.c -In function 'void rand_str(char*, size_t)', - inlined from 'void winrm_negotiate(nsock_pool, Connection*)' at ncrack_winrm.cc:1001:21: -ncrack_winrm.cc:1382:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1382 | *dest = '\0'; - | ~~~~~~^~~~~~ -ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': -ncrack_winrm.cc:994:18: note: at offset 8 into destination object 'entropy' of size 8 - 994 | char entropy[8]; - | ^~~~~~~ -ncrack_winrm.cc:697:15: warning: 'void free(void*)' called on pointer '' with nonzero offset 12 [-Wfree-nonheap-object] - 697 | free(type2); - | ~~~~^~~~~~~ -ncrack_winrm.cc:630:36: note: returned from 'void* safe_malloc(size_t)' - 630 | type2 = (char *)safe_malloc((strlen(tmp) + 1)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c explicit_bzero.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strtonum.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdh.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdhc.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c arc4random.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mongodb.cc -o ncrack_mongodb.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-chachapoly.c kexecdhc.c: In function 'kexecdh_client': kexecdhc.c:67:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | if ((client_key = EC_KEY_new_by_curve_name(kex->ec_nid)) == NULL) { @@ -2347,7 +2098,6 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-chachapoly.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c chacha.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c poly1305.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c timingsafe_bcmp.c @@ -2392,118 +2142,7 @@ | ^~~~~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexc25519.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshkey.c -ncrack_mongodb.cc: In function 'void mongodb_cr(nsock_pool, Connection*)': -ncrack_mongodb.cc:575:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 575 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -In file included from ncrack_mongodb.cc:136: -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_mongodb.cc:576:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 576 | MD5_Update(&md5, con->user, strlen(con->user)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:577:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 577 | MD5_Update(&md5, ":mongo:", strlen(":mongo:")); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:578:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 578 | MD5_Update(&md5, con->pass, strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:579:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 579 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -ncrack_mongodb.cc:583:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 583 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_mongodb.cc:584:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 584 | MD5_Update(&md5, nonce, strlen(nonce)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:585:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 585 | MD5_Update(&md5, con->user, strlen(con->user)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:586:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 586 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:587:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 587 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -ncrack_mongodb.cc: In function 'void mongodb_scram_sha1(nsock_pool, Connection*)': -ncrack_mongodb.cc:983:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 983 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_mongodb.cc:984:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 984 | MD5_Update(&md5, con->user, strlen(con->user)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:985:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 985 | MD5_Update(&md5, ":mongo:", strlen(":mongo:")); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:986:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 986 | MD5_Update(&md5, con->pass, strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_mongodb.cc:987:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 987 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -ncrack_mongodb.cc:1014:18: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1014 | SHA1_Init(&sha1); - | ~~~~~~~~~^~~~~~~ -In file included from ncrack_mongodb.cc:140: -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mongodb.cc:1015:20: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1015 | SHA1_Update(&sha1, client_key, 20); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mongodb.cc:1016:19: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1016 | SHA1_Final(hashbuf2, &sha1); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.o kexc25519.c:92:18: warning: argument 10 of type 'const u_char[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] 92 | const u_char client_dh_pub[CURVE25519_SIZE], | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2518,6 +2157,7 @@ 227 | const char *, size_t, const u_char *, size_t, const u_char *, const u_char *, | ^~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-misc.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.c sshkey.c: In function 'sshkey_size': sshkey.c:286:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 286 | RSA_get0_key(k->rsa, &n, NULL, NULL); @@ -2958,6 +2598,7 @@ sshkey.c:2351:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2351 | DSA_get0_pqg(k->dsa, &p, &q, &g); | ^~~~~~~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ed25519.c /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ @@ -3041,6 +2682,7 @@ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blowfish.c sshkey.c:2633:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2633 | RSA_get0_factors(key->rsa, &p, &q); | ^~~~~~~~~~~~~~~~ @@ -3268,7 +2910,6 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.c sshkey.c:3096:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3096 | EC_KEY_get0_public_key(key)); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -3287,24 +2928,60 @@ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ed25519.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blowfish.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hash.c -In function 'cert_parse', - inlined from 'sshkey_from_blob_internal' at sshkey.c:2186:36: -sshkey.c:1951:47: warning: pointer 'oprincipals' may be used after 'reallocarray' [-Wuse-after-free] - 1951 | key->cert->principals = oprincipals; - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -sshkey.c:1947:41: note: call to 'reallocarray' here - 1947 | key->cert->principals = reallocarray(key->cert->principals, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1948 | key->cert->nprincipals + 1, sizeof(*key->cert->principals)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c uuencode.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blocks.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ecdsa.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o +ncrack_psql.cc: In function 'void make_response(char*, const char*, const char*, const char*)': +ncrack_psql.cc:177:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 177 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +In file included from ncrack_psql.cc:135: +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_psql.cc:178:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 178 | MD5_Update(&md5, password, strlen(password)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:179:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 179 | MD5_Update(&md5, username, strlen(username)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:180:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 180 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +ncrack_psql.cc:184:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 184 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_psql.cc:185:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 185 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:186:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 186 | MD5_Update(&md5, salt, strlen(salt)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:187:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 187 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ ssh-ecdsa.c: In function 'ssh_ecdsa_sign': ssh-ecdsa.c:75:9: warning: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | if ((sig = ECDSA_do_sign(digest, dlen, key->ecdsa)) == NULL) { @@ -3324,15 +3001,374 @@ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ +ncrack_psql.cc: In function 'int psql_loop_read(nsock_pool, Connection*, char*, char*)': +ncrack_psql.cc:231:28: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 231 | snprintf(dig, 3, "\n%x", *p++); + | ^ +In file included from /usr/include/stdio.h:980, + from ../nbase/nbase.h:214, + from ../ncrack.h:161, + from ncrack_psql.cc:130: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int psql_loop_read(nsock_pool, Connection*, char*, char*)' at ncrack_psql.cc:231:14: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 3 and 4 bytes into a destination of size 3 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +ncrack_psql.cc: In function 'int psql_loop_read(nsock_pool, Connection*, char*, char*)': +ncrack_psql.cc:247:29: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 247 | snprintf(dig, 3, "\n%x", *p++); + | ^ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int psql_loop_read(nsock_pool, Connection*, char*, char*)' at ncrack_psql.cc:247:15: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 3 and 4 bytes into a destination of size 3 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c base64.c +In function 'void make_response(char*, const char*, const char*, const char*)', + inlined from 'void ncrack_psql(nsock_pool, Connection*)' at ncrack_psql.cc:327:20: +ncrack_psql.cc:195:36: warning: array subscript 35 is outside array bounds of 'char [35]' [-Warray-bounds=] + 195 | buf[MD5_DIGEST_LENGTH * 2 + 3] = '\0'; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +ncrack_psql.cc: In function 'void ncrack_psql(nsock_pool, Connection*)': +ncrack_psql.cc:295:8: note: at offset 35 into object 'response_hex' of size 35 + 295 | char response_hex[MD5_DIGEST_LENGTH *2 + 3]; + | ^~~~~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mysql.cc -o ncrack_mysql.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ed25519.c +In function 'cert_parse', + inlined from 'sshkey_from_blob_internal' at sshkey.c:2186:36: +sshkey.c:1951:47: warning: pointer 'oprincipals' may be used after 'reallocarray' [-Wuse-after-free] + 1951 | key->cert->principals = oprincipals; + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +sshkey.c:1947:41: note: call to 'reallocarray' here + 1947 | key->cert->principals = reallocarray(key->cert->principals, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1948 | key->cert->nprincipals + 1, sizeof(*key->cert->principals)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sc25519.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ge25519.c -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o +ncrack_mysql.cc: In function 'void hash_password(char*, const char*, const char*)': +ncrack_mysql.cc:319:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 319 | SHA1_Init(&sha1_ctx); + | ~~~~~~~~~^~~~~~~~~~~ +In file included from ncrack_mysql.cc:137: +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mysql.cc:320:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 320 | SHA1_Update(&sha1_ctx, (const uint8_t *) password, strlen(password)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~~ +ncrack_mysql.cc:321:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 321 | SHA1_Final(first_hash, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +ncrack_mysql.cc:324:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 324 | SHA1_Init(&sha1_ctx); + | ~~~~~~~~~^~~~~~~~~~~ +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mysql.cc:325:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 325 | SHA1_Update(&sha1_ctx, first_hash, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~~ +ncrack_mysql.cc:326:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 326 | SHA1_Final(second_hash, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +ncrack_mysql.cc:329:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 329 | SHA1_Init(&sha1_ctx); + | ~~~~~~~~~^~~~~~~~~~~ +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mysql.cc:330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 330 | SHA1_Update(&sha1_ctx, (const uint8_t *) salt, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~~ +ncrack_mysql.cc:331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 331 | SHA1_Update(&sha1_ctx, second_hash, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~~ +ncrack_mysql.cc:332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 332 | SHA1_Final((uint8_t *) buf, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fe25519.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c verify.c +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_winrm.cc -o ncrack_winrm.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c opacket.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c smult_curve25519_ref.c +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mongodb.cc -o ncrack_mongodb.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o +ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': +ncrack_winrm.cc:885:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 885 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)lmbuffer, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 886 | &ks, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~ +In file included from ncrack_winrm.cc:138: +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:889:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 889 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)(lmbuffer + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 890 | &ks, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:897:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 897 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) lmresp, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 898 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:901:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 901 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 902 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:905:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 905 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 16), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 906 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:964:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 964 | MD4_Init(&MD4pw); + | ~~~~~~~~^~~~~~~~ +In file included from ncrack_winrm.cc:139: +/usr/include/openssl/md4.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); + | ^~~~~~~~ +ncrack_winrm.cc:965:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 965 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_winrm.cc:966:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 966 | MD4_Final(ntbuffer, &MD4pw); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:52:27: note: declared here + 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); + | ^~~~~~~~~ +ncrack_winrm.cc:970:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 970 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) ntresp, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 971 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:974:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 974 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 975 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:978:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 978 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 16), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 979 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:989:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 989 | MD4_Init(&MD4pw); + | ~~~~~~~~^~~~~~~~ +/usr/include/openssl/md4.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); + | ^~~~~~~~ +ncrack_winrm.cc:990:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 990 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_winrm.cc:991:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 991 | MD4_Final(ntbuffer, &MD4pw); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:52:27: note: declared here + 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); + | ^~~~~~~~~ +ncrack_winrm.cc: In function 'void setup_des_key(const unsigned char*, DES_key_schedule*)': +ncrack_winrm.cc:1410:21: warning: 'void DES_set_odd_parity(unsigned char (*)[8])' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1410 | DES_set_odd_parity(&key); + | ~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/des.h:176:28: note: declared here + 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); + | ^~~~~~~~~~~~~~~~~~ +ncrack_winrm.cc:1413:14: warning: 'int DES_set_key(unsigned char (*)[8], DES_key_schedule*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1413 | DES_set_key(&key, ks); + | ~~~~~~~~~~~^~~~~~~~~~ +/usr/include/openssl/des.h:186:5: note: declared here + 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); + | ^~~~~~~~~~~ +In function 'void rand_str(char*, size_t)', + inlined from 'void winrm_negotiate(nsock_pool, Connection*)' at ncrack_winrm.cc:1001:21: +ncrack_winrm.cc:1382:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1382 | *dest = '\0'; + | ~~~~~~^~~~~~ +ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': +ncrack_winrm.cc:994:18: note: at offset 8 into destination object 'entropy' of size 8 + 994 | char entropy[8]; + | ^~~~~~~ +ncrack_winrm.cc:697:15: warning: 'void free(void*)' called on pointer '' with nonzero offset 12 [-Wfree-nonheap-object] + 697 | free(type2); + | ~~~~^~~~~~~ +ncrack_winrm.cc:630:36: note: returned from 'void* safe_malloc(size_t)' + 630 | type2 = (char *)safe_malloc((strlen(tmp) + 1)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +ncrack_mongodb.cc: In function 'void mongodb_cr(nsock_pool, Connection*)': +ncrack_mongodb.cc:575:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 575 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +In file included from ncrack_mongodb.cc:136: +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_mongodb.cc:576:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 576 | MD5_Update(&md5, con->user, strlen(con->user)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:577:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 577 | MD5_Update(&md5, ":mongo:", strlen(":mongo:")); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:578:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 578 | MD5_Update(&md5, con->pass, strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:579:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 579 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +ncrack_mongodb.cc:583:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 583 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_mongodb.cc:584:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 584 | MD5_Update(&md5, nonce, strlen(nonce)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:585:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 585 | MD5_Update(&md5, con->user, strlen(con->user)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:586:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 586 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:587:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 587 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +ncrack_mongodb.cc: In function 'void mongodb_scram_sha1(nsock_pool, Connection*)': +ncrack_mongodb.cc:983:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 983 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_mongodb.cc:984:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 984 | MD5_Update(&md5, con->user, strlen(con->user)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:985:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 985 | MD5_Update(&md5, ":mongo:", strlen(":mongo:")); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:986:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 986 | MD5_Update(&md5, con->pass, strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_mongodb.cc:987:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 987 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +ncrack_mongodb.cc:1014:18: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1014 | SHA1_Init(&sha1); + | ~~~~~~~~~^~~~~~~ +In file included from ncrack_mongodb.cc:140: +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mongodb.cc:1015:20: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1015 | SHA1_Update(&sha1, client_key, 20); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~~ +ncrack_mongodb.cc:1016:19: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1016 | SHA1_Final(hashbuf2, &sha1); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_pop3.cc -o ncrack_pop3.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_vnc.cc -o ncrack_vnc.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_redis.cc -o ncrack_redis.o @@ -3353,6 +3389,7 @@ g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mssql.cc -o ncrack_mssql.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cvs.cc -o ncrack_cvs.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_wordpress.cc -o ncrack_wordpress.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_joomla.cc -o ncrack_joomla.o ncrack_mssql.cc: In function 'void ncrack_mssql(nsock_pool, Connection*)': ncrack_mssql.cc:509:63: warning: array subscript 2 is outside array bounds of 'unsigned char [1]' [-Warray-bounds=] 509 | memcpy(tmp + 179 + 30 + 1 + 1 + 1 + 30 + 223, &len_pass + 2, 1); @@ -3375,7 +3412,8 @@ ncrack_mssql.cc:160:28: note: at offset 2 into source object 'len_pass' of size 1 160 | unsigned char len_login, len_pass; | ^~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_joomla.cc -o ncrack_joomla.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_dicom.cc -o ncrack_dicom.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mqtt.cc -o ncrack_mqtt.o ncrack_wordpress.cc: In function 'void ncrack_wordpress(nsock_pool, Connection*)': ncrack_wordpress.cc:317:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 317 | snprintf(tmp, sizeof(tmp) - 1, "%lu", formlen); @@ -3384,7 +3422,6 @@ | | size_t {aka unsigned int} | long unsigned int | %u -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_dicom.cc -o ncrack_dicom.o ncrack_joomla.cc: In function 'void ncrack_joomla(nsock_pool, Connection*)': ncrack_joomla.cc:208:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 208 | snprintf(tmp, sizeof(tmp) - 1, "%lu", formlen); @@ -3393,13 +3430,13 @@ | | size_t {aka unsigned int} | long unsigned int | %u -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mqtt.cc -o ncrack_mqtt.o make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/modules' make ncrack make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian' g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack.cc -o ncrack.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing utils.cc -o utils.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing TargetGroup.cc -o TargetGroup.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Target.cc -o Target.o ncrack.cc: In function 'void lookup_init(const char*)': ncrack.cc:329:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'global_service' {aka 'struct global_service'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 329 | memset(&temp, 0, sizeof(temp)); @@ -3413,16 +3450,17 @@ ncrack.cc:2298:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 2298 | if (serv->failed_connections > serv->connection_retries) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Target.cc -o Target.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing targets.cc -o targets.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing NcrackOps.cc -o NcrackOps.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Service.cc -o Service.o In file included from /usr/include/c++/13/vector:72, from global_structures.h:138: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const global_service&}; _Tp = global_service; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing NcrackOps.cc -o NcrackOps.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Service.cc -o Service.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ServiceGroup.cc -o ServiceGroup.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Connection.cc -o Connection.o In file included from /usr/include/c++/13/vector:66: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = global_service; _Alloc = std::allocator]', inlined from 'void lookup_init(const char*)' at ncrack.cc:383:28, @@ -3430,8 +3468,6 @@ /usr/include/c++/13/bits/stl_vector.h:1292:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1292 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ServiceGroup.cc -o ServiceGroup.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Connection.cc -o Connection.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing services.cc -o services.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing timing.cc -o timing.o services.cc: In function 'global_service parse_services_options(char*)': @@ -3452,6 +3488,7 @@ g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack_resume.cc -o ncrack_resume.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing crypto.cc -o crypto.o g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http.cc -o http.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http_digest.cc -o http_digest.o crypto.cc: In function 'void des(const uint8_t*, const uint8_t*, uint8_t*)': crypto.cc:170:21: warning: 'void DES_set_odd_parity(unsigned char (*)[8])' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | DES_set_odd_parity(&key); @@ -3645,10 +3682,6 @@ crypto.cc:680:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 680 | register unsigned long *into | ^~~~ -ncrack_resume.cc: In function 'int ncrack_resume(char*, int*, char***)': -ncrack_resume.cc:477:10: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 477 | strncpy(ncrack_arg_buffer, "ncrack ", 7); - | ^ crypto.cc:698:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 698 | register unsigned long *outof, | ^~~~~ @@ -3677,8 +3710,6 @@ crypto.cc:864:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 864 | register int round; | ^~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http_digest.cc -o http_digest.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing xml.cc -o xml.o http_digest.cc: In function 'char* make_nonce(const timeval*)': http_digest.cc:223:11: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | MD5_Init(&md5); @@ -3708,7 +3739,6 @@ http_digest.cc:227:12: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | MD5_Final(hashbuf, &md5); | ~~~~~~~~~^~~~~~~~~~~~~~~ -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ntlmssp.cc -o ntlmssp.o /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ @@ -3863,6 +3893,12 @@ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing xml.cc -o xml.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"arm-unknown-linux-gnueabihf\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/ncrack-0.7+debian=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ntlmssp.cc -o ntlmssp.o +ncrack_resume.cc: In function 'int ncrack_resume(char*, int*, char***)': +ncrack_resume.cc:477:10: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 477 | strncpy(ncrack_arg_buffer, "ncrack ", 7); + | ^ Compiling Ncrack... rm -f ncrack g++ -Wl,-z,relro -Wl,-z,now -Lnbase -Lnsock/src -Lopensshlib -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o xml.o ntlmssp.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_smb2.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_winrm.o modules/ncrack_mongodb.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o modules/ncrack_cvs.o modules/ncrack_wordpress.o modules/ncrack_joomla.o modules/ncrack_dicom.o modules/ncrack_mqtt.o -lnsock -lnbase -lssl -lcrypto -lopenssh @@ -3873,7 +3909,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/ncrack/ - make -j3 install DESTDIR=/build/reproducible-path/ncrack-0.7\+debian/debian/ncrack AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/ncrack-0.7\+debian/debian/ncrack AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/ncrack-0.7+debian' /usr/bin/install -c -d /build/reproducible-path/ncrack-0.7+debian/debian/ncrack/usr/bin /build/reproducible-path/ncrack-0.7+debian/debian/ncrack/usr/share/man/man1 /build/reproducible-path/ncrack-0.7+debian/debian/ncrack/usr/share/ncrack /usr/bin/install -c -c -m 755 ncrack /build/reproducible-path/ncrack-0.7+debian/debian/ncrack/usr/bin/ncrack @@ -3913,12 +3949,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21850/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/5809 and its subdirectories -I: Current time: Thu Aug 8 03:41:07 -12 2024 -I: pbuilder-time-stamp: 1723131667 +I: removing directory /srv/workspace/pbuilder/21850 and its subdirectories +I: Current time: Fri Aug 9 05:47:48 +14 2024 +I: pbuilder-time-stamp: 1723132068