mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 21:09:00 +00:00
Fixed errors found by nse_check_globals.
This commit is contained in:
@@ -91,6 +91,7 @@ action = function( host, port )
|
||||
status, data = helper:Login(user, pass)
|
||||
if ( not(status) ) then return stdnse.format_output(status, data) end
|
||||
|
||||
local databases
|
||||
status, databases = helper:GetDatabases()
|
||||
if ( not(status) ) then
|
||||
return " \n ERROR: Failed to retrieve a list of databases"
|
||||
|
||||
Reference in New Issue
Block a user