Telnet

Telecommunication Network protocol, allows users to remotely access and control devices over a network, typically using port 23. It was widely used for remote administration of systems before being largely replaced by SSH due to security concerns due to sending the data in plain text, making it vulnerable to interception.

Interaction with protocol

  • Install

sudo apt install telnet

  • Connect using the protocol

sudo telnet $ip $port
telnet: \>      #Text based interface
telnet: \> exit #Close connection

  • Interact with other protocols

#Example
sudo telnet $ip 80 #We connect to HTTP service

#We send a petition
GET / HTTP/1.1
host: telnet      #After finishing hit enter twice to send

Last updated