Tool 100: TELNET client executing one or several commands


  This tool runs shell commands on a remote TELNET server.
  First, it logins, then it runs commands, and finally, it logouts.
  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 IPv4 options encoded as
  Optional parameter --ip6exts permits to add IPv6 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.


  netwox 100 -i ip -l data -w password [cmd1 cmd2 ...] [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-p port] [-o ip4opts] [-O ip6exts] [-T uint32]


parameter description example
-i|--dst-ip ip destination IP address
-l|--login data login bob
-w|--password password password hello
-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
-P|--src-port port source port number 0
-p|--dst-port port destination port number 23
-o|--ip4opts ip4opts IPv4 options  
-O|--ip6exts ip6exts IPv6 extensions  
-T|--timeout uint32 timeout in milliseconds 60000


  netwox 100 -i "" -l "bob" -w "hello"

  netwox 100 --dst-ip "" --login "bob" --password "hello"