mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Implements consistent local cache control and redirect handling for script http-default-accounts. Closes #551
This commit is contained in:
parent
2be31d5f49
commit
de2ed2eec6
2 changed files with 68 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue