ãã¼ã / ãã㯠/ WindowsçMySQLã§ã¯ã¨ãªãã°ãåºãæ¹æ³
httpãµã¼ãã®ã¬ã¹ãã³ã¹ãè¦ãæ¹æ³ã¯ãã¼ã«ã使ã£ããã¨ãFirefoxãªã©ã§ã¯ã¢ããªã³ã使ã£ããã¨è²ã æ¹æ³ã¯æãã¾ãããæ2ã¡ãããããã©ããã§è¦ããã¦ã¡ã¢ã£ã¦ãããæ¹æ³ãããã«ã¡ã¢ãã¦ããã¾ãã telnetã³ãã³ãã使ãæ¹æ³ã§ããtelnetã³ãã³ããªã®ã§Windowsã®ã³ãã³ãããã³ãããUnixç³»ã®OSã®ç«¯æ«ä¸ã§æ®éã«å ¥åããã ãã§å©ç¨ãããã¨ãã§ãã¾ãã ä¸ã®ããã«ãªãã¾ãã å ·ä½çã«ã¯ï¼è¡ç®ããµã¼ãã«æ¥ç¶ããããã®telnetã³ãã³ãã§ããï¼è¡ç®ã§telnetã³ãã³ããå®è¡ããã¨ãã®ã¾ã¾å ¥åå¾ ã¡ã«ãªãã®ã§ãã®ä¸ã®åè¡ãï¼è¡ã¥ã¤å ¥åãã¾ããã³ããããã¨æ¥½ã§ããæå¾ã«ã¨ã³ã¿ã¼ãï¼åå ¥åããã¨ãµã¼ãã¼ããã¬ã¹ãã³ã¹ã帰ã£ã¦ãã¾ããï¼å®éã«ã¯CRLFï¼ å ¥åãã©ã¼ãããã¨ãã¼å ¥åå ·ä½çã«æ¸ãã¨ä¸ã®ãããªæãã§ãã [admin@www ~]$ telnet www.yahoo.co.
ãã®ãã¼ã¸ã§ã¯ãã¤ã³ã¿ã¼ãããã§ãã¼ã ãã¼ã¸ãªã©ããã©ã¦ã¸ã³ã°ããã¨ãã«å©ç¨ããHTTPãããã³ã«ã«ã¤ãã¦èª¬æãã¦ãã¾ãã æ¦è¦ HTTPãããã³ã«ã¨ã¯ãHypertext Transfer Protocolã®ç¥ã§ãã¤ã³ã¿ã¼ãããã§ãã¼ã ãã¼ã¸ãªã©ããã©ã¦ã¸ã³ã°ããã¨ãã«å©ç¨ãã¦ãããããã³ã«ã§ãã HTTPãããã³ã«ã¯ãTCP/IPä¸ã®ãããã³ã«ã§ãé常80çªãã¼ãã使ã£ã¦ã¢ã¯ã»ã¹ãã¾ãã 詳細ãªå®ç¾©ã¯ã以ä¸ã®RFCã§å®ç¾©ããã¦ãã¾ãã RFC-1945 HTTP/1.0 RFC-2068 HTTP/1.1 åºæ¬çã«ãã¡ãã»ã¼ã¸ãè¦æ±(ãªã¯ã¨ã¹ã)ãããã®å¿ççµæ(ã¬ã¹ãã³ã¹)ã表示ããã ãã§ãã HTTPã®ã¢ã¯ã»ã¹ãã° Apacheãªã©ã®Webãµã¼ãã®ãã°ãè¦ãã¨ããªã¯ã¨ã¹ãã¨ã¬ã¹ãã³ã¹ãã以ä¸ã®å½¢å¼ã§åºåããã¾ãã ã¢ã¯ã»ã¹ãã°ã®æ¸å¼ ã¢ã¯ã»ã¹å - - [ã¢ã¯ã»ã¹æé] "ã¡ã½ãã
1æ¥1ã¢ã¦ãããããå¿ããã åæ Debian GNU/Linux lennyã§ç¢ºèªã æ£ç´ã³ã¬ã¯å½¹ã«ç«ã¤ãåãããªããã¿ç¥èçãªæ°ããã¾ããåã«ãªã¯ã¨ã¹ããéããªããã£ã¨ã¢ãã³ãªããæ¹ãããã¯ãã ã¨ãããããã¤ã³ã¹ãã¼ã«ã æ§æã«ããããç¥ããªãã®ã§ãããæå°æ§æã§ã¤ã³ã¹ãã¼ã«ããéã¯telnetã³ãã³ããç¡ãã®ã§ã¤ã³ã¹ãã¼ã«ã sudo aptitude update && sudo aptitude safe-upgrade && sudo aptitude install -y telnet éã£ã¦ã¿ã ã³ãã³ãå½¢å¼ã¯ã以ä¸ã®å½¢å¼ã§ãã telnet <ãã¹ã> <portçªå·>telnetã§æ¥ç¶ããããã¨ãµã¼ããå¿çå¾ ã¡ã®ç¶æ ã«ãªãã®ã§ã以ä¸ã®ããã«å ¥åãã¦ããã¾ãã 1è¡ç®ã¯HTTPãªã¯ã¨ã¹ãè¡ã2è¡ç®ããã¡ãã»ã¼ã¸ãããã¨ãªãã¾ããæä½éHostãæå®ããªãã¨ã ãããã®ãµ
telnetã§ãã©ã¦ãºã§ãã¾ããããHTTPãµã¤ããtelnet ã§ãã©ã¦ãºãã¾ããã ãããããtelnetã§ãã¼ã¸åå¾ telnet ã§HTTPãããã¹ã£ã¦ã¿ã telnet www.yahoo.co.jp 80telnetãèµ·åãã¦ãµã¼ãã¼ã«æ¥ç¶ãã takuya@debian00:~$ telnet www.yahoo.co.jp 80 Trying 124.83.235.204... Connected to www.g.yahoo.co.jp. Escape character is '^]'.ããããã¼ã¸ãåå¾ãã GET / HTTP/1.0ã¨ã³ã¿ã¼ãï¼åæ¼ã ãµã¼ãã¼ããçµæã帰ã£ã¦ãã HTTP/1.1 200 OK Date: Fri, 17 Aug 2012 08:57:53 GMT P3P: policyref="http://privacy.yahoo.co.j
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}