Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Created October 20, 2016 01:54
Show Gist options
  • Save taisyo7333/f13ff07df577bdd2dfa017921e2d0830 to your computer and use it in GitHub Desktop.
Save taisyo7333/f13ff07df577bdd2dfa017921e2d0830 to your computer and use it in GitHub Desktop.
HOW OT USE nc command
$ nc -c www.yahoo.co.jp 80                                                                              staging ✭
GET / HTTP/1.1
Host: www.yahoo.co.jp

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 20 Oct 2016 01:52:26 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
P3P: policyref="http://privacy.yahoo.co.jp/w3c/p3p_jp.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Vary: Accept-Encoding
Expires: -1
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
X-XRDS-Location: https://open.login.yahooapis.jp/openid20/www.yahoo.co.jp/xrds
X-Frame-Options: SAMEORIGIN

d8f
~~
~~
~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment