mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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:
parent
dfbbbf9e9a
commit
33fa3914d4
1 changed files with 4 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue