Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 540 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 540 Bytes

netcat

Simple netcat wrote in C. Supports ip4, ip6, hostnames. Client and server mode. Both tpc and udp are available.

Compilation

git clone https://github.com/guzlewski/netcat
cd netcat
make

Usage

./netcat.out [OPTIONS] [ADDRESS] [PORT]

  -u - use udp instead of tcp
  -l - server mode, ADDRESS can be blank, default ip will be used
  -4 - force ip4
  -6 - force ip6

ADDRESS - ip4, ip6 or hostname (will be resolved via DNS) to connect or bind in server mode
PORT - number of port to connect or listen