.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-netcat 1 "2023-02-01" Ronin "User Manuals" .SH NAME .PP ronin\-netcat \- A netcat clone command .SH SYNOPSIS .PP \fBronin netcat\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB\-\-tcp\fR \[or] \fB\-\-udp\fR \[or] \fB\-\-ssl\fR \[or] \fB\-\-tls\fR\[rB] \[lC]\fIHOST\fP \fIPORT\fP \[or] \fB\-l\fR \[lB]\fIHOST\fP\[rB] \fIPORT\fP \[or] \fB\-\-unix\fR \fIPATH\fP\[rC] .SH DESCRIPTION .PP Connects to or listens on a TCP\[sl]UDP\[sl]SSL\[sl]TLS\[sl]UNIX socket\. .SH ARGUMENTS .TP \fIHOST\fP The remote hostname or IP address to connect to or the local hostname or IP address to listen on\. .TP \fIPORT\fP The remote port to connect to or the local port to listen on\. .TP \fIPATH\fP The path to the UNIX socket to connect to or listen on\. .SH OPTIONS .TP \fB\-v\fR, \fB\-\-verbose\fR Enables verbose output\. .TP \fB\-\-tcp\fR Uses the TCP protocol\. .TP \fB\-\-udp\fR Uses the UDP protocol\. .TP \fB\-U\fR, \fB\-\-unix\fR \fIPATH\fP Uses the UNIX socket protocol and connects to or listens on the given \fIPATH\fP\. .TP \fB\-l\fR, \fB\-\-listen\fR Listens for incoming connections\. .TP \fB\-s\fR, \fB\-\-source\fR \fIHOST\fP Source address to bind to\. .TP \fB\-p\fR, \fB\-\-source\-port\fR \fIPORT\fP Source port to bind to\. .TP \fB\-b\fR, \fB\-\-buffer\-size\fR \fIINT\fP Buffer size to use\. Defaults to 4096 if not given\. .TP \fB\-x\fR, \fB\-\-hexdump\fR Hexdumps each message that is received\. .TP \fB\-\-ssl\fR Enables SSL mode\. .TP \fB\-\-tls\fR Enables TLS mode\. .TP \fB\-\-ssl\-version\fR \fB1\fR\[or]\fB1\.1\fR\[or]\fB1\.2\fR Specifies the required SSL version\. .TP \fB\-\-ssl\-cert\fR \fIFILE\fP Specifies the SSL certificate file\. .TP \fB\-\-ssl\-key\fR \fIFILE\fP Specifies the SSL key file\. .TP \fB\-\-ssl\-verify\fR \fBnone\fR\[or]\fBpeer\fR\[or]\fBfail\-if\-no\-peer\-cert\fR\[or]\fBclient\-once\fR\[or]\fBtrue\fR\[or]\fBfalse\fR SSL verification mode\. .TP \fB\-\-ssl\-ca\-bundle\fR \fIPATH\fP Path to the file or directory of CA certificates\. .TP \fB\-h\fR, \fB\-\-help\fR Print help information\. .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .SH SEE ALSO .PP .BR ronin\-hexdump (1) .BR ronin\-http (1)