telnet client response how to decode it
I think it is a specific response as all cisco servers have the same response . What is the name of this text and how do I decrypt it
'\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfd\x1f'
import socket
import sys
HOST = 'xxx.xxx.xxx.xxx' # this is my cisco server ip
PORT = 23
import socket
import gzip
s = socket.socket()
#Connecting using telnet
s.connect((HOST,23))
a = s.recv(10000)
print(str(a))
#'\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfd\x1f'
RFC-854 explains the protocol frames, each frame contains options that are maintained on this IANA page.
The byte stream "\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfd\x1f" is made of 4 commands:
First command:
Second command:
Third command:
Last command:
Therefore, your Cisco server said: