mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
o The NSE Comm library now defaults to trying to read as many bytes as are
available rather than lines if neither the "bytes" nor "lines" options are given. Thanks to Brandon for reporting a problem which he noticed in the dns-test-open-recursion script. [Kris]
This commit is contained in:
parent
7bb32b409f
commit
a285f82299
8 changed files with 25 additions and 34 deletions
|
|
@ -1651,8 +1651,9 @@ if(s) code_to_be_done_on_match end
|
|||
The relevant indexes for this table are <literal>bytes</literal>, <literal>lines</literal>,
|
||||
<literal>proto</literal> and <literal>timeout</literal>. <literal>bytes</literal>
|
||||
is used to provide the minimum number of bytes required for a read. <literal>lines</literal>
|
||||
does the same, but for the minimum number of lines. <literal>proto</literal> is used
|
||||
to set the protocol to communicate with, defaulting to "tcp" if not provided.
|
||||
does the same, but for the minimum number of lines. If neither are provided, these
|
||||
functions attempt to read as many bytes as are available. <literal>proto</literal>
|
||||
is used to set the protocol to communicate with, defaulting to "tcp" if not provided.
|
||||
<literal>timeout</literal> is used to set the socket timeout (see the socket function
|
||||
<literal>set_timeout()</literal> for details).
|
||||
</para>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue