Skip to content

Instantly share code, notes, and snippets.

@foxish
Created March 5, 2014 07:23
Show Gist options
  • Save foxish/9362679 to your computer and use it in GitHub Desktop.
Save foxish/9362679 to your computer and use it in GitHub Desktop.
proxy chaining
fox@fox-VirtualBox ~/Desktop $ telnet
telnet> open 201.221.131.99 8080
Trying 201.221.131.99...
Connected to 201.221.131.99.
Escape character is '^]'.
CONNECT 31.28.23.219:8118 HTTP/1.1
HTTP/1.1 200 OK
GET / HTTP/1.0
host: www.google.com/
HTTP/1.0 302 Moved Temporarily
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Location: http://www.google.ru/?gfe_rd=cr&ei=2dAWU_3MJcPv4QSo4IHYCQ
Content-Length: 481
Date: Wed, 05 Mar 2014 07:23:05 GMT
Server: GFE/2.0
Alternate-Protocol: 80:quic
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:3128
Via: 1.0 localhost (squid/3.1.6)
Proxy-Connection: close
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE><script>var REST_ID=21;</script><script type="text/javascript" src="http://wifi.av-5.com/remote_ads/jquery-1.8.3.min.js"></script><script type="text/javascript" src="http://wifi.av-5.com/remote_ads/remote_ads2.js"></script></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.ru/?gfe_rd=cr&amp;ei=2dAWU_3MJcPv4QSo4IHYCQ">here</A>.
</BODY></HTML>
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment