Skip to content

Instantly share code, notes, and snippets.

@ewalk153
Last active December 26, 2015 17:39
Show Gist options
  • Select an option

  • Save ewalk153/7188387 to your computer and use it in GitHub Desktop.

Select an option

Save ewalk153/7188387 to your computer and use it in GitHub Desktop.
simplest web server testing
while true ; do nc -l 8080 < index.html ; done
HTTP/1.0 302 Found
Location: http://www.google.fr/?gws_rd=cr&ei=UY1tUqauKoWGswartIG4Cw
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=bed6cb523e03f1de:FF=0:TM=1382911313:LM=1382911313:S=PUCWdcTqbwK6mCL5; expires=Tue, 27-Oct-2015 22:01:53 GMT; path=/; domain=.google.com
Set-Cookie: NID=67=d1gcIpyKZ5xgkFQ4ubN8IbJrJ9A7inDWYMW4nBtbkIoUjJ2CiL1AkInaAgZmmufEF4ddXaVQs5-K3PQJtXyeNxEOkWGkpCT4apL-cdLAoPTVSSzfqJwglG3zsoedYONE; expires=Mon, 28-Apr-2014 22:01:53 GMT; path=/; domain=.google.com; HttpOnly
P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
Date: Sun, 27 Oct 2013 22:01:53 GMT
Server: gws
Content-Length: 258
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Alternate-Protocol: 80:quic
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.fr/?gws_rd=cr&amp;ei=UY1tUqauKoWGswartIG4Cw">here</A>.
</BODY></HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment