mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:28:12 +00:00

With this change we support the well-known and shorter way to create a listener on all interfaces: `nc -lvp 1337` instead of: `nc -lv 0.0.0.0 1337`
29 lines
670 B
Markdown
29 lines
670 B
Markdown
## Name
|
|
|
|
nc
|
|
|
|
## Synopsis
|
|
|
|
```sh
|
|
$ nc [--length ] [--listen] [-N] [--udp] [-p port] [--verbose] [target] [port]
|
|
```
|
|
|
|
## Description
|
|
|
|
Network cat: Connect to network sockets as if it were a file.
|
|
|
|
## Options
|
|
|
|
* `-I`, `--length`: Set maximum tcp receive buffer size
|
|
* `-l`, `--listen`: Listen instead of connecting
|
|
* `-N`: Close connection after reading stdin to the end
|
|
* `-u`, `--udp`: UDP mode
|
|
* `-p port`: Local port for remote connections
|
|
* `-v`, `--verbose`: Log everything that's happening
|
|
|
|
## Arguments
|
|
|
|
* `target`: Address to listen on, or the address or hostname to connect to
|
|
* `port`: Port to connect to or listen on
|
|
|
|
<!-- Auto-generated through ArgsParser -->
|