### Tool 87: TCP client

### Description:

      This tool connects to a TCP server. It's like telnet command.

      Parameter --dst-ip is the address of remote host/server.
      Parameter --dst-port is the port number where to connect.
      Optional parameter --src-ip defines the local IP address to use.
      Optional parameter --src-port defines the local port number to use.
      Optional parameter --ip4opts permits to add IP4 options encoded as
      mixed.
      Optional parameter --ip6exts permits to add IP6 options encoded as
      mixed (first byte is the next header number).
      Optional parameters --device, --src-eth and --dst-eth permits to
      create a virtual client using fake addresses (in this case, tool have
      to be run with admin privilege in order to sniff and spoof at
      Ethernet level).
      Parameter --encode defines how to display data (common values: data,
      dump, mixed).
      Parameter --decode defines how keyboard data is entered (common
      values: data, mixed).

### Synonyms:

nc, netcat

### Usage:

netwox 87 -i ip -p port [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-o ip4opts] [-O ip6exts] [-k decode] [-n encode]

### Parameters:

parameter | description | example
`-i|--dst-ip ip` | destination IP address | 5.6.7.8
`-p|--dst-port port` | destination port number | 80
`-d|--device device` | device name | Eth0
`-E|--src-eth eth` | source ethernet address | 0:2:3:4:5:6
`-e|--dst-eth eth` | destination ethernet address | 0:8:9:a:b:c
`-I|--src-ip ip` | source IP address | 192.168.100.200
`-P|--src-port port` | source port number | 0
`-o|--ip4opts ip4opts` | IPv4 options |
`-O|--ip6exts ip6exts` | IPv6 extensions |
`-k|--decode decode` | how keyboard data is entered | data
`-n|--encode encode` | how network data is displayed | data

### Examples:

netwox 87 -i "5.6.7.8" -p "80"
netwox 87 --dst-ip "5.6.7.8" --dst-port "80"