mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 22:49:01 +00:00
Implements consistent local cache control and redirect handling for script http-default-accounts. Closes #551
This commit is contained in:
@@ -259,7 +259,9 @@ action = function(host, port)
|
||||
-- within the pipeline.
|
||||
local path = probe.path
|
||||
if not pathmap[path] then
|
||||
requests = http.pipeline_add(basepath .. path, nil, requests, 'GET')
|
||||
requests = http.pipeline_add(basepath .. path,
|
||||
{bypass_cache=true, redirect_ok=false},
|
||||
requests, 'GET')
|
||||
pathmap[path] = #requests
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user