1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 11:59:03 +00:00

Don't add a blank line at the top of the report. Other scripts don't.

This commit is contained in:
henri
2011-07-09 16:39:12 +00:00
parent 9c0ed2add3
commit 5de4bf5793

View File

@@ -19,7 +19,6 @@ These targets will be added to the scanning queue in case
-- PORT STATE SERVICE
-- 9390/tcp open openvas
-- | omp2-enum-targets:
-- |
-- | Targets for account admin:
-- | TARGET HOSTS
-- | Sales network 192.168.20.0/24
@@ -107,10 +106,10 @@ action = function(host, port)
local targets = account_enum_targets(host, port, username, password)
if targets ~= nil then
table.insert(results, "\nTargets for account " .. username .. ":")
table.insert(results, "Targets for account " .. username .. ":")
table.insert(results, report(targets))
else
table.insert(results, "\nNo targets found for account " .. username)
table.insert(results, "No targets found for account " .. username)
end
if target.ALLOW_NEW_TARGETS and targets ~= nil then