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.