How to unsupress local echo

后端 未结 4 810
春和景丽
春和景丽 2021-01-04 23:43

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 en

4条回答
  •  盖世英雄少女心
    2021-01-05 00:11

    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.

提交回复
热议问题