前提是在win7中开启telnet服务

开启方法请参考:http://jingyan.baidu.com/article/870c6fc3cd6fa9b03fe4bee4.html

打开Telnet服务

模拟get请求,访问百度页面
1.打开命令提示符输入:telnet www.baidu.com 80  按enter
CMD模拟http请求

2.按ctrl+] 打开回显功能(便于查看自己输入的字符) (注意继续按enter键)

CMD模拟http请求

3.输入

GET /index.html HTTP/1.1
HOST:www.baidu.com
CMD模拟http请求

 

相关文章:

  • 2022-12-23
  • 2021-10-15
  • 2022-02-07
  • 2022-01-02
  • 2022-01-17
  • 2021-07-14
  • 2018-11-21
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2021-07-15
  • 2021-11-26
  • 2021-10-03
  • 2021-11-10
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案