mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Suppresses empty output if no credentials are found
This commit is contained in:
@@ -368,5 +368,7 @@ action = function(host, port)
|
||||
end
|
||||
end
|
||||
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