mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
http-default-accounts should return nil, not false, on failure
This commit is contained in:
parent
065aa78596
commit
8e06cf53d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue