mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
Suppresses empty output if no credentials are found
This commit is contained in:
parent
7e6146d4c5
commit
95c42025d7
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue