Nmap 7.96
Upgraded included libraries: OpenSSL 3.0.16, Lua 5.4.7, libssh2 1.11.1, libpcap 1.10.5, libpcre2 10.45, libdnet 1.18.0 Windows: Upgraded the included version of Npcap from version 1.79 to the latest version 1.82, bringing faster packet injection, VLAN header capture, and support for SR-IOV adapters, along with many other bug fixes and feature enhancements. Nmap now performs forward DNS lookups in parallel, using the same engine that has been reliably performing reverse-DNS lookups for nearly a decade. Scanning large lists of hostnames is now enormously faster and avoids the unresponsive wait for blocking system calls, so progress stats can be shown. In testing, resolving 1 million website names to both IPv4 and IPv6 took just over an hour. The previous system took 49 hours for the same data set! Nping: Promoted Nping version number from a 0.7.95 alpha release to the same release version as Nmap. Zenmap: Added dark mode, accessed via Profile->Toggle Dark Mode or window::dark_mode in zenmap.conf. NSE: Added 3 new scripts, for a total of 612 NSE scripts: mikrotik-routeros-version queries MikroTik's WinBox router admin service to get the RouterOS version. New service probes were also added for this service. mikrotik-routeros-username-brute brute-forces WinBox usernames for the router using CVE-2024-54772. targets-ipv6-eui64 generates target IPv6 addresses from a user-provided file of MAC addresses, using the EUI-64 method. Fixed an issue preventing the Nmap OEM 7.95 uninstaller from correctly uninstalling Nmap OEM. Nsock: Windows: Fixed the IOCP Nsock engine, which had been demoted since Nmap 7.91 due to unresolved issues around SSL sockets and IPv6. Fixed the issue where TCP Connect scans (-sT) on Windows would show 'filtered' instead of 'closed', due to differences in understanding timeouts. Nmap is now able to scan IP protocol 255. Nmap will now allow targets to be specified both on the command line and in an input file with -iL. Previously, if targets were provided in both places, only the targets in the input file would be scanned, and no notice was given that the command-line targets were ignored. Zenmap: Fixed a Zenmap crash in DiffViewer when Ndiff exits with error. Zenmap: Fixed several UnicodeDecodeError or UnicodeEncodeError crashes throughout Zenmap. Zenmap: Fixed an issue preventing Zenmap from launching if nmap was not in the PATH. The issue primarily affected macOS users. Fixed a couple of issues with parsing the argument to the -iR option. NSE: Added TLS support to redis.lua and improved -sV detection of redis. Fix 2 potential crashes in parsing IPv6 extension headers discovered using AFL++ fuzzer. Nping: Bind raw socket to device when possible. This was already done for IPv6, but was needed for IPv4 L3 tunnels. Ncat: Ncat in connect mode no longer defaults to half-closed TCP connections. This makes it more compatible with other netcats. The -k option will enable the old behavior. Nsock: Fix an issue affecting Ncat where unread bytes in the SSL layer's buffer could not be read until more data arrived on the socket, which could lead to deadlock. Ncat: New Ncat option -q to delay quit after EOF on stdin, the same as traditional netcat's -q option. Ncat: Ncat in listen mode with -e or -c correctly handles error and EOF conditions that had not been being delivered to the child process. Ncat: Windows: All Nsock engines now work correctly. The default is still 'select', but others can be set with --nsock-engine=iocp or --nsock-engine=poll NSE: SSH NSE scripts now catch connection errors thrown by the libssh2 Lua binding, providing useful output instead of a backtrace. NSE: Several fixes and extensions to the libssh2 NSE bindings: fixed libssh2.channel_read_stderr, which was reading stdout instead; add binding for libssh2_userauth_publickey_frommemory; allow open_channel to avoid allocating a pty. Nsock: Improvements for platforms without selectable pcap handles (e.g. Windows). Interleaved pcap and socket events were favo