telnet实现本地回显
生活随笔
收集整理的這篇文章主要介紹了
telnet实现本地回显
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
下面以訪問 localhost:8080 站點為荔枝說明如何設置 telnet的回顯;
1)操作系統命令行輸入 telnet localhost 8080 回車;
2)同時鍵入 ctrl 和 ] 鍵,進入 telnet 命令行;
3)記不住 telnet 命令的童鞋,輸入 ??
Microsoft Telnet> ?命令可能是縮寫。支持的命令為:c - close 關閉當前連接 d - display 顯示操作參數 o - open hostname [port] 連接到主機(默認端口 23)。 q - quit 退出 telnet set - set 設置選項(鍵入 'set ?' 獲得列表) sen - send 將字符串發送到服務器 st - status 打印狀態信息 u - unset 解除設置選項(鍵入 'set ?' 獲得列表) ?/h - help 打印幫助信息 Microsoft Telnet> 4)輸入 set localecho?
Microsoft Telnet> set localecho 本地回顯啟用 5)直接回車 回到 步驟2所在頁面,這時 telnet就有回顯功能了;
6)看個http請求荔枝: 步驟2所在頁面輸入 GET /trtest.html
GET /trtest.html HTTP/1.1 Host:localhostHTTP/1.1 200 OK Server: Apache-Coyote/1.1 Accept-Ranges: bytes ETag: W/"24-1514996374702" Last-Modified: Wed, 03 Jan 2018 16:19:34 GMT Content-Type: text/html Content-Length: 24 Date: Fri, 05 Jan 2018 15:05:04 GMTlllllllllllllll. in root
1)操作系統命令行輸入 telnet localhost 8080 回車;
2)同時鍵入 ctrl 和 ] 鍵,進入 telnet 命令行;
3)記不住 telnet 命令的童鞋,輸入 ??
Microsoft Telnet> ?命令可能是縮寫。支持的命令為:c - close 關閉當前連接 d - display 顯示操作參數 o - open hostname [port] 連接到主機(默認端口 23)。 q - quit 退出 telnet set - set 設置選項(鍵入 'set ?' 獲得列表) sen - send 將字符串發送到服務器 st - status 打印狀態信息 u - unset 解除設置選項(鍵入 'set ?' 獲得列表) ?/h - help 打印幫助信息 Microsoft Telnet> 4)輸入 set localecho?
Microsoft Telnet> set localecho 本地回顯啟用 5)直接回車 回到 步驟2所在頁面,這時 telnet就有回顯功能了;
6)看個http請求荔枝: 步驟2所在頁面輸入 GET /trtest.html
GET /trtest.html HTTP/1.1 Host:localhostHTTP/1.1 200 OK Server: Apache-Coyote/1.1 Accept-Ranges: bytes ETag: W/"24-1514996374702" Last-Modified: Wed, 03 Jan 2018 16:19:34 GMT Content-Type: text/html Content-Length: 24 Date: Fri, 05 Jan 2018 15:05:04 GMTlllllllllllllll. in root
總結
以上是生活随笔為你收集整理的telnet实现本地回显的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 教你win7如何设置网络共享文件夹win
- 下一篇: Access restriction: