telnetlib Questions
7
So I'm trying this really simple example given by the python docs:
import getpass
import sys
import telnetlib
HOST = "<HOST_IP>"
user = raw_input("Enter your remote account: ")
password = g...
Laurenlaurena asked 8/6, 2012 at 16:18
3
I'm using Python's telnetlib to telnet to some machine and executing few commands and I want to get the output of these commands.
So, what the current scenario is -
tn = telnetlib.Telnet(HOST)
tn...
2
Solved
I am trying to send control + c command in python using telnetlib library. Currently I am doing
tn.write('^]')
But the code above doesn't seem to work. Any clue on What I should use?
2
Solved
Is it possible to print the telnet response line by line, when a command executed over telnet keeps on responding over console ?
Example: I have executed a command (to collect logs), It keeps on d...
2
Currently using libmproxy, which in turn uses telnetlib, to make requests to HTTPS Web pages. However, the following error is raised:
Error: [('SSL routines', 'SSL3_READ_BYTES', 'tlsv1 alert unkno...
Norty asked 2/7, 2013 at 22:51
1
Solved
I'm trying to capture and manipulate data within a Telnet session using telnetlib, things are going fairly well, however my newbness with Python is causing me some headache.
My issue is pretty str...
1
© 2022 - 2024 — McMap. All rights reserved.