mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Suppresses empty output if no vulnerable parameters are found
This commit is contained in:
@@ -286,6 +286,8 @@ function action(host, port)
|
||||
table.insert(text_output, rfi)
|
||||
end
|
||||
|
||||
return output, stdnse.format_output(true, text_output)
|
||||
if #text_output > 0 then
|
||||
return output, stdnse.format_output(true, text_output)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user