Diff of the two buildlogs: -- --- b1/build.log 2025-02-24 11:25:25.314790995 +0000 +++ b2/build.log 2025-02-24 11:26:56.526702825 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 29 05:45:40 -12 2026 -I: pbuilder-time-stamp: 1774806340 +I: Current time: Tue Feb 25 01:25:27 +14 2025 +I: pbuilder-time-stamp: 1740396327 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,51 +29,83 @@ 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/2213801/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3144145/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 Feb 24 11:25 /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/3144145/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3144145/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='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7ea0b7fd099443b58fe1e2d028fc83f5' - 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='2213801' - PS1='# ' - PS2='> ' + INVOCATION_ID=0f53acd829194711883e53ade6ded6d6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=3144145 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.daRyV9db/pbuilderrc_sW3Y --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.daRyV9db/b1 --logfile b1/build.log ncrack_0.7+debian-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.daRyV9db/pbuilderrc_OwET --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.daRyV9db/b2 --logfile b2/build.log ncrack_0.7+debian-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2213801/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3144145/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -145,7 +177,7 @@ Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 libssl-dev amd64 3.4.1-1 [2787 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 [920 kB] -Fetched 24.3 MB in 1s (21.6 MB/s) +Fetched 24.3 MB in 0s (103 MB/s) Preconfiguring packages ... 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 ... 19802 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/3144145/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3144145/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 @@ -552,7 +588,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=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--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 @@ -655,7 +691,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=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc @@ -708,7 +744,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=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' '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 -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-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 -fcf-protection' '--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 @@ -1252,43 +1288,36 @@ g++ -MM -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -cd opensshlib && make Compiling modules cd modules && make +Compiling openssh lib +cd opensshlib && make +make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/modules' +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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/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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb.cc -o ncrack_smb.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_misc.o nbase_misc.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_rdp.cc -o ncrack_rdp.o make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/opensshlib' -make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/modules' -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -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. -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcat.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_addrset.o nbase_addrset.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb2.cc -o ncrack_smb2.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_rdp.cc -o ncrack_rdp.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -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. -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 -fcf-protection -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. -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -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. -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 -fcf-protection -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bufaux.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c buffer.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c freezero.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 -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher.c -ranlib libnbase.a -make[2]: Leaving 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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c reallocarray.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_winrm.cc -o ncrack_winrm.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mysql.cc -o ncrack_mysql.o 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); @@ -1319,6 +1348,10 @@ /usr/include/openssl/evp.h:599:5: note: declared here 599 | int EVP_CIPHER_impl_ctx_size(const 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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-aes.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 +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c reallocarray.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); @@ -1333,8 +1366,6 @@ /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mongodb.cc -o ncrack_mongodb.o -Compiling libnsock ncrack_rdp.cc: In function 'int rdp_get_crypto(Connection*, u_char*)': ncrack_rdp.cc:4176:14: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4176 | RC4_set_key(&info->rc4_encrypt_key, info->rc4_keylen, info->encrypt_key); @@ -1348,7 +1379,6 @@ /usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ -cd nsock/src && make ncrack_rdp.cc: In function 'void rdp_encrypt_data(Connection*, uint8_t*, uint32_t, uint32_t)': ncrack_rdp.cc:4320:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4320 | SHA1_Init(&sha1_ctx); @@ -1424,13 +1454,7 @@ /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ -make[2]: Entering directory '/build/reproducible-path/ncrack-0.7+debian/nsock/src' -gcc -MM -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 -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-bf1.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_pop3.cc -o ncrack_pop3.o 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()); @@ -1451,7 +1475,95 @@ /usr/include/openssl/evp.h:254:5: note: declared here 254 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ranlib libnbase.a 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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-ctr.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-3des1.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cleanup.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o +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); + | ^~~~~~ +In file included from cipher-3des1.c:25: +/usr/include/openssl/evp.h:634:38: note: declared here + 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:134:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 134 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k2), iv + 8, 8); + | ^~~~~~ +/usr/include/openssl/evp.h:634:38: note: declared here + 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:135:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 135 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k3), iv + 16, 8); + | ^~~~~~ +/usr/include/openssl/evp.h:634:38: note: declared here + 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:137:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 137 | memcpy(iv, EVP_CIPHER_CTX_iv(c->k1), 8); + | ^~~~~~ +/usr/include/openssl/evp.h:632:44: note: declared here + 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~ +cipher-3des1.c:138:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 138 | memcpy(iv + 8, EVP_CIPHER_CTX_iv(c->k2), 8); + | ^~~~~~ +/usr/include/openssl/evp.h:632:44: note: declared here + 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~ +cipher-3des1.c:139:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 139 | memcpy(iv + 16, EVP_CIPHER_CTX_iv(c->k3), 8); + | ^~~~~~ +/usr/include/openssl/evp.h:632:44: note: declared here + 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); + | ^~~~~~~~~~~~~~~~~ +cipher-3des1.c: In function 'evp_ssh1_3des': +cipher-3des1.c:149:9: warning: 'EVP_CIPHER_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 149 | ssh1_3des = EVP_CIPHER_meth_new(NID_undef, 8, 16); + | ^~~~~~~~~ +/usr/include/openssl/evp.h:236:13: note: declared here + 236 | EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); + | ^~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:151:9: warning: 'EVP_CIPHER_meth_set_iv_length' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 151 | EVP_CIPHER_meth_set_iv_length(ssh1_3des, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:242:5: note: declared here + 242 | int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:152:9: warning: 'EVP_CIPHER_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 152 | EVP_CIPHER_meth_set_init(ssh1_3des, ssh1_3des_init); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:248:5: note: declared here + 248 | int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:153:9: warning: 'EVP_CIPHER_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 153 | EVP_CIPHER_meth_set_cleanup(ssh1_3des, ssh1_3des_cleanup); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:260:5: note: declared here + 260 | int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:154:9: warning: 'EVP_CIPHER_meth_set_do_cipher' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 154 | EVP_CIPHER_meth_set_do_cipher(ssh1_3des, ssh1_3des_cbc); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:254:5: note: declared here + 254 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cipher-3des1.c:155:9: warning: 'EVP_CIPHER_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 155 | EVP_CIPHER_meth_set_flags(ssh1_3des, EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:244:5: note: declared here + 244 | int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o +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 -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c compat.c 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); @@ -1514,6 +1626,7 @@ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c crc32.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); @@ -1522,6 +1635,7 @@ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o 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)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1564,8 +1678,7 @@ /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 -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cleanup.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_pop3.cc -o ncrack_pop3.o 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=] @@ -1575,85 +1688,73 @@ 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]; | ^~~~~~~~~~~~ -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); - | ^~~~~~ -In file included from cipher-3des1.c:25: -/usr/include/openssl/evp.h:634:38: note: declared here - 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:134:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 134 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k2), iv + 8, 8); - | ^~~~~~ -/usr/include/openssl/evp.h:634:38: note: declared here - 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:135:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 135 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k3), iv + 16, 8); - | ^~~~~~ -/usr/include/openssl/evp.h:634:38: note: declared here - 634 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:137:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 137 | memcpy(iv, EVP_CIPHER_CTX_iv(c->k1), 8); - | ^~~~~~ -/usr/include/openssl/evp.h:632:44: note: declared here - 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~ -cipher-3des1.c:138:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 138 | memcpy(iv + 8, EVP_CIPHER_CTX_iv(c->k2), 8); - | ^~~~~~ -/usr/include/openssl/evp.h:632:44: note: declared here - 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~ -cipher-3des1.c:139:17: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 139 | memcpy(iv + 16, EVP_CIPHER_CTX_iv(c->k3), 8); - | ^~~~~~ -/usr/include/openssl/evp.h:632:44: note: declared here - 632 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); - | ^~~~~~~~~~~~~~~~~ -cipher-3des1.c: In function 'evp_ssh1_3des': -cipher-3des1.c:149:9: warning: 'EVP_CIPHER_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 149 | ssh1_3des = EVP_CIPHER_meth_new(NID_undef, 8, 16); - | ^~~~~~~~~ -/usr/include/openssl/evp.h:236:13: note: declared here - 236 | EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); - | ^~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:151:9: warning: 'EVP_CIPHER_meth_set_iv_length' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 151 | EVP_CIPHER_meth_set_iv_length(ssh1_3des, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:242:5: note: declared here - 242 | int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:152:9: warning: 'EVP_CIPHER_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 152 | EVP_CIPHER_meth_set_init(ssh1_3des, ssh1_3des_init); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:248:5: note: declared here - 248 | int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:153:9: warning: 'EVP_CIPHER_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 153 | EVP_CIPHER_meth_set_cleanup(ssh1_3des, ssh1_3des_cleanup); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:260:5: note: declared here - 260 | int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:154:9: warning: 'EVP_CIPHER_meth_set_do_cipher' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 154 | EVP_CIPHER_meth_set_do_cipher(ssh1_3des, ssh1_3des_cbc); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:254:5: note: declared here - 254 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cipher-3des1.c:155:9: warning: 'EVP_CIPHER_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 155 | EVP_CIPHER_meth_set_flags(ssh1_3des, EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c compat.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_vnc.cc -o ncrack_vnc.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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fatal.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_vnc.cc -o ncrack_vnc.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_redis.cc -o ncrack_redis.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c log.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_owa.cc -o ncrack_owa.o +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_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, @@ -1680,11 +1781,42 @@ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ +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); + | ~~~~~~~~~^~~~~~~~~~~~~~~ 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/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ @@ -1696,6 +1828,25 @@ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~ ncrack_winrm.cc:964:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 964 | MD4_Init(&MD4pw); | ~~~~~~~~^~~~~~~~ @@ -1770,122 +1921,6 @@ /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ -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); - | ^~~~~~~~~~ -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c log.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_redis.cc -o ncrack_redis.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_owa.cc -o ncrack_owa.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_imap.cc -o ncrack_imap.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c match.c In function 'void rand_str(char*, size_t)', inlined from 'void winrm_negotiate(nsock_pool, Connection*)' at ncrack_winrm.cc:1001:21: @@ -1902,13 +1937,12 @@ ncrack_winrm.cc:630:36: note: returned from 'void* safe_malloc(size_t)' 630 | type2 = (char *)safe_malloc((strlen(tmp) + 1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_imap.cc -o ncrack_imap.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c md-sha256.c g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cassandra.cc -o ncrack_cassandra.o g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mssql.cc -o ncrack_mssql.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cvs.cc -o ncrack_cvs.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c md-sha256.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_wordpress.cc -o ncrack_wordpress.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c moduli.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cvs.cc -o ncrack_cvs.o 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) { @@ -1933,7 +1967,15 @@ /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 -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_wordpress.cc -o ncrack_wordpress.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_joomla.cc -o ncrack_joomla.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_dicom.cc -o ncrack_dicom.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mqtt.cc -o ncrack_mqtt.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c +gcc -c -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 -fcf-protection -Wall error.c -o error.o +gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rsa.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c xmalloc.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); @@ -1981,9 +2023,6 @@ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c xmalloc.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_joomla.cc -o ncrack_joomla.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c key.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", @@ -2003,11 +2042,11 @@ 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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kex.c -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_dicom.cc -o ncrack_dicom.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-pc-linux-gnu\" -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 -fcf-protection -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mqtt.cc -o ncrack_mqtt.o +gcc -c -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 -fcf-protection -Wall gh_heap.c -o gh_heap.o +gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c mac.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hmac.c 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); @@ -2030,7 +2069,6 @@ ncrack_mssql.cc:160:28: note: at offset 2 into source object 'len_pass' of size 1 160 | unsigned char len_login, len_pass; | ^~~~~~~~ -gcc -c -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 -fcf-protection -Wall error.c -o error.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); @@ -2052,9 +2090,25 @@ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hmac.c +gcc -c -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 -fcf-protection -Wall nsock_core.c -o nsock_core.o +gcc -c -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 -fcf-protection -Wall nsock_iod.c -o nsock_iod.o +gcc -c -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 -fcf-protection -Wall nsock_read.c -o nsock_read.o +gcc -c -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 -fcf-protection -Wall nsock_timers.c -o nsock_timers.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c misc.c +gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rijndael.c -gcc -c -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 -fcf-protection -Wall filespace.c -o filespace.o +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/modules' +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-dss.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-rsa.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c dh.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], | ~~~~~~~~~^~~~~~ @@ -2068,10 +2122,9 @@ rijndael.h:42:13: note: previously declared as 'unsigned char[]' 42 | unsigned char []); | ^~~~~~~~~~~~~~~~ -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-dss.c -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-rsa.c +gcc -c -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 -fcf-protection -Wall nsock_ssl.c -o nsock_ssl.o +gcc -c -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 -fcf-protection -Wall nsock_event.c -o nsock_event.o +gcc -c -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 -fcf-protection -Wall nsock_pool.c -o nsock_pool.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) { @@ -2080,68 +2133,6 @@ /usr/include/openssl/dsa.h:118:32: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ -ssh-dss.c: In function 'ssh_dss_verify': -ssh-dss.c:207:9: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 207 | switch (DSA_do_verify(digest, dlen, sig, key->dsa)) { - | ^~~~~~ -/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 -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 -fcf-protection -Wall nsock_core.c -o nsock_core.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); - | ^~~~ -In file included from sshkey.h:32, - from ssh-rsa.c:34: -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -ssh-rsa.c:77:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 77 | if (RSA_sign(nid, digest, dlen, sig, &len, key->rsa) != 1) { - | ^~ -/usr/include/openssl/rsa.h:359:27: note: declared here - 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, - | ^~~~~~~~ -ssh-rsa.c: In function 'ssh_rsa_verify': -ssh-rsa.c:135:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 135 | RSA_get0_key(key->rsa, &rsa_n, NULL, NULL); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -ssh-rsa.c:159:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 159 | modlen = RSA_size(key->rsa); - | ^~~~~~ -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -ssh-rsa.c: In function 'openssh_RSA_verify': -ssh-rsa.c:240:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 240 | rsasize = RSA_size(rsa); - | ^~~~~~~ -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -ssh-rsa.c:250:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 250 | if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, - | ^~ -/usr/include/openssl/rsa.h:299:5: note: declared here - 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, - | ^~~~~~~~~~~~~~~~~~ -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c dh.c -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdh.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgex.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdhc.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgexc.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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2157,12 +2148,16 @@ /usr/include/openssl/dh.h:264:28: note: declared here 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ +ssh-dss.c: In function 'ssh_dss_verify': dh.c:273:9: warning: 'DH_set_length' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 273 | DH_set_length(dh, MIN(need * 2, pbits - 1)); | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:280:27: note: declared here 280 | OSSL_DEPRECATEDIN_3_0 int DH_set_length(DH *dh, long length); | ^~~~~~~~~~~~~ +ssh-dss.c:207:9: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 207 | switch (DSA_do_verify(digest, dlen, sig, key->dsa)) { + | ^~~~~~ dh.c:274:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | r = DH_generate_key(dh); | ^ @@ -2172,6 +2167,9 @@ dh.c:275:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 275 | DH_get0_key(dh, &dh_pub_key, NULL); | ^~~~~~~~~~~ +/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, + | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ @@ -2207,45 +2205,61 @@ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -In file included from kexgexc.c:36: -/usr/include/openssl/dh.h:267:28: note: declared here - 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, - | ^~~~~~~~~~~ -kexgexc.c: In function 'ncrackssh_input_kex_dh_gex_reply': -kexgexc.c:216:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 216 | klen = DH_size(kex->dh); +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); | ^~~~ -/usr/include/openssl/dh.h:214:27: note: declared here - 214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); - | ^~~~~~~ -kexgexc.c:222:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 222 | if ((kout = DH_compute_key(kbuf, dh_server_pub, kex->dh)) < 0 || +In file included from sshkey.h:32, + from ssh-rsa.c:34: +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ +ssh-rsa.c:77:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 77 | if (RSA_sign(nid, digest, dlen, sig, &len, key->rsa) != 1) { | ^~ -/usr/include/openssl/dh.h:235:27: note: declared here - 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, - | ^~~~~~~~~~~~~~ -kexgexc.c:232:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 232 | DH_get0_key(kex->dh, &kex_dh_pub_key, NULL); - | ^~~~~~~~~~~ -/usr/include/openssl/dh.h:267:28: note: declared here - 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, - | ^~~~~~~~~~~ -kexgexc.c:233:9: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 233 | DH_get0_pqg(kex->dh, &kex_dh_p, NULL, &kex_dh_g); - | ^~~~~~~~~~~ -/usr/include/openssl/dh.h:264:28: note: declared here - 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, - | ^~~~~~~~~~~ -kexgexc.c:271:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | DH_free(kex->dh); +/usr/include/openssl/rsa.h:359:27: note: declared here + 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, + | ^~~~~~~~ +ssh-rsa.c: In function 'ssh_rsa_verify': +ssh-rsa.c:135:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 135 | RSA_get0_key(key->rsa, &rsa_n, NULL, NULL); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +ssh-rsa.c:159:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 159 | modlen = RSA_size(key->rsa); + | ^~~~~~ +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ +ssh-rsa.c: In function 'openssh_RSA_verify': +ssh-rsa.c:240:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 240 | rsasize = RSA_size(rsa); | ^~~~~~~ -/usr/include/openssl/dh.h:211:28: note: declared here - 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); - | ^~~~~~~ +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ +ssh-rsa.c:250:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 250 | if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, + | ^~ +/usr/include/openssl/rsa.h:299:5: note: declared here + 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, + | ^~~~~~~~~~~~~~~~~~ +gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdh.c +gcc -c -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 -fcf-protection -Wall nsock_pcap.c -o nsock_pcap.o +gcc -c -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 -fcf-protection -Wall nsock_engines.c -o nsock_engines.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgex.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdhc.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgexc.c +gcc -c -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 -fcf-protection -Wall engine_select.c -o engine_select.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c umac.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -o umac128.o -c ./umac.c \ + -DUMAC_OUTPUT_LEN=16 -Dumac_new=umac128_new \ + -Dumac_update=umac128_update -Dumac_final=umac128_final \ + -Dumac_delete=umac128_delete +gcc -c -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 -fcf-protection -Wall engine_epoll.c -o engine_epoll.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); @@ -2279,11 +2293,11 @@ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ -gcc -c -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 -fcf-protection -Wall nsock_read.c -o nsock_read.o -gcc -c -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 -fcf-protection -Wall nsock_timers.c -o nsock_timers.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c umac.c -gcc -c -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 -fcf-protection -Wall nsock_write.c -o nsock_write.o -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshconnect2.c +gcc -c -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 -fcf-protection -Wall engine_kqueue.c -o engine_kqueue.o +gcc -c -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 -fcf-protection -Wall engine_poll.c -o engine_poll.o +gcc -c -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 -fcf-protection -Wall nsock_proxy.c -o nsock_proxy.o +gcc -c -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 -fcf-protection -Wall nsock_log.c -o nsock_log.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); @@ -2318,25 +2332,55 @@ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ +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); + | ^~~~~~~~~~~ +In file included from kexgexc.c:36: +/usr/include/openssl/dh.h:267:28: note: declared here + 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, + | ^~~~~~~~~~~ umac.c: In function 'umac_new': +kexgexc.c: In function 'ncrackssh_input_kex_dh_gex_reply': +kexgexc.c:216:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 216 | klen = DH_size(kex->dh); + | ^~~~ +/usr/include/openssl/dh.h:214:27: note: declared here + 214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); + | ^~~~~~~ +kexgexc.c:222:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 222 | if ((kout = DH_compute_key(kbuf, dh_server_pub, kex->dh)) < 0 || + | ^~ +/usr/include/openssl/dh.h:235:27: note: declared here + 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, + | ^~~~~~~~~~~~~~ +kexgexc.c:232:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 232 | DH_get0_key(kex->dh, &kex_dh_pub_key, NULL); + | ^~~~~~~~~~~ +/usr/include/openssl/dh.h:267:28: note: declared here + 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, + | ^~~~~~~~~~~ umac.c:1229:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1229 | aes_key_setup(key, prf_key); | ^~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -o umac128.o -c ./umac.c \ - -DUMAC_OUTPUT_LEN=16 -Dumac_new=umac128_new \ - -Dumac_update=umac128_update -Dumac_final=umac128_final \ - -Dumac_delete=umac128_delete -gcc -c -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 -fcf-protection -Wall nsock_event.c -o nsock_event.o -gcc -c -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 -fcf-protection -Wall nsock_pool.c -o nsock_pool.o -make[2]: Leaving directory '/build/reproducible-path/ncrack-0.7+debian/modules' -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshconnect2.c -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c +kexgexc.c:233:9: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 233 | DH_get0_pqg(kex->dh, &kex_dh_p, NULL, &kex_dh_g); + | ^~~~~~~~~~~ +/usr/include/openssl/dh.h:264:28: note: declared here + 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, + | ^~~~~~~~~~~ +kexgexc.c:271:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | DH_free(kex->dh); + | ^~~~~~~ +/usr/include/openssl/dh.h:211:28: note: declared here + 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); + | ^~~~~~~ +gcc -c -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 -fcf-protection -Wall proxy_http.c -o proxy_http.o ./umac.c: In function 'kdf': +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c ./umac.c:198:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | aes_encryption(in_buf, out_buf, key); | ^~~~~~~~~~~~~~ @@ -2377,71 +2421,31 @@ /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 -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 -fcf-protection -Wall nsock_engines.c -o nsock_engines.o +gcc -c -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 -fcf-protection -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssherr.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c addrmatch.c -gcc -c -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 -fcf-protection -Wall engine_select.c -o engine_select.o -gcc -c -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 -fcf-protection -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c vis.c -gcc -c -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 -fcf-protection -Wall engine_kqueue.c -o engine_kqueue.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-misc.c -gcc -c -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 -fcf-protection -Wall engine_poll.c -o engine_poll.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-libc.c -gcc -c -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 -fcf-protection -Wall nsock_proxy.c -o nsock_proxy.o +rm -f libnsock.a 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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-openssl.c -gcc -c -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 -fcf-protection -Wall nsock_log.c -o nsock_log.o -gcc -c -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 -fcf-protection -Wall proxy_http.c -o proxy_http.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c explicit_bzero.c -gcc -c -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 -fcf-protection -Wall proxy_socks4.c -o proxy_socks4.o +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 -fcf-protection -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. -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 -fcf-protection -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. -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c arc4random.c +ranlib libnsock.a 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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-chachapoly.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 -fcf-protection -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. -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c timingsafe_bcmp.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-getput-crypto.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexc25519c.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexc25519.c -sshbuf-getput-crypto.c: In function 'sshbuf_get_eckey': -sshbuf-getput-crypto.c:113:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); - | ^~~~~~~~ -In file included from sshbuf.h:31, - from buffer.h:28, - from entropy.h:30, - from includes.h:190, - from sshbuf-getput-crypto.c:19: -/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); - | ^~~~~~~~~~~~~~~~~ -sshbuf-getput-crypto.c:126:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 126 | if ((r = get_ec(d, len, pt, EC_KEY_get0_group(v))) != 0) { - | ^~ -/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); - | ^~~~~~~~~~~~~~~~~ -sshbuf-getput-crypto.c:130:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 130 | if (EC_KEY_set_public_key(v, pt) != 1) { - | ^~ -/usr/include/openssl/ec.h:1089:27: note: declared here - 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); - | ^~~~~~~~~~~~~~~~~~~~~ -sshbuf-getput-crypto.c: In function 'sshbuf_put_eckey': -sshbuf-getput-crypto.c:220:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 220 | return sshbuf_put_ec(buf, EC_KEY_get0_public_key(v), - | ^~~~~~ -/usr/include/openssl/ec.h:1081:39: note: declared here - 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~ -sshbuf-getput-crypto.c:221:13: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 221 | EC_KEY_get0_group(v)); - | ^~~~~~~~~~~~~~~~~ -/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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshkey.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) { @@ -2469,6 +2473,7 @@ kexecdhc.c:76:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | public_key = EC_KEY_get0_public_key(client_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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-misc.c /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2497,6 +2502,47 @@ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.c +sshbuf-getput-crypto.c: In function 'sshbuf_get_eckey': +sshbuf-getput-crypto.c:113:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); + | ^~~~~~~~ +In file included from sshbuf.h:31, + from buffer.h:28, + from entropy.h:30, + from includes.h:190, + from sshbuf-getput-crypto.c:19: +/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); + | ^~~~~~~~~~~~~~~~~ +sshbuf-getput-crypto.c:126:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 126 | if ((r = get_ec(d, len, pt, EC_KEY_get0_group(v))) != 0) { + | ^~ +/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); + | ^~~~~~~~~~~~~~~~~ +sshbuf-getput-crypto.c:130:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 130 | if (EC_KEY_set_public_key(v, pt) != 1) { + | ^~ +/usr/include/openssl/ec.h:1089:27: note: declared here + 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); + | ^~~~~~~~~~~~~~~~~~~~~ +sshbuf-getput-crypto.c: In function 'sshbuf_put_eckey': +sshbuf-getput-crypto.c:220:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 220 | return sshbuf_put_ec(buf, EC_KEY_get0_public_key(v), + | ^~~~~~ +/usr/include/openssl/ec.h:1081:39: note: declared here + 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~ +sshbuf-getput-crypto.c:221:13: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 221 | EC_KEY_get0_group(v)); + | ^~~~~~~~~~~~~~~~~ +/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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ed25519.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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hash.c 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], | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2510,14 +2556,7 @@ kex.h:227:67: note: previously declared as 'const u_char *' {aka 'const unsigned char *'} 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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshkey.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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ed25519.c -rm -f libnsock.a -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blowfish.c -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hash.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c uuencode.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); @@ -2594,6 +2633,7 @@ sshkey.c:563:21: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 563 | RSA_set0_crt_params(k->rsa, BN_new(), BN_new(), BN_new()) == 0) | ^~~~~~~~~~~~~~~~~~~ +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blocks.c /usr/include/openssl/rsa.h:220:27: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ @@ -2752,6 +2792,7 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ sshkey.c: In function 'dsa_generate_private_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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ecdsa.c sshkey.c:1605:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1605 | if ((private = DSA_new()) == NULL) { | ^~ @@ -2833,7 +2874,7 @@ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ -ranlib libnsock.a +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c base64.c sshkey.c:1829:21: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1829 | DSA_set0_key(n->dsa, pub_key, NULL) == 0) { | ^~~~~~~~~~~~ @@ -2870,6 +2911,7 @@ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ed25519.c sshkey.c: In function 'sshkey_from_blob_internal': sshkey.c:2065:21: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2065 | RSA_set0_key(key->rsa, n, e, NULL) == 0) { @@ -2895,21 +2937,19 @@ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c uuencode.c sshkey.c:2092:21: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2092 | DSA_set0_key(key->dsa, pub_key, NULL) == 0) { | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blocks.c sshkey.c:2123:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2123 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ecdsa.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sc25519.c sshkey.c:2124:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2124 | if ((key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid)) | ^~ @@ -2922,7 +2962,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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c base64.c sshkey.c:2133:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2133 | if (sshbuf_get_ec(b, q, EC_KEY_get0_group(key->ecdsa)) != 0) { | ^~ @@ -2941,8 +2980,6 @@ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ed25519.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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sc25519.c sshkey.c: In function 'sshkey_demote': sshkey.c:2339:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2339 | RSA_get0_key(k->rsa, &n, &e, NULL); @@ -2986,7 +3023,6 @@ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ge25519.c sshkey.c:2355:21: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2355 | DSA_set0_key(pk->dsa, BN_dup(pub_key), NULL) == 0) { | ^~~~~~~~~~~~ @@ -3011,7 +3047,6 @@ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fe25519.c sshkey.c: In function 'sshkey_certify': sshkey.c:2482:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2482 | DSA_get0_pqg(k->dsa, &p, &q, &g); @@ -3040,6 +3075,7 @@ sshkey.c:2501:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2501 | RSA_get0_key(k->rsa, &n, &e, NULL); | ^~~~~~~~~~~~ +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ge25519.c /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ @@ -3111,6 +3147,7 @@ 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ sshkey.c: In function 'sshkey_private_deserialize': +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fe25519.c sshkey.c:2764:21: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2764 | DSA_set0_pqg(k->dsa, p, q, g) == 0 || | ^~~~~~~~~~~~ @@ -3147,6 +3184,7 @@ /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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c verify.c sshkey.c:2805:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2805 | EC_KEY_get0_public_key(k->ecdsa)) != 0) || | ^~~~~~~~~~~~~~~~~~~~~~ @@ -3207,14 +3245,33 @@ /usr/include/openssl/rsa.h:220:27: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ +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) { + | ^~ +In file included from sshbuf.h:31, + from buffer.h:28, + from entropy.h:30, + from includes.h:190, + from ssh-ecdsa.c:27: +/usr/include/openssl/ec.h:1384:34: note: declared here + 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, + | ^~~~~~~~~~~~~ sshkey.c:2909:17: warning: 'RSA_blinding_on' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2909 | if (RSA_blinding_on(k->rsa, NULL) != 1) { | ^~ /usr/include/openssl/rsa.h:382:27: note: declared here 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c verify.c +ssh-ecdsa.c: In function 'ssh_ecdsa_verify': +ssh-ecdsa.c:172:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 172 | switch (ECDSA_do_verify(digest, dlen, sig, key->ecdsa)) { + | ^~~~~~ +/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, + | ^~~~~~~~~~~~~~~ sshkey.c: In function 'sshkey_ec_validate_public': +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c opacket.c sshkey.c:2958:9: warning: 'EC_METHOD_get_field_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2958 | if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) != | ^~ @@ -3227,6 +3284,7 @@ /usr/include/openssl/ec.h:185:40: note: declared here 185 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~ +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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c smult_curve25519_ref.c sshkey.c:2976:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2976 | EC_POINT_get_affine_coordinates_GFp(group, public, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3296,28 +3354,6 @@ /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); | ^~~~~~~~~~~~~~~~~~~~~~~ -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) { - | ^~ -In file included from sshbuf.h:31, - from buffer.h:28, - from entropy.h:30, - from includes.h:190, - from ssh-ecdsa.c:27: -/usr/include/openssl/ec.h:1384:34: note: declared here - 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, - | ^~~~~~~~~~~~~ -ssh-ecdsa.c: In function 'ssh_ecdsa_verify': -ssh-ecdsa.c:172:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 172 | switch (ECDSA_do_verify(digest, dlen, sig, key->ecdsa)) { - | ^~~~~~ -/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, - | ^~~~~~~~~~~~~~~ -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 -fcf-protection -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. -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 -fcf-protection -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. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c smult_curve25519_ref.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] @@ -3827,12 +3863,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/3144145/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3144145/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/2213801 and its subdirectories -I: Current time: Sun Mar 29 05:48:24 -12 2026 -I: pbuilder-time-stamp: 1774806504 +I: removing directory /srv/workspace/pbuilder/3144145 and its subdirectories +I: Current time: Tue Feb 25 01:26:55 +14 2025 +I: pbuilder-time-stamp: 1740396415