1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

http-default-accounts should return nil, not false, on failure

This commit is contained in:
dmiller
2014-02-20 22:10:15 +00:00
parent 065aa78596
commit 8e06cf53d4

View File

@@ -237,7 +237,7 @@ action = function(host, port)
local _, http_status, _ = http.identify_404(host,port)
if ( http_status == 200 ) then
stdnse.print_debug(1, "%s: Exiting due to ambiguous response from web server on %s:%s. All URIs return status 200.", SCRIPT_NAME, host.ip, port.number)
return false
return nil
end
--Load fingerprint data or abort