官术网_书友最值得收藏!

Case 1 – without a proxy

So, we use nslookup to find the IP address of google.com and then use telnet (to start a TCP session on port 80). If we had used the hostname directly in the telnet command, the DNS lookup would have happened in the backend. 

Once the connection is established, (it shows the escape character), we make the HTTP GET request as shown using HTTP/1.1 and the web server responds with a new location to follow or a redirect: 

主站蜘蛛池模板: 竹溪县| 临沧市| 台北市| 鹰潭市| 瑞安市| 新疆| 沙湾县| 民丰县| 吴川市| 乐东| 南宁市| 嘉荫县| 台东市| 龙南县| 凭祥市| 法库县| 阜康市| 博客| 涟源市| 威信县| 容城县| 响水县| 婺源县| 高陵县| 永年县| 株洲市| 平果县| 青川县| 甘孜| 罗城| 察哈| 玛多县| 疏勒县| 锡林郭勒盟| 南平市| 沂源县| 乐平市| 兴化市| 徐水县| 宾川县| 乐陵市|