mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Exit http-wordpress-plugins if identify_404 fails.
This is what other scripts that use identify_404 do.
This commit is contained in:
@@ -98,7 +98,7 @@ action = function(host, port)
|
||||
--identify the 404
|
||||
local status_404, result_404, body_404 = http.identify_404(host, port)
|
||||
if not status_404 then
|
||||
stdnse.print_debug(1, "%s unable to handle 404 pages (%s)", SCRIPT_NAME, result_404)
|
||||
return stdnse.format_output(false, SCRIPT_NAME .. " unable to handle 404 pages (" .. result_404 .. ")")
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user