1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 08:59:01 +00:00

Added '400' as a potential 404 page. Ran into this while scanning a Fortigate device.

This commit is contained in:
ron
2009-09-01 19:23:17 +00:00
parent 4dea760d93
commit 4564ed7503
2 changed files with 3 additions and 1 deletions

View File

@@ -1278,7 +1278,7 @@ end
-- body is the cleaned-up body (or a hash of the cleaned-up body).
function identify_404(host, port)
local data
local bad_responses = { 301, 302, 401, 403, 499, 501 }
local bad_responses = { 301, 302, 400, 401, 403, 499, 501 }
-- The URLs used to check 404s
local URL_404_1 = '/nmaplowercheck' .. os.time(os.date('*t'))