### Tool 94: TCP backdoor client (exec)

### Description:

      This tool runs a command on server of tool 93.

      Parameter --command contains the command to run. This command must
      have the full path. For example '/bin/sh -c ls', and not just 'ls'.
      Parameter --dst-file defines the file containing the result of
      command.
      Parameter --password defines the password (same as server's password).
      Parameter --cypher defines if data has to be encrypted. Please note
      this is not very strong. If known text is used, this algorithm can be
      cracked.
      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).

### Usage:

netwox 94 -i ip -p port -c data [-F file] [-w password] [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-o ip4opts] [-O ip6exts] [-x|+x] [-T uint32]

### Parameters:

parameter | description | example
`-i|--dst-ip ip` | destination IP address | 5.6.7.8
`-p|--dst-port port` | destination port number | 80
`-c|--command data` | command to execute | /bin/sh -c ls
`-F|--dst-file file` | destination filename | dstfile.txt
`-w|--password password` | password | netwox
`-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 | 1.1.1.1
`-P|--src-port port` | source port number | 0
`-o|--ip4opts ip4opts` | IPv4 options |
`-O|--ip6exts ip6exts` | IPv6 extensions |
`-x|--cypher|+x|--no-cypher` | if data is encrypted |
`-T|--timeout uint32` | timeout in seconds | 100

### Examples:

netwox 94 -i "5.6.7.8" -p "80" -c "/bin/sh -c ls"
netwox 94 --dst-ip "5.6.7.8" --dst-port "80" --command "/bin/sh -c ls"