mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Update upnp-info: structured output, correct targets added, etc.
This commit is contained in:
@@ -45,7 +45,7 @@ action = function()
|
||||
local status, result = helper:queryServices()
|
||||
|
||||
if ( status ) then
|
||||
return stdnse.format_output(true, result)
|
||||
return result
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -50,6 +50,6 @@ action = function(host, port)
|
||||
|
||||
if ( status ) then
|
||||
nmap.set_port_state(host, port, "open")
|
||||
return stdnse.format_output(true, result)
|
||||
return result
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user