1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

fixed undeclared variables

This commit is contained in:
patrik
2012-02-01 15:49:54 +00:00
parent ab9a5ed614
commit 7a4ffa429e

View File

@@ -51,7 +51,7 @@ action = function(host, port)
-- Retrieve file -- Retrieve file
stdnse.print_debug(1, ("%s: Connecting to %s:%s"):format(SCRIPT_NAME, host.targetname or host.ip, port.number)) 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 -- Check if file exists
if data and data.status and data.status == 200 and data.body and data.body ~= "" then if data and data.status and data.status == 200 and data.body and data.body ~= "" then