mirror of
https://github.com/nmap/nmap.git
synced 2026-06-10 01:35:18 +00:00
fixed undeclared variables
This commit is contained in:
parent
ab9a5ed614
commit
7a4ffa429e
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ action = function(host, port)
|
|||
|
||||
-- Retrieve file
|
||||
stdnse.print_debug(1, ("%s: Connecting to %s:%s"):format(SCRIPT_NAME, host.targetname or host.ip, port.number))
|
||||
data = http.get(host, port, path)
|
||||
local data = http.get(host, port, path)
|
||||
|
||||
-- Check if file exists
|
||||
if data and data.status and data.status == 200 and data.body and data.body ~= "" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue