diff --git a/docs/refguide.xml b/docs/refguide.xml index b9486f455..0ac9e4487 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -106,7 +106,7 @@ PORT STATE SERVICE VERSION 1002/tcp open windows-icfw? 1025/tcp open msrpc Microsoft Windows RPC 1720/tcp open H.323/Q.931 CompTek AquaGateKeeper -5800/tcp open vnc-http RealVNC 4.0 (Resolution 400x250; VNC TCP port: 5900) +5800/tcp open vnc-http RealVNC 4.0 (Resolution 400x250; VNC port: 5900) 5900/tcp open vnc VNC (protocol 3.8) MAC Address: 00:A0:CC:63:85:4B (Lite-on Communications) Device type: general purpose @@ -1767,7 +1767,7 @@ way. - (1nd Generation OS Detection Only) + (1st Generation OS Detection Only) -O1 @@ -1977,26 +1977,20 @@ way. --script-args - - lets you provide arguments to NSE-scripts. Arguments are passed as - name=value pairs. The provided argument is processed and stored - inside a Lua table, to which all scripts have access. The names are - taken as strings (which have to be alphanumeric values) and used as - keys inside the argument-table. Values are either strings or tables - themselves (starting with a '{' and ending with a '}'). Subtables make - it possible to override arguments for specific scripts (e.g. when you - want to provide different login/password pairs for different scripts). - An argument of - user=bar,password=foo,anonFTP={password=nobody@foobar.com} - for example results in the following table provided to - NSE-scripts: - t={user="bar",password="foo",anonFTP={password="nobody@foobar.com"}. - Note, that if you want to override an option to a script, you should - index the subtable with the script's id, since this - is the only way the script knows about its special argument. - - - + +lets you provide arguments to NSE-scripts. Arguments are passed +as name=value pairs. The provided argument is processed and stored +inside a Lua table, to which all scripts have access. The names are +taken as strings (which must be alphanumeric values) and used as +keys inside the argument-table. Values are either strings or tables +themselves (surrounded by ‘{’ and ‘}’. Subtables make +it possible to override arguments for specific scripts (e.g. when you +want to provide different login/password pairs for different scripts). +For example, you could pass the comma-separated arguments: +user=bar,password=foo, and anonFTP={password=nobody@foobar.com}. If you want to override an option to a script, you should +index the subtable with the script's id, since this +is the only way the script knows about its special argument. +