Skip to content

guzlewski/netcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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