"Fossies" - the Fresh Open Source Software Archive

Member "nmap-7.91/ncat/docs/ncat.usage.txt" (9 Oct 2020, 3556 Bytes) of package /linux/misc/nmap-7.91.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ncat.usage.txt": 7.90_vs_7.91.

    1 Ncat 7.91 ( https://nmap.org/ncat )
    2 Usage: ncat [options] [hostname] [port]
    3 
    4 Options taking a time assume seconds. Append 'ms' for milliseconds,
    5 's' for seconds, 'm' for minutes, or 'h' for hours (e.g. 500ms).
    6   -4                         Use IPv4 only
    7   -6                         Use IPv6 only
    8   -U, --unixsock             Use Unix domain sockets only
    9       --vsock                Use vsock sockets only
   10   -C, --crlf                 Use CRLF for EOL sequence
   11   -c, --sh-exec <command>    Executes the given command via /bin/sh
   12   -e, --exec <command>       Executes the given command
   13       --lua-exec <filename>  Executes the given Lua script
   14   -g hop1[,hop2,...]         Loose source routing hop points (8 max)
   15   -G <n>                     Loose source routing hop pointer (4, 8, 12, ...)
   16   -m, --max-conns <n>        Maximum <n> simultaneous connections
   17   -h, --help                 Display this help screen
   18   -d, --delay <time>         Wait between read/writes
   19   -o, --output <filename>    Dump session data to a file
   20   -x, --hex-dump <filename>  Dump session data as hex to a file
   21   -i, --idle-timeout <time>  Idle read/write timeout
   22   -p, --source-port port     Specify source port to use
   23   -s, --source addr          Specify source address to use (doesn't affect -l)
   24   -l, --listen               Bind and listen for incoming connections
   25   -k, --keep-open            Accept multiple connections in listen mode
   26   -n, --nodns                Do not resolve hostnames via DNS
   27   -t, --telnet               Answer Telnet negotiations
   28   -u, --udp                  Use UDP instead of default TCP
   29       --sctp                 Use SCTP instead of default TCP
   30   -v, --verbose              Set verbosity level (can be used several times)
   31   -w, --wait <time>          Connect timeout
   32   -z                         Zero-I/O mode, report connection status only
   33       --append-output        Append rather than clobber specified output files
   34       --send-only            Only send data, ignoring received; quit on EOF
   35       --recv-only            Only receive data, never send anything
   36       --no-shutdown          Continue half-duplex when receiving EOF on stdin
   37       --allow                Allow only given hosts to connect to Ncat
   38       --allowfile            A file of hosts allowed to connect to Ncat
   39       --deny                 Deny given hosts from connecting to Ncat
   40       --denyfile             A file of hosts denied from connecting to Ncat
   41       --broker               Enable Ncat's connection brokering mode
   42       --chat                 Start a simple Ncat chat server
   43       --proxy <addr[:port]>  Specify address of host to proxy through
   44       --proxy-type <type>    Specify proxy type ("http", "socks4", "socks5")
   45       --proxy-auth <auth>    Authenticate with HTTP or SOCKS proxy server
   46       --proxy-dns <type>     Specify where to resolve proxy destination
   47       --ssl                  Connect or listen with SSL
   48       --ssl-cert             Specify SSL certificate file (PEM) for listening
   49       --ssl-key              Specify SSL private key (PEM) for listening
   50       --ssl-verify           Verify trust and domain name of certificates
   51       --ssl-trustfile        PEM file containing trusted SSL certificates
   52       --ssl-ciphers          Cipherlist containing SSL ciphers to use
   53       --ssl-servername       Request distinct server name (SNI)
   54       --ssl-alpn             ALPN protocol list to use
   55       --version              Display Ncat's version information and exit
   56 
   57 See the ncat(1) manpage for full options, descriptions and usage examples