1
0
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:
dmiller
2024-06-07 16:34:07 +00:00
parent f43878f0f5
commit 74b2b6fc05
3 changed files with 121 additions and 76 deletions

View File

@@ -45,7 +45,7 @@ action = function()
local status, result = helper:queryServices()
if ( status ) then
return stdnse.format_output(true, result)
return result
end
end

View File

@@ -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