mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Remove a spurious blank in the output caused by a newline in scripting.xml.
This commit is contained in:
parent
c5d4075db5
commit
98b796b517
1 changed files with 3 additions and 2 deletions
|
|
@ -498,8 +498,9 @@ $ nmap -sC --script-args user=foo,pass=bar,anonFTP={pass=ftp@foobar.com}
|
|||
</programlisting>
|
||||
|
||||
<para>You could therefore access the username (<literal>"foo"</literal>)
|
||||
inside your script as <literal>local username= nmap.registry.args.user
|
||||
</literal>. As a general rule the subtables used to override
|
||||
inside your script as
|
||||
<literal>local username= nmap.registry.args.user</literal>.
|
||||
As a general rule the subtables used to override
|
||||
options for scripts should be named as the script's
|
||||
<literal>id</literal>, otherwise scripts won't know where to
|
||||
retrieve their arguments.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue