From 5de4bf57938755989bddba6ce6f3492d2f0c0323 Mon Sep 17 00:00:00 2001 From: henri Date: Sat, 9 Jul 2011 16:39:12 +0000 Subject: [PATCH] Don't add a blank line at the top of the report. Other scripts don't. --- scripts/omp2-enum-targets.nse | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/omp2-enum-targets.nse b/scripts/omp2-enum-targets.nse index eb8ebbd33..0a7e264c0 100644 --- a/scripts/omp2-enum-targets.nse +++ b/scripts/omp2-enum-targets.nse @@ -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