从 telnet 服务器禁用客户端中的本地回显
我正在为我的新项目开发 Telnet 服务器,我想知道禁用本地回显以安全输入密码的字符序列是什么。我尝试过 \xff\xfb\x01 和所有这些转义序列,但没有一个起作用。请帮忙。
谢谢,
佩德罗·弗朗西斯基
I'm developing a Telnet server for my new project and I'd like to know what's the characters sequence to disable local echo, to securely type a password. I've tried \xff\xfb\x01 and all those escape sequences but none of them have worked. Please help.
Thanks,
Pedro Franceschi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为每个密码字符发送一个退格键和“*”怎么样?它可能仍然会简短地显示每个角色,这不一定是坏事。 [我喜欢 iPhone 仅显示最后输入的字符,这样我就不会输错,而不会在屏幕上留下整个密码。] 不完全符合您的要求,但也许是一个可用的替代方案。
How about sending a backspace and '*' for each password character? It may still show each character briefly which isn't necessarily a bad thing. [I like how the iPhone shows just the last typed character so I didn't mistype it without leaving the whole password on-screen.] Not quite what you asked, but perhaps a usable alternative.