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

Suppresses empty output if no vulnerable parameters are found

This commit is contained in:
nnposter
2017-04-15 00:08:49 +00:00
parent 3a6deb0075
commit c58aa814f3

View File

@@ -286,6 +286,8 @@ function action(host, port)
table.insert(text_output, rfi)
end
if #text_output > 0 then
return output, stdnse.format_output(true, text_output)
end
end