mirror of
https://github.com/nmap/nmap.git
synced 2025-12-22 07:29:01 +00:00
Aligns HTTP pipeline initialization with the API specification for http.pipeline_add()
This commit is contained in:
@@ -254,7 +254,7 @@ action = function(host, port)
|
|||||||
|
|
||||||
-- Add requests to the http pipeline
|
-- Add requests to the http pipeline
|
||||||
pathmap = {}
|
pathmap = {}
|
||||||
requests = {}
|
requests = nil
|
||||||
stdnse.debug(1, "Trying known locations under path '%s' (change with '%s.basepath' argument)", basepath, SCRIPT_NAME)
|
stdnse.debug(1, "Trying known locations under path '%s' (change with '%s.basepath' argument)", basepath, SCRIPT_NAME)
|
||||||
for _, fingerprint in ipairs(fingerprints) do
|
for _, fingerprint in ipairs(fingerprints) do
|
||||||
for _, probe in ipairs(fingerprint.paths) do
|
for _, probe in ipairs(fingerprint.paths) do
|
||||||
|
|||||||
Reference in New Issue
Block a user