mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Docs for -q option. Fixes #2422
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#Nmap Changelog ($Id$); -*-text-*-
|
#Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o [Ncat][GH#2422] New Ncat option -q to delay quit after EOF on stdin, the
|
||||||
|
same as traditional netcat's -q option. [Daniel Miller]
|
||||||
|
|
||||||
o [NSE][GH#1014][GH#2616] SSH NSE scripts now catch connection errors thrown by
|
o [NSE][GH#1014][GH#2616] SSH NSE scripts now catch connection errors thrown by
|
||||||
the libssh2 Lua binding, providing useful output instead of a backtrace.
|
the libssh2 Lua binding, providing useful output instead of a backtrace.
|
||||||
[Joshua Rogers, Daniel Miller]
|
[Joshua Rogers, Daniel Miller]
|
||||||
|
|||||||
@@ -726,6 +726,16 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>-q <replaceable>time</replaceable></option> (Delay quit after EOF on stdin)
|
||||||
|
<indexterm><primary><option>-q</option> (Ncat option)</primary></indexterm>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>After EOF on stdin, wait the specified amount of time, then quit. If <replaceable>time</replaceable> is negative, wait forever. Ncat may still quit based on idle timeout or EOF on the socket.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>-w <replaceable>time</replaceable></option>,
|
<option>-w <replaceable>time</replaceable></option>,
|
||||||
|
|||||||
@@ -617,6 +617,7 @@ int main(int argc, char *argv[])
|
|||||||
" --send-only Only send data, ignoring received; quit on EOF\n"
|
" --send-only Only send data, ignoring received; quit on EOF\n"
|
||||||
" --recv-only Only receive data, never send anything\n"
|
" --recv-only Only receive data, never send anything\n"
|
||||||
" --no-shutdown Continue half-duplex when receiving EOF on stdin\n"
|
" --no-shutdown Continue half-duplex when receiving EOF on stdin\n"
|
||||||
|
" -q <time> After EOF on stdin, wait <time> then quit.\n"
|
||||||
" --allow Allow only given hosts to connect to Ncat\n"
|
" --allow Allow only given hosts to connect to Ncat\n"
|
||||||
" --allowfile A file of hosts allowed to connect to Ncat\n"
|
" --allowfile A file of hosts allowed to connect to Ncat\n"
|
||||||
" --deny Deny given hosts from connecting to Ncat\n"
|
" --deny Deny given hosts from connecting to Ncat\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user