From 98b796b51739800bbfe158ac9e2e5666310f326f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 5 Aug 2008 21:28:36 +0000 Subject: [PATCH] Remove a spurious blank in the output caused by a newline in scripting.xml. --- docs/scripting.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index dd6319e92..a028430eb 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -498,8 +498,9 @@ $ nmap -sC --script-args user=foo,pass=bar,anonFTP={pass=ftp@foobar.com} You could therefore access the username ("foo") - inside your script as local username= nmap.registry.args.user - . As a general rule the subtables used to override + inside your script as + local username= nmap.registry.args.user. + As a general rule the subtables used to override options for scripts should be named as the script's id, otherwise scripts won't know where to retrieve their arguments.