Skip to main content

cmd_telnet

Function cmd_telnet 

Source
pub fn cmd_telnet(args: &[String]) -> Result<(), ShellError>
Expand description

Open a TCP connection and send/receive data interactively.

Usage: telnet <ip> <port> [--http]

With --http, sends an HTTP GET and prints the response.