1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 21:49:01 +00:00
Files
nmap/nselib/creds.lua
dmiller 63ad40fb74 Fix a bug in creds.lua, comparing creds without users
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.
2015-05-26 03:40:09 +00:00

17 KiB