cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
206
Views
0
Helpful
2
Replies

python telnet client response how to decode it

globantt
Level 1
Level 1

 python 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'

2 Replies 2

Didn’t you already post this question https://community.cisco.com/t5/controllers/python-telnet-client-response-how-to-decode-it/td-p/5067002

is this another fake account?

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Ruben Cocheno
Spotlight
Spotlight

@globantt 

Try to use netmiko

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/