Diff of the two buildlogs: -- --- b1/build.log 2023-04-16 09:26:39.447212247 +0000 +++ b2/build.log 2023-04-16 09:28:19.330780434 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 18 03:44:24 -12 2024 -I: pbuilder-time-stamp: 1716047064 +I: Current time: Sun Apr 16 23:26:40 +14 2023 +I: pbuilder-time-stamp: 1681637200 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ncrack_0.7+debian.orig.tar.xz] I: copying [./ncrack_0.7+debian-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Mar 1 10:56:24 2023 -12 +gpgv: Signature made Thu Mar 2 12:56:24 2023 +14 gpgv: using RSA key 7CB8AFFD56032FE35A347D2E6ACCBD0FA3B7447C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ncrack_0.7+debian-4.dsc: no acceptable signature found @@ -29,135 +29,167 @@ dpkg-source: info: applying fix-spelling-errors.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1279355/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1088014/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Apr 16 23:26 /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/1088014/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1088014/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='83d53f63b9de4f3cbbb798cd009ff360' - 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='1279355' - PS1='# ' - PS2='> ' + INVOCATION_ID=5b3f09981b7040e29f3e0e3b5f437b12 + 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=1088014 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.wmH6QYwF/pbuilderrc_CQdN --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wmH6QYwF/b1 --logfile b1/build.log ncrack_0.7+debian-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + 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.wmH6QYwF/pbuilderrc_nnET --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wmH6QYwF/b2 --logfile b2/build.log --extrapackages usrmerge ncrack_0.7+debian-4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1279355/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 10:05 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:05 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 16 23:26 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1088014/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -229,7 +261,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 libssl-dev amd64 3.0.8-1 [2427 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB] -Fetched 22.1 MB in 1s (36.6 MB/s) +Fetched 22.1 MB in 0s (64.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) @@ -371,8 +403,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-4_source.changes +I: user script /srv/workspace/pbuilder/1088014/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1088014/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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-4_source.changes dpkg-buildpackage: info: source package ncrack dpkg-buildpackage: info: source version 0.7+debian-4 dpkg-buildpackage: info: source distribution unstable @@ -621,7 +664,7 @@ config.status: creating modules/Makefile config.status: creating ncrack_config.h === configuring in nbase (/build/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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out @@ -645,8 +688,8 @@ checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for string.h... (cached) yes checking for getopt.h... yes checking for strings.h... (cached) yes @@ -724,7 +767,7 @@ config.status: creating Makefile config.status: creating nbase_config.h === configuring in nsock/src (/build/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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--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 @@ -759,8 +802,8 @@ checking for gethostent... yes checking for setsockopt... yes checking for nanosleep... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for net/bpf.h... no checking for sys/ioctl.h... yes checking for sys/un.h... yes @@ -777,7 +820,7 @@ config.status: creating ../tests/Makefile config.status: creating ../include/nsock_config.h === configuring in opensshlib (/build/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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out @@ -804,19 +847,19 @@ checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ar... ar -checking for cat... /bin/cat +checking for cat... /usr/bin/cat checking for kill... no checking for perl5... no checking for perl... /usr/bin/perl -checking for sed... /bin/sed +checking for sed... /usr/bin/sed checking for ent... no -checking for bash... /bin/bash -checking for ksh... (cached) /bin/bash -checking for sh... (cached) /bin/bash -checking for sh... /bin/sh +checking for bash... /usr/bin/bash +checking for ksh... (cached) /usr/bin/bash +checking for sh... (cached) /usr/bin/bash +checking for sh... /usr/bin/sh checking for groff... /usr/bin/groff checking for nroff... /usr/bin/nroff checking for mandoc... no @@ -825,7 +868,7 @@ checking for pkgmk... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no -checking for login... /bin/login +checking for login... /usr/bin/login checking for passwd... /usr/bin/passwd checking for inline... inline checking for gcc options needed to detect all undeclared functions... none needed @@ -1316,33 +1359,35 @@ Configuration complete. Type make (or gmake on some *BSD machines) to compile. make[1]: Leaving directory '/build/ncrack-0.7+debian' dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/ncrack-0.7+debian' 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 -make[2]: Entering directory '/build/ncrack-0.7+debian/nbase' -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c cd opensshlib && make -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_str.o nbase_str.c Compiling modules cd modules && make -make[2]: Entering directory '/build/ncrack-0.7+debian/opensshlib' +make[2]: Entering directory '/build/ncrack-0.7+debian/nbase' +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcpy.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nbase_memalloc.o nbase_memalloc.c make[2]: Entering directory '/build/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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ssh.cc -o ncrack_ssh.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcat.c +make[2]: Entering directory '/build/ncrack-0.7+debian/opensshlib' +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcpy.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-snprintf.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strlcat.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-asprintf.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_smb2.cc -o ncrack_smb2.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sha2.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_rdp.cc -o ncrack_rdp.o +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_sip.cc -o ncrack_sip.o +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-asprintf.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.o +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sha2.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bufaux.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bufbn.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c buffer.c @@ -1352,10 +1397,11 @@ gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c reallocarray.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-bf1.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_sip.cc -o ncrack_sip.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-3des1.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cleanup.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c compat.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c crc32.c +rm -f libnbase.a 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); @@ -1386,13 +1432,6 @@ /usr/include/openssl/evp.h:591:5: note: declared here 591 | int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c crc32.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fatal.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c log.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c match.c -rm -f libnbase.a -ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o -ranlib libnbase.a 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()); @@ -1413,14 +1452,20 @@ /usr/include/openssl/evp.h:250:5: note: declared here 250 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o +ranlib libnbase.a +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fatal.c make[2]: Leaving directory '/build/ncrack-0.7+debian/nbase' -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c md-sha256.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c moduli.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c log.c +Compiling libnsock +cd nsock/src && make +make[2]: Entering directory '/build/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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c match.c cipher-3des1.c: In function 'ssh1_3des_iv': cipher-3des1.c:133:17: warning: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | memcpy(EVP_CIPHER_CTX_iv_noconst(c->k1), iv, 8); | ^~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c In file included from cipher-3des1.c:25: /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); @@ -1492,12 +1537,44 @@ /usr/include/openssl/evp.h:240:5: note: declared here 240 | int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c md-sha256.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c moduli.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c packet.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rsa.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c xmalloc.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c key.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kex.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c mac.c +moduli.c: In function 'prime_test': +moduli.c:765:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 765 | if (BN_is_prime_ex(q, 1, ctx, NULL) <= 0) { + | ^~ +In file included from sshbuf.h:29, + from buffer.h:28, + from entropy.h:30, + from includes.h:190, + from moduli.c:40: +/usr/include/openssl/bn.h:373:5: note: declared here + 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); + | ^~~~~~~~~~~~~~ +moduli.c:778:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 778 | if (!BN_is_prime_ex(p, trials, ctx, NULL)) { + | ^~ +/usr/include/openssl/bn.h:373:5: note: declared here + 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); + | ^~~~~~~~~~~~~~ +moduli.c:785:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 785 | if (!BN_is_prime_ex(q, trials - 1, ctx, NULL)) { + | ^~ +/usr/include/openssl/bn.h:373:5: note: declared here + 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); + | ^~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hmac.c +xmalloc.c: In function 'xasprintf': +xmalloc.c:114:13: warning: implicit declaration of function 'vasprintf'; did you mean 'xasprintf'? [-Wimplicit-function-declaration] + 114 | i = vasprintf(ret, fmt, ap); + | ^~~~~~~~~ + | xasprintf 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); @@ -1547,38 +1624,191 @@ | ^~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c misc.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c rijndael.c -moduli.c: In function 'prime_test': -moduli.c:765:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 765 | if (BN_is_prime_ex(q, 1, ctx, NULL) <= 0) { - | ^~ -In file included from sshbuf.h:29, - from buffer.h:28, - from entropy.h:30, - from includes.h:190, - from moduli.c:40: -/usr/include/openssl/bn.h:373:5: note: declared here - 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); - | ^~~~~~~~~~~~~~ -moduli.c:778:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 778 | if (!BN_is_prime_ex(p, trials, ctx, NULL)) { - | ^~ -/usr/include/openssl/bn.h:373:5: note: declared here - 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); - | ^~~~~~~~~~~~~~ -moduli.c:785:17: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 785 | if (!BN_is_prime_ex(q, trials - 1, ctx, NULL)) { - | ^~ -/usr/include/openssl/bn.h:373:5: note: declared here - 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); - | ^~~~~~~~~~~~~~ +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); + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ncrack_rdp.cc:136: +/usr/include/openssl/rc4.h:37:28: note: declared here + 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, + | ^~~ +ncrack_rdp.cc:3784:10: warning: 'void RC4(RC4_KEY*, size_t, const unsigned char*, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 3784 | RC4(&info->rc4_decrypt_key, datalen, p, p); + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rc4.h:37:28: note: declared here + 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, + | ^~~ +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); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rc4.h:35:28: note: declared here + 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, + | ^~~~~~~~~~~ +ncrack_rdp.cc:4177:14: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4177 | RC4_set_key(&info->rc4_decrypt_key, info->rc4_keylen, info->decrypt_key); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rc4.h:35:28: note: declared here + 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, + | ^~~~~~~~~~~ +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); + | ~~~~~~~~~^~~~~~~~~~~ +In file included from ncrack_rdp.cc:138: +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_rdp.cc:4321:11: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4321 | MD5_Init(&md5_ctx); + | ~~~~~~~~^~~~~~~~~~ +In file included from ncrack_rdp.cc:137: +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_rdp.cc:4328:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4328 | SHA1_Update(&sha1_ctx, info->sign_key, info->rc4_keylen); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4329:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4329 | SHA1_Update(&sha1_ctx, pad54, 40); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4330 | SHA1_Update(&sha1_ctx, len_header, 4); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4331 | SHA1_Update(&sha1_ctx, data, datalen); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4332 | SHA1_Final(sha1_sig, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +ncrack_rdp.cc:4334:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4334 | MD5_Update(&md5_ctx, info->sign_key, info->rc4_keylen); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4335:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4335 | MD5_Update(&md5_ctx, pad92, 48); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4336:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4336 | MD5_Update(&md5_ctx, sha1_sig, 20); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4337:12: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4337 | MD5_Final(md5_sig, &md5_ctx); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/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_rdp.cc:4350:6: warning: 'void RC4(RC4_KEY*, size_t, const unsigned char*, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 4350 | RC4(&info->rc4_encrypt_key, datalen, data, data); + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rc4.h:37:28: note: declared here + 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, + | ^~~ +ncrack_psql.cc: In function 'void make_response(char*, const char*, const char*, const char*)': +ncrack_psql.cc:177:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 177 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +In file included from ncrack_psql.cc:135: +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_psql.cc:178:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 178 | MD5_Update(&md5, password, strlen(password)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:179:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 179 | MD5_Update(&md5, username, strlen(username)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:180:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 180 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +ncrack_psql.cc:184:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 184 | MD5_Init(&md5); + | ~~~~~~~~^~~~~~ +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +ncrack_psql.cc:185:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 185 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:186:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 186 | MD5_Update(&md5, salt, strlen(salt)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ +ncrack_psql.cc:187:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 187 | MD5_Final(hashbuf, &md5); + | ~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +packet.c: In function 'sshpkt_fatal': +packet.c:2034:52: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2034 | logit("Connection reset by %.200s", + | ^~~~~~ +packet.c:2029:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2029 | logit("Disconnected from %.200s", + | ^~~~~~ +packet.c:2045:57: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2045 | fatal("Unable to negotiate with %.200s: %s. " + | ^~~~~~ +packet.c:2023:45: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2023 | logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); + | ^~~~~~ +packet.c:2026:38: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2026 | logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); + | ^~~~~~ +packet.c:2051:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] + 2051 | fatal("%s%sConnection to %.200s: %s", + | ^~~~~~ +rijndael.c:762:64: warning: argument 3 of type 'const u8[16]' {aka 'const unsigned char[16]'} with mismatched bound [-Warray-parameter=] + 762 | rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], + | ~~~~~~~~~^~~~~~ +In file included from rijndael.c:34: +rijndael.h:41:53: note: previously declared as 'const unsigned char[]' + 41 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], + | ^~~~~~~~~~~~~~~~~~~~~~ +rijndael.c:763:8: warning: argument 4 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] + 763 | u8 ct[16]) + | ~~~^~~~~~ +rijndael.h:42:13: note: previously declared as 'unsigned char[]' + 42 | unsigned char []); + | ^~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-dss.c -xmalloc.c: In function 'xasprintf': -xmalloc.c:114:13: warning: implicit declaration of function 'vasprintf'; did you mean 'xasprintf'? [-Wimplicit-function-declaration] - 114 | i = vasprintf(ret, fmt, ap); - | ^~~~~~~~~ - | xasprintf -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-rsa.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c dh.c kex.c: In function 'kex_free': kex.c:653:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 653 | DH_free(kex->dh); @@ -1600,19 +1830,40 @@ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -rijndael.c:762:64: warning: argument 3 of type 'const u8[16]' {aka 'const unsigned char[16]'} with mismatched bound [-Warray-parameter=] - 762 | rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], - | ~~~~~~~~~^~~~~~ -In file included from rijndael.c:34: -rijndael.h:41:53: note: previously declared as 'const unsigned char[]' - 41 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], - | ^~~~~~~~~~~~~~~~~~~~~~ -rijndael.c:763:8: warning: argument 4 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] - 763 | u8 ct[16]) - | ~~~^~~~~~ -rijndael.h:42:13: note: previously declared as 'unsigned char[]' - 42 | unsigned char []); - | ^~~~~~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-rsa.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mysql.cc -o ncrack_mysql.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_winrm.cc -o ncrack_winrm.o +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c dh.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdh.c +In function 'void make_response(char*, const char*, const char*, const char*)', + inlined from 'void ncrack_psql(nsock_pool, Connection*)' at ncrack_psql.cc:327:20: +ncrack_psql.cc:195:36: warning: array subscript 35 is outside array bounds of 'char [35]' [-Warray-bounds] + 195 | buf[MD5_DIGEST_LENGTH * 2 + 3] = '\0'; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +ncrack_psql.cc: In function 'void ncrack_psql(nsock_pool, Connection*)': +ncrack_psql.cc:295:8: note: at offset 35 into object 'response_hex' of size 35 + 295 | char response_hex[MD5_DIGEST_LENGTH *2 + 3]; + | ^~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgex.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mongodb.cc -o ncrack_mongodb.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) { + | ^~ +In file included from ssh-dss.c:33: +/usr/include/openssl/dsa.h:113:32: note: declared here + 113 | 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:115:27: note: declared here + 115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdhc.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.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); @@ -1654,7 +1905,6 @@ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdh.c 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); @@ -1720,50 +1970,12 @@ /usr/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ -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) { - | ^~ -In file included from ssh-dss.c:33: -/usr/include/openssl/dsa.h:113:32: note: declared here - 113 | 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:115:27: note: declared here - 115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, - | ^~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgex.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexdhc.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexgexc.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c umac.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -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 -packet.c: In function 'sshpkt_fatal': -packet.c:2034:52: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2034 | logit("Connection reset by %.200s", - | ^~~~~~ -packet.c:2029:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2029 | logit("Disconnected from %.200s", - | ^~~~~~ -packet.c:2045:57: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2045 | fatal("Unable to negotiate with %.200s: %s. " - | ^~~~~~ -packet.c:2023:45: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2023 | logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); - | ^~~~~~ -packet.c:2026:38: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2026 | logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); - | ^~~~~~ -packet.c:2051:42: warning: '%.200s' directive argument is null [-Wformat-overflow=] - 2051 | fatal("%s%sConnection to %.200s: %s", - | ^~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshconnect2.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c 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); @@ -1797,253 +2009,322 @@ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ -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:256:28: note: declared here - 256 | 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); - | ^~~~ -/usr/include/openssl/dh.h:203:27: note: declared here - 203 | 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:224:27: note: declared here - 224 | 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:256:28: note: declared here - 256 | 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:253:28: note: declared here - 253 | 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:200:28: note: declared here - 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); - | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshconnect2.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssherr.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c addrmatch.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_psql.cc -o ncrack_psql.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-getput-basic.c -umac.c: In function 'kdf': -umac.c:198:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./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); | ^~~~~~~~~~~~~~ -In file included from umac.c:162: +In file included from ./umac.c:162: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -umac.c:205:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./umac.c:205:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | aes_encryption(in_buf, out_buf, key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -umac.c: In function 'pdf_init': -umac.c:227:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./umac.c: In function 'pdf_init': +./umac.c:227:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | aes_key_setup(buf, pc->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, | ^~~~~~~~~~~~~~~~~~~ -umac.c:231:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./umac.c:231:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | aes_encryption(pc->nonce, pc->cache, pc->prf_key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -umac.c: In function 'pdf_gen_xor': -umac.c:263:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./umac.c: In function 'pdf_gen_xor': +./umac.c:263:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | aes_encryption(pc->nonce, pc->cache, pc->prf_key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c vis.c -umac.c: In function 'umac_new': -umac.c:1229:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +./umac.c: In function 'umac128_new': +./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, | ^~~~~~~~~~~~~~~~~~~ -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); - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ncrack_rdp.cc:136: -/usr/include/openssl/rc4.h:37:28: note: declared here - 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, - | ^~~ -ncrack_rdp.cc:3784:10: warning: 'void RC4(RC4_KEY*, size_t, const unsigned char*, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 3784 | RC4(&info->rc4_decrypt_key, datalen, p, p); - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rc4.h:37:28: note: declared here - 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, - | ^~~ -./umac.c: In function 'kdf': -./umac.c:198:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +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:256:28: note: declared here + 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, + | ^~~~~~~~~~~ +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); | ^~~~~~~~~~~~~~ -In file included from ./umac.c:162: +In file included from umac.c:162: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -./umac.c:205:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +umac.c:205:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | aes_encryption(in_buf, out_buf, key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -./umac.c: In function 'pdf_init': -./umac.c:227:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +umac.c: In function 'pdf_init': +umac.c:227:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | aes_key_setup(buf, pc->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, | ^~~~~~~~~~~~~~~~~~~ -./umac.c:231:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +umac.c:231:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | aes_encryption(pc->nonce, pc->cache, pc->prf_key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -./umac.c: In function 'pdf_gen_xor': -./umac.c:263:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +umac.c: In function 'pdf_gen_xor': +umac.c:263:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | aes_encryption(pc->nonce, pc->cache, pc->prf_key); | ^~~~~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ -./umac.c: In function 'umac128_new': -./umac.c:1229:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] +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:203:27: note: declared here + 203 | 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:224:27: note: declared here + 224 | 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:256:28: note: declared here + 256 | 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:253:28: note: declared here + 253 | 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:200:28: note: declared here + 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); + | ^~~~~~~ +umac.c: In function 'umac_new': +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, | ^~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rc4.h:35:28: note: declared here - 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, - | ^~~~~~~~~~~ -ncrack_rdp.cc:4177:14: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4177 | RC4_set_key(&info->rc4_decrypt_key, info->rc4_keylen, info->decrypt_key); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rc4.h:35:28: note: declared here - 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, - | ^~~~~~~~~~~ -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); +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c vis.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-misc.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-libc.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-openssl.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c explicit_bzero.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strtonum.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdh.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdhc.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c arc4random.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); | ~~~~~~~~~^~~~~~~~~~~ -In file included from ncrack_rdp.cc:138: +In file included from ncrack_mysql.cc:137: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ -ncrack_rdp.cc:4321:11: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4321 | MD5_Init(&md5_ctx); - | ~~~~~~~~^~~~~~~~~~ -In file included from ncrack_rdp.cc:137: -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_rdp.cc:4328:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4328 | SHA1_Update(&sha1_ctx, info->sign_key, info->rc4_keylen); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ncrack_mysql.cc:320:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 320 | SHA1_Update(&sha1_ctx, (const uint8_t *) password, strlen(password)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ -ncrack_rdp.cc:4329:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4329 | SHA1_Update(&sha1_ctx, pad54, 40); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +ncrack_mysql.cc:321:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 321 | SHA1_Final(first_hash, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +ncrack_mysql.cc:324:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 324 | SHA1_Init(&sha1_ctx); + | ~~~~~~~~~^~~~~~~~~~~ +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mysql.cc:325:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 325 | SHA1_Update(&sha1_ctx, first_hash, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ -ncrack_rdp.cc:4330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4330 | SHA1_Update(&sha1_ctx, len_header, 4); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +ncrack_mysql.cc:326:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 326 | SHA1_Final(second_hash, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); + | ^~~~~~~~~~ +ncrack_mysql.cc:329:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 329 | SHA1_Init(&sha1_ctx); + | ~~~~~~~~~^~~~~~~~~~~ +/usr/include/openssl/sha.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); + | ^~~~~~~~~ +ncrack_mysql.cc:330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 330 | SHA1_Update(&sha1_ctx, (const uint8_t *) salt, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ -ncrack_rdp.cc:4331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4331 | SHA1_Update(&sha1_ctx, data, datalen); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +ncrack_mysql.cc:331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 331 | SHA1_Update(&sha1_ctx, second_hash, SHA1_HASH_SIZE); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ -ncrack_rdp.cc:4332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4332 | SHA1_Final(sha1_sig, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +ncrack_mysql.cc:332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 332 | SHA1_Final((uint8_t *) buf, &sha1_ctx); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ -ncrack_rdp.cc:4334:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4334 | MD5_Update(&md5_ctx, info->sign_key, info->rc4_keylen); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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_rdp.cc:4335:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4335 | MD5_Update(&md5_ctx, pad92, 48); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/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); +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-chachapoly.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c chacha.c +ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': +ncrack_winrm.cc:885:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 885 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)lmbuffer, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 886 | &ks, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~ +In file included from ncrack_winrm.cc:138: +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:889:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 889 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)(lmbuffer + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 890 | &ks, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:897:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 897 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) lmresp, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 898 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:901:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 901 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 902 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:905:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 905 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 16), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 906 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:964:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 964 | MD4_Init(&MD4pw); + | ~~~~~~~~^~~~~~~~ +In file included from ncrack_winrm.cc:139: +/usr/include/openssl/md4.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); + | ^~~~~~~~ +ncrack_winrm.cc:965:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 965 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ -ncrack_rdp.cc:4336:13: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4336 | MD5_Update(&md5_ctx, sha1_sig, 20); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/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_winrm.cc:966:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 966 | MD4_Final(ntbuffer, &MD4pw); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:52:27: note: declared here + 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); + | ^~~~~~~~~ +ncrack_winrm.cc:970:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 970 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) ntresp, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 971 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:974:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 974 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 8), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 975 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:978:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 978 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 16), + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 979 | &ks2, DES_ENCRYPT); + | ~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/des.h:105:6: note: declared here + 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, + | ^~~~~~~~~~~~~~~ +ncrack_winrm.cc:989:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 989 | MD4_Init(&MD4pw); + | ~~~~~~~~^~~~~~~~ +/usr/include/openssl/md4.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); + | ^~~~~~~~ +ncrack_winrm.cc:990:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 990 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ -ncrack_rdp.cc:4337:12: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4337 | MD5_Final(md5_sig, &md5_ctx); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/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:991:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 991 | MD4_Final(ntbuffer, &MD4pw); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/md4.h:52:27: note: declared here + 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); | ^~~~~~~~~ -ncrack_rdp.cc:4350:6: warning: 'void RC4(RC4_KEY*, size_t, const unsigned char*, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 4350 | RC4(&info->rc4_encrypt_key, datalen, data, data); - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mysql.cc -o ncrack_mysql.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bsd-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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_winrm.cc -o ncrack_winrm.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-libc.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mongodb.cc -o ncrack_mongodb.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c digest-openssl.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c explicit_bzero.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c strtonum.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdh.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexecdhc.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c arc4random.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c cipher-chachapoly.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c chacha.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c poly1305.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c timingsafe_bcmp.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-getput-crypto.c +ncrack_winrm.cc: In function 'void setup_des_key(const unsigned char*, DES_key_schedule*)': +ncrack_winrm.cc:1410:21: warning: 'void DES_set_odd_parity(unsigned char (*)[8])' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1410 | DES_set_odd_parity(&key); + | ~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/des.h:176:28: note: declared here + 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); + | ^~~~~~~~~~~~~~~~~~ +ncrack_winrm.cc:1413:14: warning: 'int DES_set_key(unsigned char (*)[8], DES_key_schedule*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1413 | DES_set_key(&key, ks); + | ~~~~~~~~~~~^~~~~~~~~~ +/usr/include/openssl/des.h:186:5: note: declared here + 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); + | ^~~~~~~~~~~ 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) { @@ -2099,15 +2380,130 @@ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ +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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c timingsafe_bcmp.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-getput-crypto.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexc25519c.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c kexc25519.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshkey.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_pop3.cc -o ncrack_pop3.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sshbuf-misc.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)); | ^~~~~~~~ -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_pop3.cc -o ncrack_pop3.o In file included from sshbuf.h:31, from buffer.h:28, from entropy.h:30, @@ -2141,8 +2537,6 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_vnc.cc -o ncrack_vnc.o kexc25519.c:92:18: warning: argument 10 of type 'const u_char[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] 92 | const u_char client_dh_pub[CURVE25519_SIZE], | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2156,72 +2550,27 @@ 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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c bcrypt_pbkdf.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ed25519.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blowfish.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_redis.cc -o ncrack_redis.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c hash.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); - | ~~~~~~~~~^~~~~~~~~~~ -In file included from ncrack_mysql.cc:137: -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:320:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 320 | SHA1_Update(&sha1_ctx, (const uint8_t *) password, strlen(password)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:321:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 321 | SHA1_Final(first_hash, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ -ncrack_mysql.cc:324:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 324 | SHA1_Init(&sha1_ctx); - | ~~~~~~~~~^~~~~~~~~~~ -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:325:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 325 | SHA1_Update(&sha1_ctx, first_hash, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:326:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 326 | SHA1_Final(second_hash, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ -ncrack_mysql.cc:329:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 329 | SHA1_Init(&sha1_ctx); - | ~~~~~~~~~^~~~~~~~~~~ -/usr/include/openssl/sha.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); - | ^~~~~~~~~ -ncrack_mysql.cc:330:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 330 | SHA1_Update(&sha1_ctx, (const uint8_t *) salt, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:331:14: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 331 | SHA1_Update(&sha1_ctx, second_hash, SHA1_HASH_SIZE); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~~ -ncrack_mysql.cc:332:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 332 | SHA1_Final((uint8_t *) buf, &sha1_ctx); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); - | ^~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c uuencode.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_vnc.cc -o ncrack_vnc.o +In function 'void rand_str(char*, size_t)', + inlined from 'void winrm_negotiate(nsock_pool, Connection*)' at ncrack_winrm.cc:1001:21: +ncrack_winrm.cc:1382:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1382 | *dest = '\0'; + | ~~~~~~^~~~~~ +ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': +ncrack_winrm.cc:994:18: note: at offset 8 into destination object 'entropy' of size 8 + 994 | char entropy[8]; + | ^~~~~~~ +ncrack_winrm.cc:697:15: warning: 'void free(void*)' called on pointer '' with nonzero offset 12 [-Wfree-nonheap-object] + 697 | free(type2); + | ~~~~^~~~~~~ +ncrack_winrm.cc:630:36: note: returned from 'void* safe_malloc(size_t)' + 630 | type2 = (char *)safe_malloc((strlen(tmp) + 1)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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); @@ -2567,6 +2916,7 @@ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blocks.c sshkey.c:1858:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1858 | if (RSA_set0_key(n->rsa, rsa_n, rsa_e, NULL) == 0) { | ^~ @@ -2598,7 +2948,6 @@ /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -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) { | ^~~~~~~~~~~~ @@ -2709,6 +3058,7 @@ 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ sshkey.c: In function 'sshkey_certify': +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ecdsa.c 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); | ^~~~~~~~~~~~ @@ -2843,6 +3193,7 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c base64.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) || | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2885,6 +3236,7 @@ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ +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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_redis.cc -o ncrack_redis.o sshkey.c:2863:21: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2863 | RSA_set0_key(k->rsa, NULL, NULL, d) == 0 || | ^~~~~~~~~~~~ @@ -2916,6 +3268,7 @@ /usr/include/openssl/ec.h:188:27: note: declared here 188 | OSSL_DEPRECATEDIN_3_0 int EC_METHOD_get_field_type(const EC_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ed25519.c sshkey.c:2958:9: warning: 'EC_GROUP_method_of' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2958 | if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) != | ^~ @@ -2991,59 +3344,8 @@ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c blocks.c -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ssh-ecdsa.c -ncrack_psql.cc: In function 'void make_response(char*, const char*, const char*, const char*)': -ncrack_psql.cc:177:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 177 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -In file included from ncrack_psql.cc:135: -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_psql.cc:178:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 178 | MD5_Update(&md5, password, strlen(password)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:179:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 179 | MD5_Update(&md5, username, strlen(username)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:180:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 180 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -ncrack_psql.cc:184:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 184 | MD5_Init(&md5); - | ~~~~~~~~^~~~~~ -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -ncrack_psql.cc:185:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 185 | MD5_Update(&md5, HA1_hex, strlen(HA1_hex)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:186:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 186 | MD5_Update(&md5, salt, strlen(salt)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_psql.cc:187:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 187 | MD5_Final(hashbuf, &md5); - | ~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c base64.c +gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sc25519.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_owa.cc -o ncrack_owa.o 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) { @@ -3063,290 +3365,56 @@ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ -In function 'void make_response(char*, const char*, const char*, const char*)', - inlined from 'void ncrack_psql(nsock_pool, Connection*)' at ncrack_psql.cc:327:20: -ncrack_psql.cc:195:36: warning: array subscript 35 is outside array bounds of 'char [35]' [-Warray-bounds] - 195 | buf[MD5_DIGEST_LENGTH * 2 + 3] = '\0'; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -ncrack_psql.cc: In function 'void ncrack_psql(nsock_pool, Connection*)': -ncrack_psql.cc:295:8: note: at offset 35 into object 'response_hex' of size 35 - 295 | char response_hex[MD5_DIGEST_LENGTH *2 + 3]; - | ^~~~~~~~~~~~ -g++ -c -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_owa.cc -o ncrack_owa.o -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ed25519.c -ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': -ncrack_winrm.cc:885:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 885 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)lmbuffer, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 886 | &ks, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~ -In file included from ncrack_winrm.cc:138: -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:889:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 889 | DES_ecb_encrypt((DES_cblock *)magic, (DES_cblock *)(lmbuffer + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 890 | &ks, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:897:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 897 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) lmresp, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 898 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:901:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 901 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 902 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:905:26: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 905 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (lmresp + 16), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 906 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:964:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 964 | MD4_Init(&MD4pw); - | ~~~~~~~~^~~~~~~~ -In file included from ncrack_winrm.cc:139: -/usr/include/openssl/md4.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); - | ^~~~~~~~ -ncrack_winrm.cc:965:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 965 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_winrm.cc:966:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 966 | MD4_Final(ntbuffer, &MD4pw); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:52:27: note: declared here - 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); - | ^~~~~~~~~ -ncrack_winrm.cc:970:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 970 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) ntresp, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 971 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:974:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 974 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 8), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 975 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:978:28: warning: 'void DES_ecb_encrypt(unsigned char (*)[8], unsigned char (*)[8], DES_key_schedule*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 978 | DES_ecb_encrypt((DES_cblock*) tmp_challenge, (DES_cblock*) (ntresp + 16), - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 979 | &ks2, DES_ENCRYPT); - | ~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/des.h:105:6: note: declared here - 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, - | ^~~~~~~~~~~~~~~ -ncrack_winrm.cc:989:21: warning: 'int MD4_Init(MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 989 | MD4_Init(&MD4pw); - | ~~~~~~~~^~~~~~~~ -/usr/include/openssl/md4.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); - | ^~~~~~~~ -ncrack_winrm.cc:990:23: warning: 'int MD4_Update(MD4_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 990 | MD4_Update(&MD4pw, pass_unicode, 2*strlen(con->pass)); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ -ncrack_winrm.cc:991:22: warning: 'int MD4_Final(unsigned char*, MD4_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 991 | MD4_Final(ntbuffer, &MD4pw); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/md4.h:52:27: note: declared here - 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); - | ^~~~~~~~~ -ncrack_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); - | ^~~~~~~~~ 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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_imap.cc -o ncrack_imap.o -ncrack_winrm.cc: In function 'void setup_des_key(const unsigned char*, DES_key_schedule*)': -ncrack_winrm.cc:1410:21: warning: 'void DES_set_odd_parity(unsigned char (*)[8])' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1410 | DES_set_odd_parity(&key); - | ~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/des.h:176:28: note: declared here - 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); - | ^~~~~~~~~~~~~~~~~~ -ncrack_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); - | ^~~~~~~~~~ -ncrack_winrm.cc:1413:14: warning: 'int DES_set_key(unsigned char (*)[8], DES_key_schedule*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1413 | DES_set_key(&key, ks); - | ~~~~~~~~~~~^~~~~~~~~~ -/usr/include/openssl/des.h:186:5: note: declared here - 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); - | ^~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c sc25519.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c ge25519.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fe25519.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mssql.cc -o ncrack_mssql.o -In function 'void rand_str(char*, size_t)', - inlined from 'void winrm_negotiate(nsock_pool, Connection*)' at ncrack_winrm.cc:1001:21: -ncrack_winrm.cc:1382:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1382 | *dest = '\0'; - | ~~~~~~^~~~~~ -ncrack_winrm.cc: In function 'void winrm_negotiate(nsock_pool, Connection*)': -ncrack_winrm.cc:994:18: note: at offset 8 into destination object 'entropy' of size 8 - 994 | char entropy[8]; - | ^~~~~~~ -ncrack_winrm.cc:697:15: warning: 'void free(void*)' called on pointer '' with nonzero offset 12 [-Wfree-nonheap-object] - 697 | free(type2); - | ~~~~^~~~~~~ -ncrack_winrm.cc:630:36: note: returned from 'void* safe_malloc(size_t)' - 630 | type2 = (char *)safe_malloc((strlen(tmp) + 1)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cvs.cc -o ncrack_cvs.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall error.c -o error.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c verify.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall filespace.c -o filespace.o gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c opacket.c gcc -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c smult_curve25519_ref.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_dicom.cc -o ncrack_dicom.o -Compiling libnsock -cd nsock/src && make -make[2]: Entering directory '/build/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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_connect.c -o nsock_connect.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_mssql.cc -o ncrack_mssql.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_core.c -o nsock_core.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_cvs.cc -o ncrack_cvs.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_read.c -o nsock_read.o In function 'cert_parse', inlined from 'sshkey_from_blob_internal' at sshkey.c:2186:36: sshkey.c:1951:47: warning: pointer 'oprincipals' may be used after 'reallocarray' [-Wuse-after-free] 1951 | key->cert->principals = oprincipals; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_timers.c -o nsock_timers.o sshkey.c:1947:41: note: call to 'reallocarray' here 1947 | key->cert->principals = reallocarray(key->cert->principals, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1948 | key->cert->nprincipals + 1, sizeof(*key->cert->principals)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_wordpress.cc -o ncrack_wordpress.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_write.c -o nsock_write.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_joomla.cc -o ncrack_joomla.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_ssl.c -o nsock_ssl.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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_event.c -o nsock_event.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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_pool.c -o nsock_pool.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall netutils.c -o netutils.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_pcap.c -o nsock_pcap.o ar cr libopenssh.a strlcpy.o strlcat.o bsd-snprintf.o bsd-asprintf.o sha2.o bufaux.o bufbn.o buffer.o freezero.o cipher.o cipher-aes.o reallocarray.o cipher-bf1.o cipher-ctr.o cipher-3des1.o cleanup.o compat.o crc32.o fatal.o log.o match.o md-sha256.o moduli.o packet.o rsa.o xmalloc.o key.o kex.o mac.o hmac.o misc.o rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o kexgex.o kexdhc.o kexgexc.o umac.o umac128.o sshconnect2.o sshbuf.o ssherr.o addrmatch.o sshbuf-getput-basic.o vis.o bsd-misc.o digest-libc.o digest-openssl.o explicit_bzero.o strtonum.o kexecdh.o kexecdhc.o arc4random.o cipher-chachapoly.o chacha.o poly1305.o timingsafe_bcmp.o sshbuf-getput-crypto.o kexc25519c.o kexc25519.o sshkey.o sshbuf-misc.o bcrypt_pbkdf.o ssh-ed25519.o blowfish.o hash.o uuencode.o blocks.o ssh-ecdsa.o base64.o ed25519.o sc25519.o ge25519.o fe25519.o verify.o opacket.o smult_curve25519_ref.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_engines.c -o nsock_engines.o ranlib libopenssh.a +make[2]: Leaving directory '/build/ncrack-0.7+debian/opensshlib' +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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall engine_epoll.c -o engine_epoll.o ncrack_mssql.cc: In function 'void ncrack_mssql(nsock_pool, Connection*)': ncrack_mssql.cc:509:63: warning: array subscript 2 is outside array bounds of 'unsigned char [1]' [-Warray-bounds] 509 | memcpy(tmp + 179 + 30 + 1 + 1 + 1 + 30 + 223, &len_pass + 2, 1); @@ -3354,7 +3422,6 @@ ncrack_mssql.cc:160:28: note: at offset 2 into object 'len_pass' of size 1 160 | unsigned char len_login, len_pass; | ^~~~~~~~ -make[2]: Leaving directory '/build/ncrack-0.7+debian/opensshlib' In file included from /usr/include/string.h:535, from ../nbase/nbase.h:203, from ../ncrack.h:161, @@ -3370,41 +3437,17 @@ ncrack_mssql.cc:160:28: note: at offset 2 into source object 'len_pass' of size 1 160 | unsigned char len_login, len_pass; | ^~~~~~~~ -make[2]: Leaving directory '/build/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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall filespace.c -o filespace.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_connect.c -o nsock_connect.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_timers.c -o nsock_timers.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall nsock_pool.c -o nsock_pool.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall netutils.c -o netutils.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall engine_epoll.c -o engine_epoll.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall proxy_http.c -o proxy_http.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 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -Wall proxy_socks4.c -o proxy_socks4.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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libnsock.a ar cr libnsock.a error.o filespace.o gh_heap.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o nsock_engines.o engine_select.o engine_epoll.o engine_kqueue.o engine_poll.o nsock_proxy.o nsock_log.o proxy_http.o proxy_socks4.o ranlib libnsock.a make[2]: Leaving directory '/build/ncrack-0.7+debian/nsock/src' +make[2]: Leaving directory '/build/ncrack-0.7+debian/modules' make ncrack make[2]: Entering directory '/build/ncrack-0.7+debian' 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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack.cc -o ncrack.o @@ -3422,8 +3465,6 @@ 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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing output.cc -o output.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack_tty.cc -o ncrack_tty.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing Buf.cc -o Buf.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing NcrackOutputTable.cc -o NcrackOutputTable.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack_input.cc -o ncrack_input.o services.cc: In function 'global_service parse_services_options(char*)': services.cc:712:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'global_service' {aka 'struct global_service'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 712 | memset(&temp, 0, sizeof(temp)); @@ -3433,7 +3474,13 @@ global_structures.h:170:16: note: 'global_service' {aka 'struct global_service'} declared here 170 | typedef struct global_service { | ^~~~~~~~~~~~~~ +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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing NcrackOutputTable.cc -o NcrackOutputTable.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack_input.cc -o ncrack_input.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ncrack_resume.cc -o ncrack_resume.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing crypto.cc -o crypto.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http.cc -o 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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http_digest.cc -o http_digest.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing xml.cc -o xml.o ncrack.cc: In function 'void lookup_init(const char*)': ncrack.cc:329:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'global_service' {aka 'struct global_service'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 329 | memset(&temp, 0, sizeof(temp)); @@ -3443,10 +3490,6 @@ global_structures.h:170:16: note: 'global_service' {aka 'struct global_service'} declared here 170 | typedef struct global_service { | ^~~~~~~~~~~~~~ -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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing crypto.cc -o crypto.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http.cc -o 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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing http_digest.cc -o http_digest.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing xml.cc -o xml.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 -g -O2 -ffile-prefix-map=/build/ncrack-0.7+debian=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing ntlmssp.cc -o ntlmssp.o http_digest.cc: In function 'char* make_nonce(const timeval*)': http_digest.cc:223:11: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -3866,7 +3909,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/ncrack/ - make -j16 install DESTDIR=/build/ncrack-0.7\+debian/debian/ncrack AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/ncrack-0.7\+debian/debian/ncrack AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/ncrack-0.7+debian' /usr/bin/install -c -d /build/ncrack-0.7+debian/debian/ncrack/usr/bin /build/ncrack-0.7+debian/debian/ncrack/usr/share/man/man1 /build/ncrack-0.7+debian/debian/ncrack/usr/share/ncrack /usr/bin/install -c -c -m 755 ncrack /build/ncrack-0.7+debian/debian/ncrack/usr/bin/ncrack @@ -3901,12 +3944,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/1088014/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1088014/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/1279355 and its subdirectories -I: Current time: Sat May 18 03:49:40 -12 2024 -I: pbuilder-time-stamp: 1716047380 +I: removing directory /srv/workspace/pbuilder/1088014 and its subdirectories +I: Current time: Sun Apr 16 23:28:19 +14 2023 +I: pbuilder-time-stamp: 1681637299