mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 13:19:04 +00:00
Mention that scripts matching a hostrule get only a host table, and script
matching a portrule get both a host and a port table. I didn't find that documented anywhere else.
This commit is contained in:
@@ -801,8 +801,10 @@ action refer to <xref linkend="nse-tutorial-action"/>.
|
||||
The arguments, <literal>host</literal> and
|
||||
<literal>port</literal>, are Lua tables which contain
|
||||
information on the target against which the script is
|
||||
executed. The following list describes each variable in the
|
||||
<literal>host</literal> and <literal>port</literal> tables.
|
||||
executed. If a script matched a hostrule, it gets only the
|
||||
<literal>host</literal> table, and if it matched a portrule it
|
||||
gets both <literal>host</literal> and <literal>port</literal>.
|
||||
The following list describes each variable in these two tables.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user