mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 21:49:01 +00:00
When creds.lua is used without usernames (like in snmp-brute.nse), the credentials could not be sorted because they are sorted first by username, which is nil and cannot be compared. Now the script first checks that both values are non-nil (and true) before comparing them.
17 KiB
17 KiB