LinuxCommandLibrary

nc_openbsd

OpenBSD version of netcat

TLDR

Listen on port

$ nc.openbsd -l [8080]
copy
Connect to host
$ nc.openbsd [host] [port]
copy
Scan ports
$ nc.openbsd -zv [host] [20-30]
copy
Use IPv6
$ nc.openbsd -6 [host] [port]
copy
Keep listening
$ nc.openbsd -k -l [port]
copy
Connect via proxy
$ nc.openbsd -X 5 -x [proxy:port] [host] [port]
copy
Set source port
$ nc.openbsd -p [12345] [host] [port]
copy

SYNOPSIS

nc.openbsd [options] [host] [port]

DESCRIPTION

nc.openbsd is the OpenBSD version of netcat. It provides secure networking features.
The tool supports proxies and IPv6. More features than traditional netcat.

PARAMETERS

HOST

Target host.
PORT
Port number.
-l
Listen mode.
-k
Keep listening after disconnect.
-6
Use IPv6.
-X VER
Proxy version.
-x PROXY
Proxy address.
--help
Display help information.

CAVEATS

OpenBSD variant. Different from GNU netcat. Proxy support built-in.

HISTORY

nc.openbsd is the OpenBSD rewrite of netcat with additional security features and proxy support.

SEE ALSO

nc(1), ncat(1), socat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community