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
return output, stdnse.format_output(true, text_output)
if #text_output > 0 then
return output, stdnse.format_output(true, text_output)
end
end