且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何查看我在 telnet 中输入的内容?

更新时间:2023-12-02 15:23:25

其实并没有挂;只是,出于某种原因,它没有给出任何反馈以表明它已连接.如果您开始输入,您会看到您的输入显示在窗口的左上角,覆盖了已有的内容.例如:

It actually isn't hanging; it's just that, for some reason, it doesn't give any feedback to show that it's connected. If you start typing, you'll see that your input shows up in the upper-left hand corner of the window, overwriting what's already there. For example:

GET / HTTP/1.1rosoft Telnet Client

Escape Character is 'CTRL+]'

Microsoft Telnet> open example.com 80
Connecting To example.com...

你可以看到我输入了GET/HTTP/1.1,覆盖了Welcome to Mic.

You can see that I've typed GET / HTTP/1.1, overwriting Welcome to Mic.

(顺便说一句,请注意,我不必键入 set localecho:对我而言,当我不带参数启动 telnet 时,local-echo 已经开启,并且我敢打赌这对你来说是一样的.)

(By the way, notice that I didn't have to type set localecho: for me local-echo was already on when I launched telnet without arguments, and I'm betting that for you it's the same.)