From 02ff37d4905fcc928d335849a07589781c2b56db Mon Sep 17 00:00:00 2001 From: david Date: Thu, 6 Nov 2008 03:12:58 +0000 Subject: [PATCH] Update the script args example to use whois instead of anonFTP; anonFTP doesn't take any args, let alone a table. --- docs/scripting.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index a93e74a0a..92b112009 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -505,14 +505,14 @@ Nmap script database. example of example of -$ nmap -sC --script-args user=foo,pass=bar,anonFTP={pass=ftp@foobar.com} +$ nmap -sC --script-args user=foo,pass=bar,whois={whodb=nofollow+ripe} which would result in the Lua table: -{user="foo",pass="bar",anonFTP={pass="nobody@foobar.com"}} +{user="foo",pass="bar",whois={whodb="nofollow+ripe"}} You could therefore access the username ("foo")