On Sun, 13 Sep 2015 00:38:03 -0700, manjunatha.mahalingappa wrote:
> Assume that I will pass IP and port information from a function to open
> the telnet session. have opened the telnet session and after opening the
> telnet session I returned telnet object to calling function.
>
Hello all,
First I would like thank you for creating such good platform for discussing
python..!!!
Assume that I will pass IP and port information from a function to open the
telnet session. have opened the telnet session and after opening the telnet
session I returned telnet object to
On Sat, 02 Jun 2007 17:41:01 +, Samuel wrote:
> I am trying to automate a telnet session (currently using Python's
> telnetlib) and would like to echo any response of the remote host to
> stdout, as soon as it arrives on telnetlib's open TCP socket.
For the records: Bec
Hi,
I am trying to automate a telnet session (currently using Python's
telnetlib) and would like to echo any response of the remote host to
stdout, as soon as it arrives on telnetlib's open TCP socket.
Currently I print the return value of the read_some() method (or other
read* m
[EMAIL PROTECTED] writes:
>hi
>i am using a telnet session to simulate an authentication mechanism
>USER = "user"
>PASSWORD = "password"
>try:
>telnet = telnetlib.Telnet(HOST)
>telnet.set_debuglevel(5)
>telnet.read_until
[EMAIL PROTECTED] writes:
> When i purposely input a wrong password, it "hangs" at the login prompt
> waiting for
> login and Password. The host i am telnetting to is a unix server.
> How can i "exit" this login prompt if the user keys in wrong password
> in my script?
It looks to me like after y
hi
i am using a telnet session to simulate an authentication mechanism
USER = "user"
PASSWORD = "password"
try:
telnet = telnetlib.Telnet(HOST)
telnet.set_debuglevel(5)
telnet.read_until("login: ")
telnet.write(USER + "\n&qu
hi
i am using a telnet session to simulate an authentication mechanism
USER = "user"
PASSWORD = "password"
try:
telnet = telnetlib.Telnet(HOST)
telnet.set_debuglevel(5)
telnet.read_until("login: ")
telnet.write(USER + "\n&qu