requesting a domain but going to another host

冷暖自知 提交于 2019-12-25 04:43:24

问题


so i am in a place where i have access to only 5 websites and i am trying to bypass this restrection

when i try to browse any of those website i don't have any problem, for example stackoverflow.com , but i can't access 1.1.1.1 (which is the ip of stackoverflow) it means that what ever is blocking the other website allow only those 5 domains is there anyway i can sumbit a web request to 2.2.2.2 but in the headers i am requesting stackoverflow.com to bypass this restrection

i have no idea how does dns or a simple http request work , i aperciate any idea to start with or at least something to read

also i can't change my dns servers


回答1:


You can try it with any telnet application:

telnet google.com 80

GET / HTTP/1.1
Host: stackoverflow.com

End your request with double enter.

If you receive html then the proxy is letting the request pass.



来源:https://stackoverflow.com/questions/22232390/requesting-a-domain-but-going-to-another-host

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!