tags:

views:

283

answers:

2

I am trying to suppress the local echo of a password in a telnet session by sending 0xFF 0xFD 0x2D (IAC DO SUPPRESS_LOCAL_ECHO). This works fine.

My trouble is enabling the local echo after the password. I am sending 0xFF 0xFE 0x2D (IAC DONT SUPPRESS_LOCAL_ECHO). But I don't see any of my commands that I type afterwards.

I am using the MS Telnet program to connect.

The IAC is describe here.

The Suppress Local Echo is defined here

A: 

During your telnet sessions in telnet.exe you can pop up the telnet prompt by pressing Ctrl + ]

After that, type "set localecho" or "unset localecho" to switch localecho on or off.

Press Enter to return to your telnet session.

Wouter van Nifterick
But I want to do this from the remote side. The remote side is asking for the password. I got the supression to work, just not the unsupression.
Robert
A: 

Send a backspace and then a *. This will backup the cursor and then print a * over the character they just printed. If it is a slow connection the character may be there for some amount of time. Also look for the '\n' and don't try to over write that.

Robert