>¤¤¤ä¡¢³Î¤«¤Ë%0d%0a¤È¤Ê¤Ã¤Æ¤¤¤¿¤«¤é¡¢CR+LF¤À¤È >»×¤¦¤ó¤Ç¤¹¤±¤É¤Í¡£¤â¤¦°ìÅٳΤ«¤á¤Æ¤ß¤ë¤È¤·¤Þ¤¹¡£ ´Ö°ã¤¤¤Ê¤¯CR+LF¤Ç¤·¤¿¡£ ¤Ò¤ç¤Ã¤È¤·¤Æ¡¢Tera Term¡ÊWindows¤ÎTelnet¤ß¤¿¤¤¤Ê¤â¤Î¡Ë ¤«¤éµ¯Æ°¤·¤¿½ê°Ù¤Ç¤·¤ç¤¦¤«¡©kterm¤«¤é¤Ê¤éLF¤Ë¤Ê¤ë¤Î¤«¤â¡¦¡¦¡¦ ¤Ê¤ª¡¢Lynx¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï >Lynx Version 2.8.2rel.1 (01 Jun 1999) >Built on freebsd3.2 Jul 6 1999 13:31:33 ¤Ç¤·¤¿¡£ |
²þ¹Ô¥³¡¼¥É¤Ê¤ó¤Ç¤¹¤¬¡¤²È¤ÎSolaris¤«¤éÁ÷¿®¤·¤¿¤é Linx¤ÏLF¤ß¤¿¤¤¤Ç¤¹¤Í¤§¡£ Linx¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ°ã¤¦¤Î¤«¤Ê¡© ¤Ç¤âLinx¤«¤é·Ç¼¨ÈĤËÅê¹Æ¤¹¤ë¿Í¤Ê¤ó¤Æ¤¢¤ó¤Þ¤ê¤¤¤Ê¤¤¤è¤¦¤Êµ¤¤¬¡¦¡¦¡¦¡¦ >Yuuki¤µ¤ó ʪ¹¥¤¤Ê¤ó¤Ç²áµî¥í¥°Äº¤¤Þ¤·¤¿¡£ ¤â¤Î¹¥¤¤È¤¤¤¦¤è¤ê¤¿¤À¤Î²Ë¿Í¤«¤â(^^; ¤Ê¤Ë¤«ÌÌÇò¤¤¥Í¥¿¤òõ¤·¤Æ¤¿¤ê¤·¤Þ¤¹¡£ |
³Ø¹»¤ÎSolaris¤ÏLF¤Ç¤·¤¿¡£ |
¤Þ¤º¤Ï³§ÍÍ¡¢¤¢¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ²þ¹Ô¥³¡¼¥É¤ÎÏäǤ¹¤¬¡¢½é¿´¼Ô¸þ¤±¤ÎCGI¤ÎËÜ¤Ë¤Ï Mac¤ÏCR¡¢WINDOWS¤ÏCR+LF¡¢UNIX¡Ê·Ï¡Ë¤ÏLF¤È¤·¤Æ¤¤¤ë¤â¤Î¤¬Â¿¤¤¤è¤¦¤Ç¤¹¤¬ °ã¤¦¤ó¤Ç¤·¤ç¤¦¤«¡© ¤à¤¥¤¥¡¢±ü¤¬¿¼¤¤¡¦¡¦¡¦¡£ ¡äSETI¤ÎÏÃÂê G4¤È¤¤¤¦¤è¤ê¡¢PPC¤¬¶¯¤¤¤Ç¤¹¡£ G4¤Î®¤µ¤Î¸¶°ø¤Ç¤¢¤ë¡¢VelocityEngin¤Ë¥¯¥é¥¤¥¢¥ó¥È¤¬Âбþ¤·¤Æ¤¤¤Ê¤¤¤¿¤á ¸½ºß¤ÏG3¤ÈG4¤Ç¤Î®ÅÙº¹¤Ï¤Û¤È¤ó¤É¤¢¤ê¤Þ¤»¤ó¤Ç¤¹¡£ |
ÌÀ¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤Þ¤À¤Þ¤ÀÁǿͤΰ褫¤é椷¤é¤ì¤Ê¤¤¼Ô¤Ç¤¹¤¬¡¢µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ socket¤Ë¤Ä¤¤¤Æ¤â¡¢Á´¤¯ÃΤé¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ ¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤Ç¤Ï¡¢¤È¤Æ¤âÎɤ¯Ê¬¤«¤ê¤Þ¤·¤¿¡£Í¤êÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ª ¤¤¤¤Ê¤ê¼ÁÌä¤Ç¿½¤·Ìõ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¼±¼Ô¤ÎÊý¤¬¤¤¤é¤Ã¤·¤ã¤¤¤Þ¤·¤¿¤é¡¢¤´¶µ¼¨²¼¤µ¤ì¤Ð¹¬¤¤¤Ç¤¹¡£ HTTP_REFERER¤Ç¤Ï¡¢¸Æ½Ð¤·¸µURL¤¬¥»¥Ã¥È¤µ¤ì¤Þ¤¹¤¬¡¢ ¤³¤ì¡ÊReferer)¤ò¡¢ÊÖ¤µ¤Ê¤¤Íͤˤ¹¤ëÊýË¡¤Ã¤Æ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤Þ¤¿¤Ï¡¢Ç¤°Õ¤ÎURL¤ò¥»¥Ã¥È¤¹¤ëÅù¡£ #¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© µ¹¤·¤±¤ì¤Ð¡¢¤ª¶µ¤¨´ê¤¨¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹<(__)> ----- ¤Á¤Ê¤ß¤Ë¡¢¡ãIMG¡¦¡¦¡ä¥¿¥°¤ò¼è¤Ãʧ¤Ã¤Æɽ¼¨¤µ¤»¤ëCGI¤ò¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤ò»²¹Í¤Ëºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£ ¤¬¡¢SUBMIT¥Ü¥¿¥ó¤¬¤¢¤ë¥Ú¡¼¥¸¤ÇÁ÷¿®¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¡ÊHTTP_REFERER¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¤¤ëCGI¤Ç¤Ï¡¢¡Ë¥¨¥é¡¼¤ÇÃƤ«¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢²óÈò¤·¤¿¤¤¤È»×¤¤¤Þ¤·¤¿¡£ |
¤É¤â (¡£¡¦_¡¦¡£)¥Î Goo¤Ç£³£Ä£Ï¤Î¥²¡¼¥à¡¢¥¹¥¿¡¼¥³¥ó¥È¥í¡¼¥ë£²¤ò¸¡º÷¤·¤Æ ²áµî¥í¥°¤Ë°ú¤Ã³Ý¤«¤Ã¤Æ¤¤¿¤â¤Î¤Ç¤¹¡Ê ;¡°¡°¡Ë¥Ø¡¥¡¥ ¤Á¤Ê¤ß¤ËSEGABBS¤ÎVol.83¤ÎÊÕ¤ê¤Ç¤¹¡£ £È£Ð¤Î¥È¥Ã¥×¤ò¸«¤Æ¤ß¤ë¤È£Õ£Î£É£Ø´Ø·¸¤Î»ñÎÁ¤¬¡Ä ¤³¤Îº¢£Ì£é£î£õ£ø¤ËÄ©À路¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤Ê¤¼¥²¡¼¥à¤Î¸¡º÷¤ò¤·¤Æ¤¤¤Æ£Õ£î£é£ø¤Ë¤¿¤É¤êÃ夯¤Î¤«¡Ê£Ô£Ô ¤½¤ó¤Ê¤Ë»ä¤ËµÙ¤Þ¤º¤Ë£Õ£î£é£ø·Ï¤ÎÊÙ¶¯¤ò¥·¥í¤È¤¤¤¦¤Î¤À¤í¤¦¤«¡Ê¾Ð ¤Þ¤ÀLinux¤Îslackware3.6¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤À¤±¤Ç¤¹¤¬¡¢ ¤³¤³¤Î¤Ú¡¼¤¸Åù¤ò»²¹Í¤Ë¡¢¤æ¤¯¤æ¤¯¤Ï¥µ¡¼¥Ð¤òΩ¤Æ¤Æ¤ß¤¿¤¤¤È ¤ª¤â¤Ã¤Æ¤Þ¤¹¡Ê¤¤¤Ä¤Ë¤Ê¤ë¤³¤È¤ä¤é ¤Á¤Ê¤ß¤Ë£Â£Â£Ó¤ò½ä²ó¤¹¤ëÊʤÏ̵¤¤¤Î¤Ç ¥ì¥¹ÉÕ¤±¤Æ¤âÊÖ»ö̵¤¤¤«¤â¡Ê¤©¤£¤©¤£ ¤È¤¤¤¦¤ï¤±¤Ç¡¢¤Þ¤¿¤¤¤Ä¤«½ñ¤¤³¤ß¤ËÍè¤ë¤«¤â¡Ê¡°¡°¡¨ |
>HTTP_REFERER¤Ç¤Ï¡¢¸Æ½Ð¤·¸µURL¤¬¥»¥Ã¥È¤µ¤ì¤Þ¤¹¤¬¡¢ >¤³¤ì¡ÊReferer)¤ò¡¢ÊÖ¤µ¤Ê¤¤Íͤˤ¹¤ëÊýË¡¤Ã¤Æ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© »ä¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¾Ü¤·¤¤Ìõ¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢¼ÂºÝ¤ÎÆ°ºî¤À¤±¤ò ¿½¤·¾å¤²¤Þ¤¹¤È¡¢¥Ö¥Ã¥¯¥Þ¡¼¥¯¤«¤é¥¢¥¯¥»¥¹¤·¤¿¾ì¹ç¤ä¡¢URL¤ò ľÂǤÁ¤·¤¿¾ì¹ç¤ÏHTTP-Referer¤¬¤Ä¤«¤Ê¤¤¤è¤¦¤Ç¤¹¡£ Referer¤Ï¸Æ¤Ó½Ð¤·¤¿¥Ú¡¼¥¸¤ò¼¨¤¹¤â¤Î¤Ç¡¢¾åµ¤Î¤è¤¦¤Ê ¥±¡¼¥¹¤Ç¤Ï¸Æ¤Ó½Ð¤·¤¿¥Ú¡¼¥¸¤½¤Î¤â¤Î¤¬Â¸ºß¤·¤Þ¤»¤ó¤«¤é¤Í¡£ ¼ÂºÝ¡¢»ä¤Î¥¦¥§¥Ö¥Ú¡¼¥¸¤Î¥¢¥¯¥»¥¹¥í¥°¤Ç¤Ï¡¢Referer¤¬ ¤Ê¤¤¤Î¤â¿¤¤¤Ç¤¹¡£ >#¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¥Ö¥é¥¦¥¶¤¬»ý¤Ä¤â¤Î¤ÏHTTP-User-Agent¤Ç¤¹¡£ ¡ô¤È¡¢ÃǸÀ¤·¤Æ¤¤¤¤¤Î¤«¤Ê¡Ä¡£ User-Agent¤òÁàºî¤Ç¤¤ë¥Ö¥é¥¦¥¶¤â¤¢¤ê¤Þ¤¹¡£IE¤â¤½¤Î£±¤Ä ¤é¤·¤¤¤Î¤Ç¤¹¤¬¡¢¥ì¥¸¥¹¥È¥ê¤ÎÁàºî¤¬É¬ÍפÀ¤È¤«¸À¤Ã¤Æ¡¢»ä¤Ë¤Ï ¤Á¤ç¤Ã¤Èʬ¤«¤ê¤Þ¤»¤ó¡£ ¤â¤Ã¤È¤ä¤ê°×¤¤¤Î¤ÏLynx¤Ç¤¹¤Í¡£¤³¤ì¤Ë¤Ï¡¢Option¥á¥Ë¥å¡¼¤Î Ãæ¤ËƲ¡¹¤ÈUser-Agent¤ò»ØÄꤹ¤ë¹àÌܤ¬¤¢¤ê¤Þ¤¹¡£ |
>#¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¥Ö¥é¥¦¥¶¤¬¥ê¥ó¥¯¸µ¤Î¥Ú¡¼¥¸¤Î¾ðÊó¤È¤·¤ÆReferer: ¥Ø¥Ã¥À¤òÁ÷¤ëÌõ¤Ç¤¹¤«¤é¡¢ ÅöÁ³¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤Þ¤¹¡Ä¤È¤¤¤¦¤«¡¢¥Ö¥é¥¦¥¶¤¬¤É¤Î¤è¤¦¤Ê Referer: ¥Ø¥Ã¥À¤òÁ÷¤ë¤«¡¢¤Þ¤¿¤Ï¡¢Á÷¤é¤Ê¤¤¤«¤ò·è¤á¤Æ¤¤¤Þ¤¹¡£ User-Agent: ¥Ø¥Ã¥À¤â¤½¤¦¤Ç¤¹¤¬¡¢HTTP¥ê¥¯¥¨¥¹¥È¥Ø¥Ã¥À¤Ï¡¢ ¥¯¥é¥¤¥¢¥ó¥È¡¢¤Ä¤Þ¤ê¤³¤³¤Ç¤Ï¥Ö¥é¥¦¥¶¼¡Âè¤Ç¤¹¡£ |
¤¢¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª º£Æü¤ä¤Ã¤È¿Þ½ñ´Û¤¬³«¤¤¤¿¤Î¤Ç1999/12/24ƱÍÍ¡¢¤½¤³¤Î¥Þ¥·¥ó ¤«¤é¥«¥¥³¤·¤Æ¤Þ¤¹(¾Ð)¡£ ¥ì¥¹¤¬ÃÙ¤ì¤Æ¤¹¤¤¤Þ¤»¤ó¡ä68userÍÍ >+wx ¤È¤¤¤¦·Á¼°¤À¤È umask ¤ÎÃͤǽ¤¾þ¤µ¤ì¡¢¤½¤Î·ë²Ì¤¬¼ÂºÝ¤Î >¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£¤Ê¤Î¤Ç¡¢umask 0 ¤Ë¤Ç¤â¤Ê¤Ã¤Æ >¤¤¤Ê¤¤¸Â¤ê 777 ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤¢¤ï¤ï¡¢ÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¡£»ä¤ÎÊÙ¶¯ÉÔ¤Ǥ¹(´À) ># ¡Ö¤È¤Ï¤¤¤¨¡¢ÌÀ¼¨Åª¤Ë u+wx ¤È¤« 755 ¤È»ØÄꤹ¤ëÊʤòÉÕ¤±¤¿Êý¤¬¤è¤¤¡×¤È¤¤¤¦ ># ¹Í¤¨¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤Í¡£¤É¤Ã¤Á¤¬¤¤¤¤¤Î¤«¤Ê¡£ +¤ÎÁ°¤Ë²¿¤â¤Ä¤±¤Ê¤±¤ì¤Ð¡Ê¤Ä¤Þ¤ê+wx¤ß¤¿¤¤¤Ë¤¹¤ì¤Ð¡Ëumask¤ÎÃͤǽ¤¾þ¤µ¤ì¤ë ¤È¤¤¤¦¤³¤È¤òÃΤé¤Ê¤«¤Ã¤¿»ä¤Ï¤¤¤Ä¤âu+wx¤Ê¤É¤È¤·¤Æ¤Þ¤·¤¿¤±¤É¡£ ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò»È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© ¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ì¤Ð¤¦¤ì¤·¤¤¤Î¤Ç¤¹¤¬¡£ |
UNIX¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë ¥³¥Ô¡¼¤¹¤ëÊýË¡¤Ïºß¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«,¤â¤·¤¢¤Ã¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
>¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼¤¹¤ëÊýË¡ http://X68000.startshop.co.jp/~68user/unix/prgmemo.html#cp ¤Î -R ¥ª¥×¥·¥ç¥ó¤Ç¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¡© |
goosanÍÍ¡¢mmÍÍ¡¢¸æ²óÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ ÂçÊÑ»²¹Í¤È¤Ê¤ê¤Þ¤·¤¿¡ª¡ª Ëͤϡ¢¤Þ¤À¤Þ¤À¥¹¥¥ë¤ÏÄ㤤¤Î¤Ç¤¹¤¬¡¢Ê¬¤«¤ë»ö¤¬¤¢¤ì¤Ð¡¢ Åú¤¨¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£(give and take¤ÎÀº¿À¤Ç(^-^)) º£¸å¤È¤âµ¹¤·¤¯¤ª¤Í¤¬¤·¤Þ¤¹¡£ |
1·î2Æü¤Ëµ¢¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬¡¢¿§¡¹¤¢¤Ã¤Æ(Èè¤ì¤Æ¤Æ)ÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£(^^;; FreeBSD¤ÎÆþÌç½ñ¤ò¸«¤Ë¹Ô¤¯¤Ä¤¤¤Ç¤Ë ¥×¥í¥°¥é¥ß¥ó¥°Perl²þÄûÈÇ (http://www.oreilly.co.jp/BOOK/pperl.htm) ¤òÇ㤪¤¦¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢»Ï¤á¤Æ¤ÎPerl ¤òÇã¤Ã¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Ç¤¹:-) Ãø¼Ô¤ËLarry Wall¤Î̾¤¬Ìµ¤¤¤Î¤È¥é¥¯¥À¤Î³¨¤¬Ìµ¤¤¤Î¤Ç¤ª¤«¤·¤¤¤Ê¤È¤Ï»×¤Ã¤Æ¤¿¤Î¤Ë ¤½¤Î¤Þ¤Þ¥ì¥¸¤Ø....(^^;; ¥ê¥Õ¥¡¥ì¥ó¥¹¤Î»ö¤È¤«¥â¥¸¥å¡¼¥ë¤Îºî¤êÊý¤È¤«¤¬ÃΤꤿ¤«¤Ã¤¿¤Î¤Ë¤Î¤Ã¤Æ¤¤¤Ê¤¤:-) FreeBSD¤ÎÊý¤Ï FreeBSDÅ°ÄìÆþÌç (http://www.pro.or.jp/~fuji/computerbooks/unix-x/freebsd.asada.html) ¤Ë¤·¤è¤¦¤«¤Ê¤È»×¤¤¤Þ¤¹¡£¤Þ¤ÀÇã¤Ã¤Æ¤Ê¤¤(^^; >68user¤µ¤ó >¤½¤Î¤¦¤Á namazu ¤Ç¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£ ¤³¤ê¤ã¤É¤¦¤â¡¢³Ú¤·¤ß¤Ç¤¹¡£ >½ñÀÒÁª¤Ó¤Ë¤Ï > ¡¡http://www.jp.FreeBSD.org/CD-list/ > ¤â»²¹Í¤Ë¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ »²¹Í¤Ë¤·¤Þ¡¼¤¹¡£ >¹ÓÌÚ¤µ¤ó >ʪ¹¥¤¤Ê¤ó¤Ç²áµî¥í¥°Äº¤¤Þ¤·¤¿¡£ ¤É¤¦¤¾¤É¤¦¤¾¡£ ¤Ç¤â¤¢¤Þ¤êÌò¤ËΩ¤¿¤Ê¤¤¤«¤â.... >¤Ê¤Ë¤«ÌÌÇò¤¤¥Í¥¿¤òõ¤·¤Æ¤¿¤ê¤·¤Þ¤¹¡£ Ëͤϡ¢ÊÙ¶¯¤¬¤Æ¤é¤ËPerl¤Î¥â¥¸¥å¡¼¥ë ¤È¤«ºî¤í¤¦¤«¤È¡£¡¡¡¡¡ÄŪ³°¤ì¤Ê¥ì¥¹¤«¤â¤·¤ì¤Ê¤¤¡£ |
µ¢¾ÊÀ褫¤é¤³¤ó¤Ë¤Á¤Ï¡£ > ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò > »È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© tcpdump ¤Î¾¤Ë¤â sniffit ¤ä ethereal ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢¥ê¥¯¥¨¥¹¥È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ê´Êñ¤Ê http proxy ¤òºî¤Ã¤Æ¡¢ ¥í¡¼¥«¥ë¤ÇÆ°¤«¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤³·Ðͳ(http://localhost:8080 ¤È¤«) ¤Ç¥Ö¥é¥¦¥º¤¹¤ë¤Î¤â¤ª¼ê·Ú¤Ç¤·¤ç¤¦¡£ > ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò > ¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼ cp -R ¤Ç¤â¤¤¤¤¤Ç¤¹¤·¡¢ cd target-dir; tar zcvf /floppy/archive.tgz . ¤È¤¤¤¦¤Î¤â¤¢¤ê¤Þ¤¹¡£¤¢¤È mtools ¤ò»È¤¦¼ê¤â¡£ > FreeBSD¤ÎÊý¤Ï FreeBSDÅ°ÄìÆþÌç¤Ë¤·¤è¤¦¤«¤Ê¤È ¤½¤ì¤Ê¤ê¤ÎËܤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢¸Å¤¤(2.2.1R)¤Î¤Ç ¤¢¤Þ¤ê¤ª´«¤á¤Ï¤·¤Þ¤»¤ó¡£ # ºÇ¶á¤Ï¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¤Ê¤¤¤Î¤Ç¡¢ # ²¿¤¬¤è¤¤¤Î¤«ÃΤé¤Ê¤¤¤ó¤Ç¤¹¤è¤Í¡£ > ¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î > ¤Ç¤·¤ç¤¦¤«¡© CGI ¦¤«¤é»²¾È¤Ç¤¤ë´Ä¶ÊÑ¿ô¤Ç¡¢Æ¬¤Ë HTTP_ ¤¬¤Ä¤¯¤â¤Î¤Ï Á´¤Æ¥Ö¥é¥¦¥¶¤ä proxy ¥µ¡¼¥Ð¤¬Ãͤò·è¤á¤Æ¤¤¤Þ¤¹¡£ |
>»Ï¤á¤Æ¤ÎPerl ¤òÇã¤Ã¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Ç¤¹:-) Yuuki¤µ¤ó¡¢Ëͤξì¹ç¤Ï¡¢¡Ö½é¤á¤Æ¤ÎPerl¡×¤òÇ㤤¤Ë¹Ô¤Ã¤Æ¡¢ ¡Ö¥×¥í¥°¥é¥ß¥ó¥°Perl¡×¤·¤«¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢Ãíʸ¤·¤Æ Ç㤤¤Þ¤·¤¿¡£ ËͤΥì¥Ù¥ë¤ËÃúÅ٥ޥåÁ¤·¤Æ¡¢Æɤ߱þ¤¨½½Ê¬¡Ê¾Ð¡Ë ̤¤À¤ËWIN¤«¤é椹¤ë»ö¤¬¤Ç¤¤Ê¤¤SAITO¤Ç¤·¤¿¡£ |
»Å»öÃæ¤Ë¤è¤¯UNIX¤ÎÉô²°¤òÍøÍѤµ¤»¤Æ夤¤Æ¤Þ¤¹¡£ ¤µ¤Ã¤½¤¯¡¢¶µ¤¨¤Æ夤¿¤¤¤Î¤Ç¤¹¤¬¡¢ UNIX¥³¥Þ¥ó¥É¤Ç¥æ¡¼¥¶¡¼ID̾¤È¥°¥ë¡¼¥×̾¤òÊѤ¨¤ë»ö¤Ï½ÐÍè¤Þ¤¹¤«¡© ¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
> ¥æ¡¼¥¶¡¼ID̾¤È¥°¥ë¡¼¥×̾¤òÊѤ¨¤ë root ¤Ë¤Ê¤Ã¤Æ /etc/passwd ¤¢¤¿¤ê¤òÊÔ½¸¤·¤Þ¤¹¡£FreeBSD ¤Ê¤é vipw ¥³¥Þ¥ó¥É¤Ç½ñ¤´¹¤¨¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£group ¤Ï /etc/group ¤Ç¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£¤³¤Î¥Û¡¼¥à¥Ú¡¼¥¸¤ò¤¤¤Ä¤â¸«¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤Þ¤¹¡£ > > ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò > > »È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© > tcpdump ¤Î¾¤Ë¤â sniffit ¤ä ethereal ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£ ¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£µ¡²ñ¤¬¤¢¤ì¤Ð»î¤·¤Æ¤ß¤è¤¦¤È»×¤¤¤Þ¤¹¡£ > ¤Þ¤¿¡¢¥ê¥¯¥¨¥¹¥È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ê´Êñ¤Ê http proxy ¤òºî¤Ã¤Æ¡¢ > ¥í¡¼¥«¥ë¤ÇÆ°¤«¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤³·Ðͳ(http://localhost:8080 ¤È¤«) > ¤Ç¥Ö¥é¥¦¥º¤¹¤ë¤Î¤â¤ª¼ê·Ú¤Ç¤·¤ç¤¦¡£ ¤¦¡¼¤ó¡¢»ä¤Ï¤Þ¤À¤½¤³¤Þ¤Ç¤Ç¤¤ë¥ì¥Ù¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó(^^; ½¤¹Ô¤»¤Í¤Ð |
£Ã¥·¥§¥ë¤Ç¿¼¡¸µÇÛÎó¤Îµ½ÒÊýË¡¤¬¤¢¤ì¤Ð¶µ¤¨¤Æ²¼¤µ¤¤¡£¡Ê¤¢¤ë¤ó¤Ç¤¹¤«¡©¡Ë(*_*)¡¿ |
> ¤¦¡¼¤ó¡¢»ä¤Ï¤Þ¤À¤½¤³¤Þ¤Ç¤Ç¤¤ë¥ì¥Ù¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó(^^; port 8080 ¤ò bind ¤¹¤ë¥µ¡¼¥Ð¥×¥í¥°¥é¥à¤òºî¤Ã¤Æ¡¢ ¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤ËÀßÄꤹ¤ì¤Ð¡¢ ¥ê¥¯¥¨¥¹¥È¤ò½Ð¤¹¤¿¤Ó¤Ë GET http://foo/bar HTTP/1.0 ... ¤È¤¤¤¦¥ê¥¯¥¨¥¹¥È¤¬¤¯¤ë¤Î¤Ç¡¢¤½¤ì¤ò (ɸ½à½ÐÎϤË) ɽ¼¨¤¹¤ì¤Ð ¥Ö¥é¥¦¥¶¤Î¥ê¥¯¥¨¥¹¥ÈÆâÍƤ¬¤ï¤«¤ë¤Ç¤·¤ç¤¦¡£ ¥ê¥¯¥¨¥¹¥ÈÆâÍƤòɽ¼¨¤¹¤ë¤À¤±¤Ê¤é¤½¤ì¤Ç OK ¤Ç¤¹¤¬¡¢ ¤½¤ì¤ò¾¤Î¥Û¥¹¥È¤ËÃæ·Ñ¤·¤Æ¤ä¤ë¤È proxy ¥µ¡¼¥Ð¤Î¤Ç¤¤¢¤¬¤ê¡£ > £Ã¥·¥§¥ë¤Ç¿¼¡¸µÇÛÎó¤Îµ½ÒÊýË¡ ¤Ç¤¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£eval »È¤Ã¤¿¤ê¾®ºÙ¹©¤¹¤ì¤Ð̵Íý¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤±¤É¡¢ perl ¤ä awk ¤Ç¤ä¤ëÊý¤¬Áᤤ¤È»×¤¦¡£ |
UNIX¤Ç¥Ç¥£¥ì¥¯¥È¥ê¤ä¥Õ¥¡¥¤¥ë¤ò¥¢¡¼¥«¥¤¥Ð¤·¤Æ°µ½Ì¤·¤ÆFD¤Ë°Ü¤·¤ÆWindows98¤ÇŸ³«¤¹¤ë¤³¤È¤Ï½ÐÍè¤ë¤Î¤Ç¤¹¤«¡£ tar(*.tar,*.tar.gz,*.tgz),LHA¡¦LZH(*.lzh), ZIP(*.zip)·Á¼°¤Î¥¢¡¼¥«¥¤¥Ð,gzip(*.gz)·Á¼°¤Î°µ½Ì,¤¹¤Ù¤Æ½ÐÍè¤ë¤Î¤Ç¤¹¤«¡£ ¤Þ¤¿UNIX¤ÇWindowsÍѤΠ*.exe ¤Ê¤É¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤ÆFD¤Ë°Ü¤·¤ÆWindows98¤Ç¼Â¹Ô¤¹¤ë¤³¤È¤Ï½ÐÍè¤Þ¤¹¤«¡£ Windows¥æ¡¼¥¶¡¼¤È¤Î¥Ç¡¼¥¿¤Î¸ò´¹¤Î»²¹Í¤Î¤¿¤á¤Ë¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
¤¿¤À¤Î¥Õ¥¡¥¤¥ëžÁ÷¤Ê¤Î¤Ç¡¢Á´¤Æ²Äǽ¤Ç¤¹¡£¥¢¡¼¥«¥¤¥Ö¤¬Æɤá¤ë¤«¤É¤¦¤«¤Ï Windows ¦¤Ë¤½¤Î·Á¼°¤ò°·¤¨¤ë¥¢¡¼¥«¥¤¥Ð¤¬¤¢¤ë¤«¤É¤¦¤«¤Ç¤¹¤¬¡¢ tar/gzip/LHA/LZH/ZIP Á´¤Æ·¤Ã¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤ì°ÊÁ°¤Ë¡¢¼ÁÌä¤ËÂФ¹¤ëÅú¤¨¤ò¤â¤é¤Ã¤¿¤Î¤Ë (¥Ç¥£¥ì¥¯¥È¥ê°ì³ç¥³¥Ô¡¼¤Î·ï)¡¢ ¤ï¤«¤Ã¤¿¤Î¤«¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤«ÊÖÅú¤¹¤ëµ¤¤¬¤Ê¤¤¤Ê¤é¡¢ºÇ½é¤«¤é¼ÁÌ䤷¤Ê¤¤¤Ç²¼¤µ¤¤¡£ |
¤è¤¯Ê¬¤«¤ê¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£ > port 8080 ¤ò bind ¤¹¤ë¥µ¡¼¥Ð¥×¥í¥°¥é¥à¤òºî¤Ã¤Æ¡¢ ¤¹¤Ç¤Ë¤³¤Î»þÅÀ¤Ç¥Ñ¥Ë¥¯¤Ã¤Æ¤Þ¤¹(^^; ºî¤êÊý¤¬Ê¬¤«¤é¤Ê¤¤¤·¡Ê»²¹Í¤Ë¤Ê¤ë¥Ú¡¼¥¸¤¬¤¢¤ì¤Ð¾Ò²ð¤·¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡©¡Ë¡¢ ¤¢¤È¡¢ºî¤ì¤ë´Ä¶¤Ë¤¢¤ë¤«¤É¤¦¤«¤âʬ¤«¤ê¤Þ¤»¤ó¡ÊÂç³Ø¤Î¶µ°é·Ï¤Ç¤¹¤«¤é¤Í¡Ë¡£ > ¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤ËÀßÄꤹ¤ì¤Ð¡¢ telnet¤Ç¤½¤Î¥µ¡¼¥Ð¡¼¤Î8080¤Ë¥¢¥¯¥»¥¹¤·¤Æ¡Ä¤Ã¤Æ¤¤¤¦¤Î¤â¥¢¥ê¤Ç¤¹¤«¡© ¡ô»ä¤Ïtelnet¤äftp¤Î»È¤¤Êý¤òΩ¤ÁÆɤߤÇÃΤä¿¥¯¥Á¤Ç¤¹¤Î¤Ç¡¢Åª³°¤ì¤Ç¤·¤¿¤é ¡ô¤´¤á¤ó¤Ê¤µ¤¤ m(__)m HTTP¤Î¸¶Íý¤ä¥×¥í¥È¥³¥ë¤Î¥Ø¥Ã¥ÀÆâÍÆ¡¢HTTP_REFER¤Ê¤É¤Î´Ä¶ÊÑ¿ô¤Ë´Ø¤¹¤ëÀâ ÌÀ¤Ê¤É¤Ë¤Ä¤¤¤Æ½ñ¤«¤ì¤Æ¤¤¤ë½ñÀÒ¤ò¤´Â¸¤¸¤Ç¤·¤¿¤é¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡©¤½ ¤ì¤òÆɤó¤Ç¤«¤é¤Ç¤Ê¤¤¤È¤»¤Ã¤«¤¯¤Î¥¢¥É¥Ð¥¤¥¹¤¬¡Ö¥Í¥³¤Ë¾®È½¡×¾õÂÖ¡Ä(*_*) |
> ¤½¤ì¤Ê¤ê¤ÎËܤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢¸Å¤¤(2.2.1R)¤Î¤Ç > ¤¢¤Þ¤ê¤ª´«¤á¤Ï¤·¤Þ¤»¤ó¡£ ËÜÅö¤À¡¢¸Å¤¤¤ó¤Ç¤¹¤Í¡£(^^;;; (http://www.jp.FreeBSD.org/www.FreeBSD.org/ja/releases/) 2.x¤è¤ê3.x¤Î¤Û¤¦¤¬¿·¤·¤¤¤«¤é¤¤¤¤¤Î¤«¤¡¡¢¡¢¡¢ ¤¦¡¼¤ó¡£:-) ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê ¤³¤¦Çº¤ó¤Ç¤ë¤è¤ê¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© |
²¼¤ÎÅê¹Æ¤Ë´Ö°ã¤¤¤¬¤¢¤ê¤Þ¤·¤¿:-) > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê > ¤³¤¦Çº¤ó¤Ç¤ë¤è¤ê¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© ¤Ï > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê > ¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© ¤Ç¤¹¡£¤¹¤ß¤Þ¤»¤ó¡£ |
µ×¤·¤Ö¤ê¤ËFreeBSD¤Î¸ø¼°¥µ¥¤¥È¤òÇÁ¤¤¤Æ¸«¤Þ¤·¤¿¡£3.X·Ï¤â3.4R¤Þ¤Ç½Ð¤Æ¤¿¤ó¤Ç¤¹¤Í¤§¡£ ¤Ç¤â»ä¡¤2.x¤È3.x¤Î°ã¤¤¤¬¤¢¤Þ¤ê¤ï¤«¤Ã¤Æ¤Þ¤»¤ó(^^;) 3.0¤«¤éDOS¤ÎFat32¤¬¥Þ¥¦¥ó¥È¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤¯¤é¤¤¤·¤«ÃΤé¤Ê¤¤¡£ ¾ðÊó¸Å¤¹¤®?¡© ISO¥¤¥á¡¼¥¸¤Ç¤Î¥ê¥ê¡¼¥¹¤â¹Ô¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤È¤Ï¡£²óÀþ¤ÎÁᤤ¿Í¤Ë¤ÏÊØÍø¤Ç¤¹¤Í¡£ ¤½¤ì¤«¤é³¤³°¤ÎPerl¤Ë´Ø¤¹¤ë¥µ¥¤¥È¤â¥¦¥í¥Á¥ç¥í¤·¤Æ¤¤Þ¤·¤¿¡£ ¤Ê¤ó¤ÈPerl2exe¤Ê¤ó¤Æ¤¤¤¦Win32¤Î¥Ð¥¤¥Ê¥ê¥È¥é¥ó¥µ¡¼¤¬¤¢¤ë¤ó¤Ç¤¹¤Í¡£ ¤¦¤ì¤·¤¯¤Ê¤Ã¤Æ¡¤¤¤¤í¤¤¤íÊÑ´¹¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¤³¤³¤Ç¸ø³«¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ê¤É¤ÏÌäÂê¤Ê¤¯Æ°ºî¤·¤Þ¤·¤¿¡£ ¤³¤¦¤Ê¤ë¤ÈPerl¤ÇGUI¤Ê¤ó¤Æ¤Î¤â¹Í¤¨¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ²Ë¤Ä¤Ö¤·¤ËPerl/Tk¤Ç¤âÊÙ¶¯¤·¤Æ¤ß¤è¤¦¤«¤Ê(^o^) |
°Ê²¼¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤ò¥í¡¼¥«¥ë¤Ç¼Â¹Ô¤·¤Æ¡¢¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤Ë¤¹¤ì¤Ð¡¢¥ê¥¯¥¨¥¹¥ÈÆâÍƤÀ¤±¤Ï¸«¤é¤ì¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ ¤Á¤ã¤ó¤È¥ê¥¯¥¨¥¹¥È¤òÃæ·Ñ¤·¡¢Ê֤äƤ¯¤ë¥Ç¡¼¥¿¤ò¥Ö¥é¥¦¥¶¤Ë ¼õ¤±ÅϤ¹¤è¤¦¤Ë¤¹¤ì¤Ð¡¢´Ê°× proxy ¥µ¡¼¥Ð¤Ë¤Ê¤ê¤Þ¤¹¡£ # ¿ô¹Ô¤ÎÄɲäǤǤ¤ë¤Ç¤·¤ç¤¦¡£ #!/usr/local/bin/perl use Socket; $port = 8080; socket(CLIENT_WAITING,PF_INET,SOCK_STREAM,0) || die; setsockopt(CLIENT_WAITING,SOL_SOCKET,SO_REUSEADDR,1) || die; bind(CLIENT_WAITING,sockaddr_in($port,INADDR_ANY)) || die; listen(CLIENT_WAITING,SOMAXCONN) || die; while (1){ accept(CLIENT,CLIENT_WAITING); while (<CLIENT>){ s/[\r\n]+$//; print "$_\n"; if ( $_ eq "" ){ last } } close(CLIENT); } > »²¹Í¤Ë¤Ê¤ë¥Ú¡¼¥¸¤¬¤¢¤ì¤Ð¾Ò²ð¤·¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡© ¤³¤Á¤é¤Ê¤É :-) http://X68000.startshop.co.jp/~68user/net/ > ²Ë¤Ä¤Ö¤·¤ËPerl/Tk¤Ç¤âÊÙ¶¯¤·¤Æ¤ß¤è¤¦¤«¤Ê(^o^) - °Õ³°¤ÈºÙ¤«¤¤ÀßÄ꤬¤Ç¤¤Ê¤¤ - ¤Á¤ç¤Ã¤È½Å¤¤ (perl/Tk ¤Ç3D¥¨¥ó¥¸¥óºî¤í¤¦¤È¤¹¤ë¤Î¤¬´Ö°ã¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É) - (ºÇ¿·ÈǤÏ) ÆüËܸ줬½Ð¤Ê¤¤¤Î¤¬¸·¤·¤¤ - ¤ß¤ó¤Ê Qt ¤ä Gtk ¤Ë¹Ô¤Ã¤Á¤ã¤Ã¤Æ¡¢¥É¥¥å¥á¥ó¥È¤ä¥Î¥¦¥Ï¥¦¤¬Æþ¼ê¤·¤Ë¤¯¤¤ ¤È¤¤¤¦¤Î¤¬Ëͤδ¶ÁۤǤ¹¡£´Êñ¤Ê GUI ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òºî¤ë¤¯¤é¤¤¤Ê¤é ·ë¹½»È¤¨¤ë¤ó¤Ç¤¹¤¬¤Í¤§¡£ > 3.0¤«¤éDOS¤ÎFat32¤¬¥Þ¥¦¥ó¥È¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤¯¤é¤¤¤·¤«ÃΤé¤Ê¤¤¡£ ¥«¡¼¥Í¥ë¤Þ¤ï¤ê¤ÏÂ礤ÊÊѹ¹¤¬¤¢¤ê¤Þ¤·¤¿¤¬¡¢¥æ¡¼¥¶¥é¥ó¥É¤Ç¤Ï ¤¢¤Þ¤ê°ã¤¤¤Ï¤Ê¤¤¤Ç¤¹¡£ËͤΤ褦¤Ê¥é¥¤¥È¥æ¡¼¥¶¤Ë¤Ï¡¢ºÇ¿·¤Î ports/packages ¤¬»È¤¨¤ë¤È¤¤¤¦¤¯¤é¤¤¤·¤«¡¢Ä¾ÀÜŪ¤Ê¥á¥ê¥Ã¥È¤Ï ¤Ê¤¤¤Ç¤¹¤«¤Í¡£ > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡© ¤¿¤Àµ¡Ç½±¾¡¹¤è¤ê¡¢Î㤨¤Ð ML ¤Ç¼ÁÌ䤷¤Æ¤â¡¢2.2.1 ¤Î¤è¤¦¤Ê¸Å¤¤ ¥Ð¡¼¥¸¥ç¥ó¤À¤È»ÈÍѤ·¤Æ¤¤¤ë¿Í¤¬¾¯¤Ê¤¤¤Î¤Ç¡¢²óÅú¤¬¤â¤é¤¤¤Ë¤¯¤¤ ¤È¤¤¤¦¥Ç¥á¥ê¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¡£ ¤Ç¤â¤Þ¤¡¡¢3.1/3.2/3.3 ¤¬¤Ä¤¤¤Æ¤¯¤ë¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¡¢ UNIX USER ÉÕÏ¿¤Î CD-ROM ¤«¤é 3.4R ¤òÆþ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£ ¥¹¥¯¥ê¥×¥È¤Î¥µ¥ó¥×¥ë¤ò¸«¤»¤Æ¤¯¤ì¤Æ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹ ¡ä 68userÍÍ FreeBSD(98)¤Î¡ÖÈó¸ø¼°¡×¥Ú¡¼¥¸¤«¤é¡¢¥ê¥ó¥¯¤òé¤Ã¤Æ http://www.jp.freebsd.org/ ¤Ë¥¢¥¯¥»¥¹¤·¤¿¤È¤¤Î¥ê¥¯¥¨¥¹¥ÈÆâÍƤò¸«¤ë¤³¤È¤¬¤Ç¤¤Þ¤·¤¿¡À(^^)¡¿ °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¤Ç¤¹¡§ GET http://www.jp.freebsd.org/ HTTP/1.0 Referer: http://www.nisoc.or.jp/~karl/freebsd-pc98/ Proxy-Connection: Keep-Alive User-Agent: Mozilla/4.03 [en] (X11; I; SunOS 5.6 sun4u) Host: www.jp.freebsd.org Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: ja Accept-Charset: iso-8859-1,*,utf-8 ¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£perl¤ÏÁ´¤¯ÃΤé¤Ê¤¤¤Î¤Ç¡¢¤³¤ì¤«¤éÊÙ¶¯ ¤·¤è¤¦¤«¤Ê¤È»×¤Ã¤Æ¤Þ¤¹¡£ ¤Ç¤Ï¤Ç¤Ï(^^)¡¿~~~ |
¥Æ¥¹¥Æ¥¹¡£È¾³Ñ¥«¥Ê¤È¤«¡¢cookie ¤È¤«¡¢cache ¤È¤«¡¦Last-Modified ¥Ø¥Ã¥À¤Ê¤É¤ËÂбþ¡£ ÀäÂХХ°¤Ï¤¢¤ë¤Ï¤º¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ!! ¤¹¤´¤¤¤Ç¤¹¡¢68user¤µ¤ó¡£¤¤¤í¤¤¤íÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤¸¤Ä¤Ï¡¢¤¤¤Þ¡¢VC++¤Ç¡¢HTTP¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤òHttp1.1¤Ç ½ñ¤¤¤Æ¤ë¤Î¤Ç¤¹¤±¤É¡¢Transfer-Encoding: chunked ¤ÇÁ÷¤é¤ì¤Æ¤¯¤ë¥Ü¥Ç¥£¤Î¥Ç¥³¡¼¥ÉÊýË¡¤¬¤ï¤«¤ó¤Ê¤¯¤Æº¤¤Ã¤Æ¤Þ¤¹¡£ ¤â¤·¡¢¤´Â¸ÃΤǤ·¤¿¤é¡¢¤¹¤³¤·¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤¤¿¤¤¤Î¤Ç¤¹¡£ ¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
¤³¤Î´Ö¤Ï¡¢¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤ªÊ¢¤¬¶õ¤¤¤¿¤Î¤Ç¡¢cookie¤Ç¤â¤¤¤¿¤À¤¤Ë¤¤Þ¤·¤¿¡¦¡¦¡¦ mail¤Èurl¤Ï¥À¥ß¡¼¤Î¤òÆþ¤ì¤Æ¤ß¤Þ¤¹¡£ |
cookie¤ò¤ª¤¤¤·¤¯Äº¤¤Þ¤·¤¿¡£ ¤´Êó¹ð¤Þ¤Ç¡£ ¢¨¡¡¥³¥ì¥é¥ÎÅê¹Æ¡¢ÌäÂꥫ¡«¥¢¥ê¥Þ¥·¥¿¥é¡¢ºï½ü¥·¥Æ¥¤¥¿¥¿¡«¥¤¥Æ¥â·ë¹½¥Æ¡«¥¹¡£ |
·Ç¼¨ÈĤ¬¥Ñ¥ï¡¼¥¢¥Ã¥×¤·¤Þ¤·¤¿¤Í¡£ º£¡¢Åê¹Æ¤¹¤ë»þ¤Ë ¤Ø¤Ë¤«¤µ¤ó¤Î¥¯¥Ã¥¡¼¤ò¿©¤Ù¤Á¤ã¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤¬¡¢¤Ê¤ó¤Ç¤À¤í¤¦¡© ̾Á°:¤Ø¤Ë¤« Email:test@test.test URL:http://www.infoseek.co.jp/ ¤ÈÆþ¤Ã¤Æ¤Þ¤·¤¿¡£ > ¤Ç¤â¤Þ¤¡¡¢3.1/3.2/3.3 ¤¬¤Ä¤¤¤Æ¤¯¤ë¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¡¢ > UNIX USER ÉÕÏ¿¤Î CD-ROM ¤«¤é 3.4R ¤òÆþ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£ UNIX USER 12·î¹æ¤ËFreeBSD3.3R¤¬¤Ä¤¤¤Æ¤ë¤Î¤Ç¤³¤¤¤Ä¤òÃíʸ¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£ (http://www.softbank.co.jp/~unixuser/index/1999/9912.html) 3.xÉդΥ¤¥ó¥¹¥È¡¼¥ëËܤäÆ2.x¤Î¤è¤ê¾¯¤Ê¤«¤Ã¤¿¤Ç¤¹¡£ ¿·¤·¤¤¤«¤é¿¤¤¤«¤È»×¤Ã¤¿¤Î¤Ë¡¢Í½ÁÛ³°:-) |
¤¦¡¼¤ó¡¢cookie¤ÈȾ³Ñ¥«¥Ê°Ê³°¤Î²þ¤ÅÀ¤¬Ê¬¤«¤é¤Ê¤¤¤Ê¤¡(^¢À^; ¥Ï¥ó¥É¥ë¤ÎÁ°¤Î¡û¤Î¥ê¥ó¥¯¤Ï²¿¤À¤í¤¦¢é¡© Ê¿À®(12)ǯI·îúÀúÇÆü |
>¢®¢® ¤Ï¡¢i ¤È viii ¤Î¤Ä¤â¤ê¤Ç¤·¤¿¡£ |
> UNIX USER 12·î¹æ¤ËFreeBSD3.3R¤¬¤Ä¤¤¤Æ¤ë¤Î¤Ç¤³¤¤¤Ä¤òÃíʸ¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£ UNIX USER 2000ǯ£³·î¹æ¤Ë¤ÏFreeBSD 3.4¤¬¼ýϿͽÄê¤À¤È»×¤¤¤Þ¤¹ :-) |
> Transfer-Encoding: chunked Á´Á³¤ï¤«¤ê¤Þ¤»¤ó¡£RFC Æɤó¤Ç¤â²¿¤Î¤³¤È¤ä¤é¤µ¤Ã¤Ñ¤ê¤Ê¤ó¤Ç¡¢ ¤É¤Ê¤¿¤«¶µ¤¨¤Æ¡£ > º£¡¢Åê¹Æ¤¹¤ë»þ¤Ë ¤Ø¤Ë¤«¤µ¤ó¤Î¥¯¥Ã¥¡¼¤ò¿©¤Ù¤Á¤ã¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤¬ ¤¢¤¢¡¢¤½¤¦¤Ç¤¹¤Í¡£³Î¤«¤ËÁ°¤Î¿Í¤Î¤¬Æþ¤ê¤Þ¤¹¡£¥Ð¥°¤Ç¤¹¤Í (^^; > <FONT COLOR=red>mm</FONT> ¤¢¤¢¡¢¥Ð¥°¤Ç¤¹¤Í¡£¤³¤ì¡¢Ä¾¤·¤¿¤Ä¤â¤ê¤À¤Ã¤¿¤ó¤À¤±¤É¤Ê¤¡¡£ > i ¤È viii ¤Î¤Ä¤â¤ê¤Ç¤·¤¿¡£ ¤¢¤¢¤¢¡¢¥Ð¥°¡Ä¤Ç¤¹¤«¤Í? ½ñ¤¹þ¤ó¤À i ¤Ï (SJIS ¤Ç) 0xEEEF ¤Ç¤¹¤«? ¤½¤ì¤È¤â 0xF940 ¤Ç¤¹¤«? ¤È¤³¤í¤Ç¡¢http://X68000.startshop.co.jp/~68user/tmp/knj-tut.txt ¤Î 2D30/874F ¤Î¹Ô¤Ï¡¢¤¦¤Á¤Ç¤Ï 2D30/874F ´Ý16´Ý17¡ÄI II III¡ÄVIII IX X XI(¹ÔËö) ¤È¸«¤¨¤ë¤ó¤Ç¤¹¤¬¡¢Windows ¤Ç¤âƱ¤¸¤Ç¤¹¤«? XI ¤Ê¤ó¤Æ¥Õ¥©¥ó¥È¤¢¤ê¤Þ¤¹? # ¤¦¤Á¤Î¥Õ¥©¥ó¥È¤Ïµ¡¼ï°Í¸ʸ»úÉôʬ¤òÄɲä·¤¿¤â¤Î¤Ê¤Î¤Ç¤¹¤¬¡¢ # Äɲûþ¤Ë¥ß¥¹¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤«¤â¤·¤ì¤Ê¤¤¡£ > ¤¦¡¼¤ó¡¢cookie¤ÈȾ³Ñ¥«¥Ê°Ê³°¤Î²þ¤ÅÀ¤¬Ê¬¤«¤é¤Ê¤¤¤Ê¤¡(^¢À^ ¥í¥°·Á¼°¤ò http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard-log/lall ¤È¤·¤Þ¤·¤¿¡£½é²ó¤Î½ÐÎÏ»þ¤Ï http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard-log/cache/ ¤Î¤è¤¦¤Ë¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¡¢¼¡²ó¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¤ß¤Æ¡¢ ¥¥ã¥Ã¥·¥å¤¬Í¸ú¤Ê¤é¡¢Á°²óºîÀ®¤·¤¿¥¥ã¥Ã¥·¥å¤ò Content-Length ¤È Last-Modified ¤òÉÕ¤±¤Æ½ÐÎϤ·¤Þ¤¹¡£ # ¤À¤«¤é¡¢Á°¤ÎÅê¹Æ¼Ô¤Ø¤Î FORM ÆâÍƤ¬»Ä¤Ã¤Æ¤·¤Þ¤Ã¤¿¤È¡£ |
¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÊÙ¶¯¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£ ¤È¤³¤í¤Ç¸½ºß¡¢ÌµËÅ¡©¤Ë¤âperl¤Ç¼«ºîproxy¥µ¡¼¥Ð¤òºî¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬ ¥í¡¼¥«¥ëIP¤ÎÀܳ¤Ï¤Ç¤¤ë¤Î¤Ç¤¹¤¬¡¢Internet¦¡Êgateway¡Ë¤Î´Ä¶±Û ¤¬¤¦¤Þ¤¯Æ°¤«¤Ê¤¤¤Î¤Ç¤¹¤¬¡£ perl¤Ç¤Î¥½¥±¥Ã¥ÈÄÌ¿®¤Ë¤ª¤¤¤Æ¤Ê¤Ë¤«gatewayÅù¤ÎÀßÄ꤬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© *HTTP¥µ¡¼¥Ð¾å¤Çperl¤òÆ°¤«¤¹¤Ö¤ó¤Ë¤Ïhttp¥µ¡¼¥Ð¤¬¾¡¼ê¤Ëgateway¤ò±Û¤¨ ¤ÆÀܳ¤·¤Æ¤¯¤ì¤ë¤Î¤ÇÌäÂê¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¤¬¡£http¥µ¡¼¥Ð¤Ç¤Ï¤Ê¤¯Ä¾ÀÜ linux¤Ë¾ïÃ󤹤ë¤È¤¦¤Þ¤¯Æ°¤¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¤À¤ì¤«ÃΤäƤ¤¤ëÊý¤¤¤Þ¤»¤ó¤«¡© *Àܳweb¥µ¡¼¥Ð¤ÎIP¼èÆÀ¤Ë¤Ïgethostbyname´Ø¿ô¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ ¼«ºîproxy¥µ¡¼¥Ð¤Ï¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¤Ë¤ª¤¤¤Ælinux¥µ¡¼¥Ð¦¤Ç¾ï Ã󤵤»¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¥×¥í¥¥·ÀܳÍ×µá¤òPort:8080¤Ç´Æ»ë¤µ ¤»¤Æ¤¤¤Þ¤¹¡£ ¤Á¤Ê¤ß¤ËHTTP¥³¥Í¥¯¥·¥ç¥ó¤Î»²¹Í¤Ë¤·¤¿¤â¤Î¤Ï°Ê²¼¤Î¥µ¥¤¥È¤Ç¤¹¡£ ¶½Ì£¤Î¤¢¤ëÊý¤Ï»²¹Í¤Ë¡£ URL¡§http://www2d.biglobe.ne.jp/~gama/cgi/index.cgi |
²¼¤Î½ñ¤¹þ¤ß¤Î·ï¡¢²ò·è¤·¤Þ¤·¤¿¡£ ÅöÊý¤Îlinux¥µ¡¼¥Ð¤ÎÀßÄê¥ß¥¹¤Ë¤è¤êÀµ¤·¤¯gatewayÀßÄ꤬¤µ¤ì¤Æ¤¤¤Ê¤¯ ¸«¤Ä¤±¤é¤ì¤Ê¤«¤Ã¤¿¤è¤¦¤Ç¤¹¡£¡Ê½éÊâŪ¥ß¥¹¤Ç¤¹¡Ë ¤è¤Ã¤ÆÀµ¤·¤¯Gateway¤¬¥µ¡¼¥Ð¾å¤ÇÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢gethostbyname´Ø¿ô ¤Ë¤ª¤¤¤ÆÀµ¾ï¤ËÁê¼ê¥µ¡¼¥Ð¤ÎIP¥¢¥É¥ì¥¹¤Ï¼èÆÀ¤Ç¤¤Þ¤·¤¿¡£ ¤³¤ì¤Ç¼«ºîProxy¤ÏÆ°¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¤¬¡¢¤Ê¤¼¤«ÃÙ¤¤¡ª ¥µ¡¼¥Ð¦¤Ø¤ÎÉé²Ù¤Ï¤¢¤Þ¤ê¤Ê¤µ¤½¤¦¤Ê¤Î¤Ç¤¹¤¬²èÁü¡Êgif¡¦jpg¡Ë ¤Î¥Ç¡¼¥¿¼èÆÀ¤¬ÃÙ¤¯¡¢¥½¥±¥Ã¥È¤«¤éɬ¤ººÇ¸å¤Î¥Ð¥¤¥ÈÆɤ߹þ¤ß¤Ë ¤ª¤¤¤Æ¥ê¥¿¡¼¥ó¤¬¤Ê¤«¤Ê¤«Ê֤äƤ³¤Ê¤¤¤Î¤Ç¤¹¡£ ²èÁü¥Ç¡¼¥¿¤Î¼èÆÀ¤Ë¤ä¤êÊý¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© *´°À®¤·¤¿¤é¸ø³«¤·¤Þ¤¹¤Î¤ÇÊÙ¶¯ºàÎÁ¤Ë¤Ç¤â¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤Ê¤«¤Ê¤«Perl Proxy¤Ï¸ø³«¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Î¤Ç¡£ |
>0xEEEF ¤Ç¤¹¤«? ¤½¤ì¤È¤â 0xF940 ¤Ç¤¹¤«? úÀ¤Ï¡¢0xFA40 ¤Ç¤¹¡£0xF940 ¤Ë¤Ï¤Ê¤Ë¤â¤¢¤ê¤Þ¤»¤ó¡£ >¤È¸«¤¨¤ë¤ó¤Ç¤¹¤¬¡¢Windows ¤Ç¤âƱ¤¸¤Ç¤¹¤«? XI ¤Ê¤ó¤Æ¥Õ¥©¥ó¥È¤¢¤ê¤Þ¤¹? ʬ¤«¤ê¤ä¤¹¤¤¤è¤¦¤Ë¡¢¥¥ã¥×¥Á¥ã¤·¤Æ¤ß¤Þ¤·¤¿¡£¡Ê XI ¤Ï¤¢¤ê¤Þ¤»¤ó¡Ë http://www2s.biglobe.ne.jp/~cru/test/moji01.gif knj-tut.txt ¤Ë¤è¤ì¤Ð¡¢¤³¤ì¤¬NEC PC-98¥·¥ê¡¼¥º¤Î°Í¸ʸ»ú¤Ë¤Ê¤Ã¤Æ¤ë¤è¤¦¤Ç¤¹¤Í¡£ ¥¦¥Á¤Î¥Ñ¥½¥³¥ó¤Ï¡¢¤³¤ÎNEC PC-98¥·¥ê¡¼¥º¤Ê¤Î¤Ç¡¢PC/AT¸ß´¹µ¡¤Ç¤âƱ¤¸¤è¤¦¤Ë ¸«¤¨¤ë¤«¤É¤¦¤«¤Ïʬ¤«¤ê¤Þ¤»¤ó¡£ ¤Ä¤¤¤Ç¤Ë¡¢0xEEF0 ¤ä 0xFA40 ÉÕ¶á¤â´Þ¤á¤Æ¥¥ã¥×¥Á¥ã¡¼¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¢¥ª¥ê¥¸¥Ê¥ëHTML http://www2s.biglobe.ne.jp/~cru/test/moji02.html ¢¥Ö¥é¥¦¥¶¤Ç¸«¤¿¥¥ã¥×¥Á¥ã²èÁü http://www2s.biglobe.ne.jp/~cru/test/moji02.gif >¤Î¤è¤¦¤Ë¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¡¢¼¡²ó¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¤ß¤Æ¡¢ ¤à¤à¡¼¡¢¤Þ¤ÀÍý²ò¤·¤Æ¤Ê¤¤¤±¤É¡¢¤Ê¤ó¤«¥¹¥´¤¤¤³¤È¤ä¤Ã¤Æ¤ë¡Ê¶ì¾Ð¡Ë |
> ²èÁü¥Ç¡¼¥¿¤Î¼èÆÀ¤Ë¤ä¤êÊý¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤ó¡Á¡¢¥½¡¼¥¹¤ò¸«¤Ê¤¤¤³¤È¤Ë¤Ï²¿¤È¤â¸À¤¤¤¬¤¿¤¤¤Ç¤¹¡£ > 0xFA40 ¤Ç¤¹ ¤¢¤ê¤ã¡¢ http://www2d.biglobe.ne.jp/~msyk/charcode/kisyuizon/115-116ku.html ¤Î¡Ö1¥Ð¥¤¥ÈÌܤ¬F9¡×¤È¤¤¤¦µ½Ò¤¬´Ö°ã¤Ã¤Æ¤¤¤ë¤Î¤«¤Ê? ¤³¤Î¥Ú¡¼¥¸¤Ë¤Ï ¤È¤Æ¤â¤ªÀ¤ÏäˤʤäƤ¤¤ë¤Î¤Ç¡¢´Ö°ã¤Ã¤Æ¤¤¤ë¤Ê¤é feed back ¤·¤Æ¤ª¤«¤Ê¤¤¤È¡£ ¤Ç¡¢115¡Á119¶è¤Ë¤Ä¤¤¤Æ¤â¼«Æ°ÊÑ´¹¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£ > ¤³¤ÎNEC PC-98¥·¥ê¡¼¥º¤Ê¤Î¤Ç 98 ¤Îµ¡¼ï°Í¸ʸ»ú¤È¸À¤Ã¤Æ¤â¡¢Windows ¤òÆ°¤«¤¹¤È PC/AT µ¡¤È Ʊ¤¸¤Ê¤ó¤Ç¤·¤ç¤¦¤«¤Í¡£ |
>¤Î¡Ö1¥Ð¥¤¥ÈÌܤ¬F9¡×¤È¤¤¤¦µ½Ò¤¬´Ö°ã¤Ã¤Æ¤¤¤ë¤Î¤«¤Ê? ʸ»ú¥³¡¼¥Éɽ¤¯¤é¤¤¡¢¤É¤³¤«¤Ë¤¢¤ë¤À¤í¤¦¤È»×¤Ã¤Æ¡¢¸¡º÷¤·¤¿¤±¤É¡¢°Õ³°¤È¤Ê¤¤¤Ç¤¹¤Í¡£ ¥¦¥Á¤Î´Á»ú¥³¡¼¥Éɽ¤Ç¤Ï¡¢´Ö°ã¤¤¤Ê¤¯115¶è¤ÏFA¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¡£ http://www.vector.co.jp/soft/win95/util/se102214.html >IBM³Èĥʸ»ú¶èÅÀ¥³¡¼¥É(´¹»»)¤Ç115¶è¡Á119¶è(FA40-FC4B) ¤È¤¤¤¦µ½Ò¤â¤¢¤ê¤Þ¤·¤¿¡£ ¤ä¤Ï¤ê¡¢ http://www2d.biglobe.ne.jp/~msyk/charcode/kisyuizon/115-116ku.html http://www2d.biglobe.ne.jp/~msyk/charcode/kisyuizon/117-118ku.html ¤Ï¡¢£±¤º¤Ä¤º¤ì¤Æ¤ë¤ó¤¸¤ã¤Ê¤¤¤«¤Ê¤¡¡Ä http://www2d.biglobe.ne.jp/~msyk/charcode/kisyuizon/119-120ku.html ¤ÎFC¤ÏOK¤«¤Ê >Windows ¤òÆ°¤«¤¹¤È PC/AT µ¡¤ÈƱ¤¸¤Ê¤ó¤Ç¤·¤ç¤¦¤«¤Í¡£ ¤¦¡¼¤ó¡¢¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¡Ê¶ì¾Ð¡Ë |
0xFA40¤È¤¤¤¦Ê¸»ú¤Ç¤¹¤¬¡¢»ä¤Î´Ä¶(PC/AT+Win95)¤Ç¤Ï¡¢ ¤³¤Î·Ç¼¨Èľå¤Ç¤Ï i ¤È¤Ïɽ¼¨¤µ¤ì¤º¡¢0xEDBE¤ÈƱ¤¸Ê¸»ú¤È¤·¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£ ƱÍÍ¤Ë viii ¤â0xEDC5¤ÈƱ¤¸¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î·Ç¼¨ÈĤδÁ»ú¥³¡¼¥É¤ÏEUC¤Î¤è¤¦¤Ç¤¹¤¬¡¢EUC¤Î£²¥Ð¥¤¥È´Á»ú¤ÎÈÏ°Ï¤Ï JIS-X0208¤ÈƱ¤¸¤Ç¡¢¤³¤ì¤Ï¥·¥Õ¥ÈJIS¤Ç0xEFFC¤Þ¤Ç¤ËÂбþ¤·¤Æ¤¤¤ë¤Î¤Ç¡¢ ¤½¤ì°Ê¹ß¤Î¥·¥Õ¥ÈJIS¥³¡¼¥É¤ÏEUC¤ËÊÑ´¹¤Ç¤¤Þ¤»¤ó¡£ ¤¹¤ë¤È¤³¤Î¾ì¹ç¤Ï¡¢0xFA40¤È¤¤¤¦¥³¡¼¥É¤¬EUC¤ËÊÑ´¹¤µ¤ì¤º¤ËÁÇÄ̤ꤷ¤Æ ¤·¤Þ¤¤¡¢¤½¤ÎÂ裱¡¤£²¥Ð¥¤¥ÈÌܤΤ½¤ì¤¾¤ì¤Î¥È¥Ã¥×¥Ó¥Ã¥È¤ò¼è¤Ã¤¿ 0x7A40¤¬¤¿¤Þ¤¿¤Þ¥·¥Õ¥ÈJIS¤Î0xEDBE¤Ë°ìÃפ·¤Æ¤¤¤¿¤¿¤á¤È»×¤ï¤ì¤Þ¤¹¡£ |
>0x7A40¤¬¤¿¤Þ¤¿¤Þ¥·¥Õ¥ÈJIS¤Î0xEDBE¤Ë°ìÃפ·¤Æ¤¤¤¿¤¿¤á¤È»×¤ï¤ì¤Þ¤¹¡£ ¤Á¤ã¤ó¤ÈÍý²ò¤·¤Æ¤Þ¤»¤ó¤¬¡¢Shift-JIS¤Î0xEDBE¡ÊÆüÊФ˽դÎʸ»ú¡Ë¤Ï¡¢EUC¤Î¥½¡¼¥¹¾å¤Ç¤Ï¡¢ 0xFAC0¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¤Í¡£ ¤³¤ì¤Ï¡¢0xFA40¤¬ÊÑ´¹¤µ¤ì¤º¤Ë¡¢Â裲¥Ð¥¤¥È¤ÎMSB¤¬Î©¤Ã¤¿¤À¤±¤Ã¤Æ¤³¤È¤«¤Ê¡© |
¤¤¤¨¡¢°ã¤¦¤È»×¤¤¤Þ¤¹¡ägoosan ¤³¤Î·Ç¼¨ÈĤǤϡ¢ÆþÎÏʸ»úÎó¤ò jcode::convert ¤ò»È¤Ã¤Æ EUC ¤Ë ÊÑ´¹¤·¡¢EUC ¥³¡¼¥É¤Çµ¡¼ï°Í¸ʸ»ú¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Þ¤¹¡£ ¤Ç¡¢jcode::convert ¤Ï¡¢SJIS ¤Î 0xFA40 (i) ¤ò 0xFAC0 ¤Ë ÊÑ´¹¤¹¤ë¤è¤¦¤Ç¤¹¤¬¡¢¤³¤ì¤Ï¿ʬ´Ö°ã¤Ã¤¿·ë²Ì¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£ # EUC ¤Î°·¤¨¤ë JIS X 0208 ¤Ï 94¶è¤Þ¤Ç¤·¤«ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢ # ´Ö°ã¤Ã¤Æ¤¤¤ë¤È¤¤¤¦É½¸½¤ÏÉÔŬÀÚ¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡£ ¤Ç¡¢EUC ¤Î 0xFAC0 ¤Ï http://www2d.biglobe.ne.jp/~msyk/charcode/kisyuizon/89-90ku.html ¤Î `Æü½Õ' ¤È¤¤¤¦Ê¸»ú¤ËÁêÅö¤¹¤ë¤Î¤Ç¡¢¤½¤Îʸ»ú¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¡¢ ¤Ã¤Æ¤³¤È¤À¤È»×¤¤¤Þ¤¹¡£ ¤Ç¡¢mm ¤µ¤ó¤Ï¤½¤ì¤ò¥³¥Ô¡¼¤·¤Æ http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=666 ¤Ë½ñ¤«¤ì¤¿¤Î¤Ç¡¢`Æü½Õ'`¤¬¼«Æ°ÊÑ´¹¤µ¤ì¡¢¡Ö¢®¡×¤È¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿ ¤È¤¤¤¦¤³¤È¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£ ¤µ¤Æ¡¢º¤¤Ã¤¿¤Ê¤¡¡£SJIS ¤Ç 95¶è°Ê¹ß (JIS X 0208 ¤Ç µ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤Éôʬ) ¤ÎÆþÎϤ¬¤¢¤Ã¤¿¾ì¹ç¤É¤¦¤¹¤ë¤Ù¤¤«¡£ ¡Ä¤ÈǺ¤ó¤ÇÄ´¤Ù¤Æ¤ß¤¿¤È¤³¤í¡¢ http://www.opengroup.or.jp/jvc/cde/sjis-euc.html > Ãíµ: > ... > 3.NECÁªÄêIBM³Èĥʸ»ú¤Ï¡¤SJIS¤«¤éÆüËܸìEUC¤Ø¤ÎÊÑ´¹¤Ë¤ª¤¤¤Æ¤Ï¡¤ > ¡¡SJIS¤Ç¤¤¤Ã¤¿¤ó IBM³Èĥʸ»ú¤Ë ÊÑ´¹¤·¤Æ¤«¤éÆüËܸìEUC¤ËÊÑ´¹¤¹¤ë¡¥ http://www.opengroup.or.jp/jvc/cde/ibmext-table.html ¤Î¤è¤¦¤Ë¡¢Êä½õ´Á»ú (JIS X 0212) ¤ËÃÖ´¹¤¹¤ë¤Î¤â°ì¤Ä¤Î²ò¤Ê ¤è¤¦¤Ç¤¹¤Í¡£¤¿¤À¡¢¾¯¤Ê¤¯¤È¤â FreeBSD (X Window System) ¤Ç¤Ï JIS X 0212 ¥Õ¥©¥ó¥È¤Ï¥ª¥×¥·¥ç¥Ê¥ë¤Ç¤¹¤·¡¢Windows ¤Ç¤Ï¤Þ¤º JIS X 0212 ¤Ï»È¤¨¤Ê¤¤¤Ç¤·¤ç¤¦¤· (SJIS ¤Ç¤Ï JIS X 0212 ¤Ï »ÈÍѤǤ¤Ê¤¤)¡¢¸½¼ÂŪ¤Ç¤Ï¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ·ë¶É jcode.pl ¤ò½¤Àµ¤·¡¢¤µ¤é¤Ë¥Ö¥é¥¦¥¶¤¬ Windows ¤Ê¤é SJIS ¤Ç½ÐÎÏ¡¢UNIX ¤Ê¤é EUC ¤Ç½ÐÎÏ¡¢¤Ã¤Æ¤³¤È¤Ë¤Ê¤ë¤Î¤«¤Ê¤¡¡£ # ¡Ä¤Ê¤ó¤«¤É¤ó¤É¤ó¿¼¤ß¤Ë¤Ï¤Þ¤Ã¤Æ¤¤¤Ã¤Æ¤ë¤è¤¦¤Êµ¤¤¬ (¾Ð) ¤È¤³¤í¤Ç¡¢²¾¤Ë mm ¤µ¤ó¤¬ 91/92 ¶è¤Î i/viii ¤ò»È¤Ã¤Æ¤¤¤¿¤é ¼«Æ°ÊÑ´¹¤µ¤ì¤¿¤Ï¤º¤Ê¤Î¤Ç¤¹¤¬¡¢mm ¤µ¤ó¤¬¤ª»È¤¤¤Î IME ¤Ï ÉáÄÌ¤Ë i/viii ¤òÆþÎϤ¹¤ë¤È 115/116¶è¤Î¥³¡¼¥É¤Ë¤Ê¤Ã¤Æ ¤·¤Þ¤¦¤ó¤Ç¤·¤ç¤¦¤«? |
>ÉáÄÌ¤Ë i/viii ¤òÆþÎϤ¹¤ë¤È 115/116¶è¤Î¥³¡¼¥É¤Ë¤Ê¤Ã¤Æ >¤·¤Þ¤¦¤ó¤Ç¤·¤ç¤¦¤«? ÉáÄ̤«¤É¤¦¤«¤Ï¤è¤¯ÃΤé¤Ê¤¤¤ó¤Ç¤¹¤¬¡¢¡Ö¤¤¤Á¡×¤ò´Á»úÊÑ´¹¤·¤Æ¤â Âçʸ»ú¤ÎI¤·¤«½Ð¤ÆÍè¤Ê¤¤¤Î¤Ç¡¢MS-IME¤Î¡Ö´Á»ú¼Åµ¡×¤È¤¤¤¦¥¦¥¤¥ó¥É¥¦¤ò³«¤¤¤Æ¡¢ ¡ÖÆüìʸ»ú¡×¥¿¥°¤ÎÃ椫¤é¾®Ê¸»ú¤Î¥í¡¼¥Þ¿ô»ú¤òÁª¤Ö¤È115¶è¤ÎúÀ(i)¤¬ÆþÎϤµ¤ì¤Þ¤¹¡£ ¤³¤Î¡ÖÆüìʸ»ú¡×¥¿¥°¤Ï¡¢8¶è¤Î·ÓÀþ¤ä13¶è¤Îµ¹æ¤Î°ìÍ÷¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬ ¡ÊÂçʸ»ú¤Î¥í¡¼¥Þ¿ô»ú¤â13¶è¤Î¤â¤Î¤Ç¤¹¡Ë¡¢¾®Ê¸»ú¤À¤±¤¬115¶è¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ʸ»ú¥³¡¼¥Éɽ¤È¤¤¤¦¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò»È¤¦°Ê³°¤Ë¡¢92¶è¤Îüñ¤òÆþÎϤ¹¤ëÊýË¡ ¤òÃΤê¤Þ¤»¤ó¡Ä¥Û¥ó¥È¤Ë»ä¤¬ÃΤé¤Ê¤¤¤À¤±¤«¤âÃΤì¤Þ¤»¤ó¤¬¡Ê¶ì¾Ð¡Ë >¤Ç¡¢mm ¤µ¤ó¤Ï¤½¤ì¤ò¥³¥Ô¡¼¤·¤Æ ¥Ô¥ó¥Ý¡Á¥ó¡ª ¸å¤ÇÄ´¤Ù¤è¤¦¤È»×¤Ã¤Æ¡¢Ëº¤ì¤Æ¤Þ¤·¤¿¡Ê¶ì¾Ð¡Ë >¤Ç¡¢jcode::convert ¤Ï¡¢SJIS ¤Î 0xFA40 (i) ¤ò 0xFAC0 ¤Ë >ÊÑ´¹¤¹¤ë¤è¤¦¤Ç¤¹¤¬¡¢¤³¤ì¤Ï¿ʬ´Ö°ã¤Ã¤¿·ë²Ì¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£ jcode.pl ¤ÎÊÑ´¹Éôʬ¤Ã¤Æ¡¢ÇÁ¤¤¤¿¤³¤È¤Ê¤«¤Ã¤¿¡Ê¶ì¾Ð¡Ë |
¤½¤¦¤Ç¤¹¤Í¡£EUC¤À¤«¤éµÕ¤Ç¤¹¤Í¡£JIS¤Ë¤³¤À¤ï¤ê²á¤®¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Ç¤¹¡£ >¤³¤Î·Ç¼¨ÈĤǤϡ¢ÆþÎÏʸ»úÎó¤ò jcode::convert ¤ò»È¤Ã¤Æ EUC ¤Ë >ÊÑ´¹¤·¡¢EUC ¥³¡¼¥É¤Çµ¡¼ï°Í¸ʸ»ú¤Î¥Á¥§¥Ã¥¯¤ò¤·¤Æ¤¤¤Þ¤¹¡£ ¥Õ¥©¡¼¥à¤¬Á÷½Ð¤·¤¿¥Ç¡¼¥¿¤¬¤É¤¦¤¤¤¦´Á»ú¥³¡¼¥É¤À¤Ã¤¿¤«¤È¤¤¤¦ÅÀ¤â µ¤¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÈ̤ˤϥե©¡¼¥à¤Î¤¢¤ë¥Ú¡¼¥¸¤ÈƱ¤¸´Á»ú¥³¡¼¥É¤Ë ¤Ê¤ë¤³¤È¤¬Â¿¤¤¤è¤¦¤Ç¤¹¤¬¡¢²¾¤Ë¤½¤¦¤À¤È¤¹¤ë¤È¡¢¥¡¼¥Ü¡¼¥É¤«¤é ¥Õ¥©¡¼¥à¤ËÆþÎϤ·¤¿ºÝ¤Ë¤ÏSJIS¤À¤Ã¤¿¤Î¤¬¡¢¥Õ¥©¡¼¥à¤¬¥Ç¡¼¥¿¤ò Á÷½Ð¤¹¤ëºÝ¤Ë¤ÏEUC¤ËÊÑ´¹¤µ¤ì¡¢jcode'convert()¤¬ÆþÎÏ´Á»ú¥³¡¼¥É¤Î ¼«Æ°È½Äê¤ò¤¹¤ëºÝ¤Ë¿¿ô·è¤ÎÏÀÍý¤ÇEUC¤ÈȽÄꤵ¤ì¡¢»ä¤¬jcode.pl¤ò ¸«¤ë¸Â¤ê¤Ç¤ÏEUC->EUC¤Ç¤Ï¥«¥Ê¤ÎȾ³Ñ<->Á´³ÑÊÑ´¹¤ò¤·¤Ê¤¤¸Â¤ê¤Ï ²¿¤â¤·¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç¡¢jcode.convert()¤ÇMSB¤¬Î©¤Ã¤¿¤³¤È¤Ï ͤêÆÀ¤Ê¤¤¤è¤¦¤Ç¤¹¡£ |
0xFA40¤¬EUC¤ËÊÑ´¹¤µ¤ì¤ëºÝ¤Ë¤É¤¦¤¤¤¦µóÆ°¤ò¤·¤¿¤«¤È¤¤¤¦ÅÀ¤â ÌäÂê¤Ç¤¹¡£½ñ¤Ëº¤ì¤Æ¤¤¤Þ¤·¤¿¡£ |
> Êä½õ´Á»ú (JIS X 0212) ¤ËÃÖ´¹¤¹¤ë¤Î¤â°ì¤Ä¤Î²ò¤Ê¤è¤¦¤Ç¤¹¤Í¡£ ¤ª¤Ã¤È¡¢Â礤ʴª°ã¤¤¡£ ¤³¤Î·Ç¼¨ÈÄ¤Ï (¤È¤¤¤¦¤è¤ê EUC-JP ¤Ï) 13,89¡Á92 ¶è¤ò°·¤¨¤Þ¤¹¤¬¡¢ 115¡Á119 ¶è¤Îµ¡¼ï°Í¸ʸ»ú¤ÏÁ´¤Æ13,89¡Á92 ¶è¤ÎÊý¤Ë¤â´Þ¤Þ¤ì¤Æ ¤¤¤ë¤Î¤Ç¡¢jcode.pl ¤ò¤¤¤¸¤Ã¤Æ¡¢SJIS ¤Î 115¡Á119¶è¤ò 13,89¡Á92¶è¤ËÊÑ´¹¤¹¤ë¤è¤¦¤Ë¤¹¤ì¤Ð¤¤¤¤¤ï¤±¤Ç¤¹¤Í¡£ > jcode::convert ¤Ï¡¢SJIS ¤Î 0xFA40 (i) ¤ò 0xFAC0 ¤Ë > ÊÑ´¹¤¹¤ë¤è¤¦¤Ç¤¹¤¬ ºòÆü¤Ï³Î¤«¤Ë¼ê¤â¤È¤Ç³Îǧ¤·¤¿¤Ä¤â¤ê¤À¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ º£Æü»î¤·¤Æ¤ß¤ë¤È jcode::convert(*,'euc') ¤Ç¡¢ SJIS ¤Î 0xFA40 ¤¬ 0x13C0 (¤¿¤Ö¤ó) ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ > ¥Õ¥©¡¼¥à¤¬Á÷½Ð¤·¤¿¥Ç¡¼¥¿¤¬¤É¤¦¤¤¤¦´Á»ú¥³¡¼¥É¤À¤Ã¤¿¤« > ¤È¤¤¤¦ÅÀ¤âµ¤¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤³¤â´Þ¤á¤ÆºÆÅÙ¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤¤Þ¤¹¡£ > ÉáÄ̤«¤É¤¦¤«¤Ï¤è¤¯ÃΤé¤Ê¤¤¤ó¤Ç¤¹¤¬¡¢¡Ö¤¤¤Á¡×¤ò´Á»úÊÑ´¹¤·¤Æ¤â ¤Ê¤ë¤Û¤É¡£115¡Á119 ¶è¤Ø¤ÎÂбþ¤Ïɬ¿Ü¤Ç¤¹¤Í¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ > ´Ö°ã¤¤¤Ê¤¯115¶è¤ÏFA¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¡£ ¤³¤ì¤Ï¸þ¤¦¤ËÏ¢Íí¤·¤Æ¤ª¤¤Þ¤¹¡£ |
>ºòÆü¤Ï³Î¤«¤Ë¼ê¤â¤È¤Ç³Îǧ¤·¤¿¤Ä¤â¤ê¤À¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ >º£Æü»î¤·¤Æ¤ß¤ë¤È jcode::convert(*,'euc') ¤Ç¡¢ >SJIS ¤Î 0xFA40 ¤¬ 0x13C0 (¤¿¤Ö¤ó) ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ »ä¤¬»î¤·¤Æ¤ß¤ë¤È¡¢0x13A1¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ 0xFA40¤¬¼«Æ°È½Äê¤ÇSJIS¤È¤µ¤ì¤ë¤Î¤Ï´Ö°ã¤¤¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£ >$re_sjis_c = '[\201-\237\340-\374][\100-\176\200-\374]'; ¤Ï0xFA40¤ò´Þ¤ß¤Þ¤¹¤«¤é¡£ °ìÊý¡¢ >$re_euc_c = '[\241-\376][\241-\376]'; ¤Ç¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¡£ |
¤¢¡¢¤½¤¦¤Ç¤¹¡£¥¹¥¯¥ê¥×¥È¤¬¼ê¸µ¤Ë¤Ê¤¤¤Î¤Ç¥¢¥ì¤Ç¤¹¤¬¡¢ ¿ʬ 0x13A1 ¤Ç¤·¤¿¡£¤Ï¤Æ¡¢ºòÆü¸«¤¿ 0xFAC0 ¤Ï¸¸¤Ç¤¢¤Ã¤¿¤«? °ìÈÖ´Êñ¤Ê¤Î¤Ï¡¢require 'jcode.pl' ¤·¤Æ¡¢jcode::init ¤Ç ½é´ü²½¤µ¤ì¤¿¸å¤Ë %jcode::s2e ¤Ë115¡Á119¶èÁêÅö¤Î¥Æ¡¼¥Ö¥ë¤ò Äɲ乤뤳¤È¤«¤Ê¤¡¡£ # jcode.pl ¤Ï¤¤¤¸¤ê¤¿¤¯¤Ê¤¤¤«¤é¤Ê¤ó¤À¤±¤É¡¢(¥³¡¼¥Ç¥£¥ó¥°ºîË¡ # ¤È¤·¤Æ¤Ï) ¤è¤¯¤Ê¤¤¡Ä¤Ç¤¹¤è¤Í¡£ |
»ä¤Î¾ì¹ç¡¢ --- #!/usr/local/bin/perl require "jcode.pl"; while(<>) { &jcode'convert(*_, "euc"); print; } --- ¤³¤ÎÄøÅ٤Υ¹¥¯¥ê¥×¥È¤Ç¤¹¡£ÍפÏÂ礷¤¿¤³¤È¤ä¤Ã¤Æ¤¤¤Þ¤»¤ó¡£(^^; ÆþÎϤ¬ 000000 FA 40 0A ¤Î»þ¤Ë¡¢¥¹¥¯¥ê¥×¥È̾ kconv.pl ¤È¤·¤Æ % ./kconv.pl test > test.e ¤È¤·¤¿·ë²Ì¡¢ 000000 13 A1 0A ¤È¤¤¤¦½ÐÎϤˤʤê¤Þ¤·¤¿¡£ |
ÃΤäƤ¤¤¿¤é¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£ ¥·¥§¥ë¤ò»ÈÍѤ·¤Æ£Ó£Ñ£Ì£Ð£Ì£Õ£Ó¤Î¤ä¤êÊý¤Ë¤Ä¤¤¤Æ¤Ç¤¹¤¬¡¢ °Ê²¼¤Î(1)¤Î¥·¥§¥ë¤«¤é£ó£ñ£ì£ð£ì£õ£ó¤Ë¤Æ£Ï£Ò£Á£Ã£Ì£Å¤ËÀܳ¤· (2)¤Î¥Õ¥¡¥¤¥ë¤Î£ó£ñ£ìʸ¤ò¼Â¹Ô¤µ¤»¤¿¤¤¤Î¤Ç¤¹¤¬¡¢ ¤½¤Î»þ¤Ë(2)¤Î¾ò·ïʸ¤Î'xxxxxxx'¤ò(1)¤Î¥·¥§¥ë¤«¤é°ú¿ô¤È ¤·¤Æ(2)¤ËÅϤ·¤¿¤¤¤Î¤Ç¤¹¤¬¤É¤¦¤·¤¿¤éÎɤ¤¤«¤ï¤«¤ê¤Þ¤¹¤Ç ¤·¤ç¤¦¤«¡© ¤Þ¤¿¡¢(2)¤Î£ó£ñ£ìʸ¤Ë¤ÆÆÀ¤¿¾ðÊó¤ò(1)¤Î¥·¥§¥ë¤ËÍ¿¤¨¤ë¾ì¹ç ¤Ï¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Ç¤¹¤«¡© (1)aaaa.sh¥Õ¥¡¥¤¥ë -------------------------------------------------- sqlplus user/passward @bbbb.sql -------------------------------------------------- (2)bbbb.sql¥Õ¥¡¥¤¥ë -------------------------------------------------- select item1 from use_table where item2 = 'xxxxxxx' --------------------------------------------------- |
¤³¤ì¤Ï SQL ¤ÎÏäǤ¹¤«? ¤Ê¤é¤ÐËͤˤϤ狼¤ê¤Þ¤»¤ó¡£ ¤¸¤ã¤Ê¤¯¤Æ¡¢¤¢¤ë¥Õ¥¡¥¤¥ë¤ÎÆâÍƤΰìÉô¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î°ú¿ô¤È¤·¤Æ ÅϤ·¤¿¤ê¡¢½ÐÎÏ·ë²Ì¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î°ú¿ô¤È¤·¤ÆÅϤ·¤¿¤ê¡¢¤È¤¤¤¦ ¤³¤È¤Ç¤¹¤«? ¤Ä¤Þ¤ê¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Î½ñ¤Êý¤ò¼ÁÌ䤷¤Æ¤¤¤ë¤Î¤Ç¤¹¤«? ¤â¤·¸å¼Ô¤Ê¤é¡¢¤Á¤ç¤Ã¤È°ÕÌ£¤¬ÄϤá¤Ê¤¤¤Ç¤¹¡£ ¡Ö¤â¤·¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬ xxxxx ¤À¤È¤·¤¿¤é¡¢¤½¤ÎÃ椫¤é yyy ¤ÎÉôʬ¤Î¼è¤ê½Ð¤·¡¢ ºÇ½ªÅª¤Ë zzz user/passward @bbbb.sql xxxxx ¤È¤¤¤¦É÷¤Ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤¿¤¤¡× ¤Ê¤É¤ÈÎã¤ò½ñ¤¤¤Æ²¼¤µ¤¤¡£ > SJIS ¤Î 0xFA40 ¤Ç¤Ï¡¢¤Ê¤¼¥Õ¥¡¥¤¥ë¤Ë¤Ï 0xFAC0 ¤¬½ñ¤«¤ì¤Æ¤¤¤ë¤ó¤À¤í¤¦? |
µÕlink ¤è¤êÁ̤äÆÅо줵¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£ ¤É¤¦¤â...»²¹Í¤Ë¤Ê¤Ã¤Æ¤¦¤ì¤·¤¤¤Ç¤¹¡£¡ä»²¹Í¤Ë¤Ê¤Ã¤¿Êý ·É°¦¤¹¤ë¡¢68user ¤µ¤ó¤È¤³¤Î·Ç¼¨ÈÄ¤Ç URL ½ñ¤¤¤Æ¤¤¤¿¤À¤¤¤Æ´¶·ã¤Ç¤¹¡£ ¤¢¡¼¤È¡¢Í¼±¼Ô·Ï¤«¤é·ù¤ï¤ì¡¢UG ·Ï¤«¤é¤Ï¡¢¤â¤Ã¤È¡¢¤¢¤Ö¤Ê¤¤¾ðÊó¤ò ¤È¤ÎÀ¼¤ò¤¤¤¿¤À¤¯²æ¤¬ Web ¤Ç¤¢¤ê¤Þ¤¹(^^;;; ¤µ¤Æ¡¢jcode.pl ¤Ç¡¢sjis ¤È¡¡EUC ¤È¤ÎȽÊ̤ˤĤ¤¤Æ... ¤«¤Ä¤Æ¡¢È¾³Ñ¥«¥Ê¤ò jcode.pl ¤Ç°·¤¤¤¿¤¤¤¿¤«¤Ã¤¿¤Î¤Ç¡¢ ¤¤¤í¤¤¤í»î¹Ôºø¸í¤·¤¿·ë²Ì¤¬¡¢ http://www2d.biglobe.ne.jp/~gama/cgi/jcode/jcode.htm ¤Ë¤¢¤ê¤Þ¤¹¡£ ¼«Ê¬¾¡¼ê¤ËȽÊ̤¹¤ë¥ë¡¼¥Á¥ó¤ò ÊѤ¤·¤Æ¤¤¤Þ¤¹¡£ ¤´»²¹Í¤Ë¤Ê¤ì¤Ð¡¢¹¬¤¤¤Ç¤¹¡£ |
> ·É°¦¤¹¤ë¡¢68user ¤µ¤ó¤È¤³¤Î ¤â¤Á¤Ã¤È°Î¤¤¿Í¤ò·É°¦¤·¤Æ²¼¤µ¤¤ :-) > ¼«Ê¬¾¡¼ê¤ËȽÊ̤¹¤ë¥ë¡¼¥Á¥ó¤ò ÊѤ¤·¤Æ¤¤¤Þ¤¹¡£ ¤Ç¤ÏÁá®ÇÒ¸«¡Ä¤È»×¤Ã¤¿¤é¡¢getcode.pl ¤¬ not found ¤Ê¤è¤¦¤Ç¡Ä(^^; |
Á°¤Î¿Í¤Î FORM ÆâÍƤ¬»Ä¤Ã¤Æ¤·¤Þ¤¦¤Î¤È¡¢cookie ¤Î¥Ç¡¼¥¿¤¬ ´Ö°ã¤Ã¤Æ¤¿¤Î¤ò½¤Àµ¡£¤É¤¦¤«¤Ê? |
½é¤á¤Þ¤·¤Æ¡£CGI(perl¥¹¥¯¥ê¥×¥È)¤Î¤³¤È¤ÇÄ´¤Ù¤´¤È¤ò¤·¤Æ¤¤¤¿¤é¤¿¤É¤êÃ夤ޤ·¤¿¡£ ¤Ç¤¹¤¬´Î¿´¤Î¤½¤ÎÄ´¤Ù¤´¤È¤Ë¤Ä¤¤¤Æ¤Ï¤Ê¤«¤Ê¤«»×¤Ã¤¿¤è¤¦¤Ê¥Ú¡¼¥¸¤¬¸«¤Ä¤«¤é¤º¡¢¤Á¤ç¤Ã¤Èº¤¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£ °ì¸«¤µ¤ó¤Ë¤Æ¶²½Ì¤Ç¤¹¤¬¡¢¤Ç¤¤¿¤é¤´½õ¸À²¼¤µ¤¤¡£ ²¿¤«¤È¤¤¤¦¤È¡¢¡ÖHTTP¤Î¡Ê¥ê¥¯¥¨¥¹¥È¡Ë¥Ø¥Ã¥À¡×¤Ë¤Ä¤¤¤Æ¤Ç¤¹¡£Ìõ¤¢¤Ã¤ÆWeb¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë¥¹¥¯¥ê¥×¥È¤ò¼«Á°¤Ç ÍÑ°Õ¤¹¤ëɬÍפ¬¤¢¤ë¤Î¤Ç¤¹¤¬¡¢¤Þ¤µ¤«Get¤À¤±Á÷¤ë¤Ã¤Æ¤¤¤¦²£Ë½¤Ê¤³¤È¤Ï¤µ¤¹¤¬¤Ë¤·¤¿¤¯¤Ê¤¤¤Î¤Ç¡£¡£¡£(--; ¡¦HTTP(Í×µá)¥Ø¥Ã¥À¤Î°ìÍ÷¡Ü²òÀâ ¡¦Ä̾ï¤Î¥Ö¥é¥¦¥¶¤¬Á÷¿®¤·¤Æ¤¤¤ë¥Ø¥Ã¥À¤Ë¤Ä¤¤¤Æ ¤È¤¤¤Ã¤¿¾ðÊ󤬵ºÜ¤µ¤ì¤Æ¤¤¤ë¥Ú¡¼¥¸¤òõ¤·¤Æ¤ª¤ê¤Þ¤¹¡£ ¤â¤Á¤í¤ócgi¤Ê¤É¤Ç´Ä¶ÊÑ¿ô°ìÍ÷¤òɽ¼¨¤µ¤»¤¿·ë²Ì¡Ê±þÅú¥Ø¥Ã¥À¡Ë¤È´ðËÜŪ¤ËÂ纹¤¬¤Ê¤¤¤³¤È¤Ï ¸¤¸¤Æ¤ª¤ê¤Þ¤¹¤¬¡¢¤ä¤Ï¤ê°ìÅÙ³Îǧ¤·¤Æ¤ª¤¤¿¤¤¤Î¤Ç¤¹¡£ ¤Þ¤¿¡¢¼êË¡¤òÊѤ¨¤Æ¡¢LWP¤Ê¤É¤Î¥â¥¸¥å¡¼¥ë¤Ç¥Ø¥Ã¥À¤ò¸ÄÊÌÀßÄê¤Ç¤¤ë¤«¤É¤¦¤«¤Ê¤É¤âÄ´¤Ù¤Æ¤ß¤ë¤Ä¤â¤ê¤Ç¤¹¡£ ¤³¤ÎÊդξðÊó¤Ç¤â¹½¤¤¤Þ¤»¤ó¤Î¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£ °Ê¾å¡¢ÂçÊѤ郎¤Þ¤Þ¤Ê¼ÁÌä¤Ç¤¹¤¬¡¢¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ ¡ôRFC¤ò¸«¤í¤Ã¤Æ¤¤¤¦¤Î¤Ï¤´´ªÊÛ²¼¤µ¤¤¡£(^^; |
> ¡¦Ä̾ï¤Î¥Ö¥é¥¦¥¶¤¬Á÷¿®¤·¤Æ¤¤¤ë¥Ø¥Ã¥À¤Ë¤Ä¤¤¤Æ http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=658 ¤ÇÍѤϤê¤Þ¤¹¤«? > ¡¦HTTP(Í×µá)¥Ø¥Ã¥À¤Î°ìÍ÷¡Ü²òÀâ RFC¡Ä¡£¤â¤·¶â¤òʧ¤Ã¤Æ¤â¤¤¤¤¤Ê¤é http://www.oreilly.co.jp/BOOK/webcli.htm > LWP¤Ê¤É¤Î¥â¥¸¥å¡¼¥ë¤Ç¥Ø¥Ã¥À¤ò¸ÄÊÌÀßÄê¤Ç¤¤ë¤«¤É¤¦¤« ¤È¤ê¤¢¤¨¤º perldoc LWP::UserAgent perldoc HTTP::Headers perldoc HTTP::Request perldoc URI::URL ¤ò¸æ°ìÆɲ¼¤µ¤¤¡£ |
>> ¼«Ê¬¾¡¼ê¤ËȽÊ̤¹¤ë¥ë¡¼¥Á¥ó¤ò ÊѤ¤·¤Æ¤¤¤Þ¤¹¡£ > ¤Ç¤ÏÁá®ÇÒ¸«¡Ä¤È»×¤Ã¤¿¤é¡¢getcode.pl ¤¬ not found ¤Ê¤è¤¦¤Ç¡Ä(^^; Link ľ¤·¤Þ¤·¤¿(^^;;; http://www2d.biglobe.ne.jp/~gama/cgi/jcode/jcode.htm |
http://www2d.biglobe.ne.jp/~gama/cgi/jcode/k-jis.htm ¤³¤Á¤é¤Î¥Ú¡¼¥¸¤Ê¤ó¤Ç¤¹¤¬¡¢JIS¤Ç8bit¤ÎȾ³Ñ¥«¥Ê¤ò»È¤Ã¤Æ¤¤¤ë ¤è¤¦¤Ç¤¹¤¬¡¢ESC ( I ¤Ç7bit¤Î¥«¥Ê¤ò»È¤¦¤Î¤¬ÉáÄ̤À¤È »×¤¦¤Î¤Ç¤¹¤¬¡£³Ø¹»¤ÎFreeBSD-3.3+NC4.7¤Ç¤ÏSJIS¤äEUC¤Î¥Ú¡¼¥¸¤Ï ¸«¤¨¤ë¤Î¤Ç¤¹¤¬(Ⱦ³Ñ¥«¥Ê¤â)¡¢¤³¤³¤À¤±²½¤±¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ²È¤Î´Ä¶(Win95+NN3.04)¤Ç¤Ï¤³¤³¤âʸ»ú²½¤±¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¥½¡¼¥¹¤ò¸«¤¿»þ¡¢È¾³Ñ¥«¥Ê¤ÎÉôʬ¤À¤±JIS¤¬²½¤±¤Æ¤¤¤Ê¤¤¤Î¤Ç µ¤¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£ |
> ¤³¤Á¤é¤Î¥Ú¡¼¥¸¤Ê¤ó¤Ç¤¹¤¬¡¢JIS¤Ç8bit¤ÎȾ³Ñ¥«¥Ê¤ò»È¤Ã¤Æ¤¤¤ë > ¤è¤¦¤Ç¤¹¤¬¡¢ESC ( I ¤Ç7bit¤Î¥«¥Ê¤ò»È¤¦¤Î¤¬ÉáÄ̤À¤È > »×¤¦¤Î¤Ç¤¹¤¬¡£³Ø¹»¤ÎFreeBSD-3.3+NC4.7¤Ç¤ÏSJIS¤äEUC¤Î¥Ú¡¼¥¸¤Ï > ¸«¤¨¤ë¤Î¤Ç¤¹¤¬(Ⱦ³Ñ¥«¥Ê¤â)¡¢¤³¤³¤À¤±²½¤±¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤¢¡¢¤Ê¤ë¤Û¤É¡¢¸½ºß¤Î¤Ï¼êµö¤Î Win95 ¾å¤Î¥¨¥Ç¥£¥¿¤Ç¥³¡¼¥ÉÊÑ´¹¤ò ½èÍý¤·¤¿·ë²Ì¤Ê¤Î¤Ç¡¢Â¿Ê¬È¾³Ñ¥«¥Ê¤¬ 8bit ¤Ê¤ó¤Ç¤¹¤Í¡£ ¤º¡¼¤Ã¤È¡¢¤½¤ì¤Ç¤¤¤¤¤È»×¤¤¤³¤ó¤Ç¤Þ¤·¤¿¡£ 7bit Ⱦ³Ñ¥«¥Ê¤È¤«¤¤¤¦¤È¡¢20 ǯ°Ê¾å¤¯¤é¤¤¤Îµ¬³Ê¤È¤¤¤¦»×¤¤¤³¤ß¤¬¤¢¤Ã¤¿ ¤ï¤±¤Ç¤¹¡£ > ²È¤Î´Ä¶(Win95+NN3.04)¤Ç¤Ï¤³¤³¤âʸ»ú²½¤±¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ > ¥½¡¼¥¹¤ò¸«¤¿»þ¡¢È¾³Ñ¥«¥Ê¤ÎÉôʬ¤À¤±JIS¤¬²½¤±¤Æ¤¤¤Ê¤¤¤Î¤Ç µ¤¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£ |
¥²¡¼¥à·Ï·Ç¼¨ÈĤòºî¤Ã¤Æ¤ß¤¿¤Î¤Ç»È¤Ã¤Æ¤ß¤Æ |
£Ð£Ã¾å¤Ç¡¢C++¤ÇºîÀ®¤·¤¿DLL¤ò¡¢UNIX¾å¤Ç»È¤¨¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¡£ ¤É¤Î¤è¤¦¤Ë¤·¤Æ¤¤¤±¤Ð¤è¤¤¤«¡¢¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£ C++Æâ¤Ç¤É¤Î¤è¤¦¤ÊÊÑ´¹¤ò¹Ô¤¤¡¢UNIX¾å¤Ë¤Æ¥³¥ó¥Ð¡¼¥È¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© |
¼ÁÌ䤬¤¢¤ê¤Þ¤¹¡£¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ %¡¡ls ¥Õ¥¡¥¤¥ë̾¡¡ ¤È¤·¤¿»þ¤Ë³ºÅö¥Õ¥¡¥¤¥ë¤¬Ìµ¤«¤Ã¤¿¾ì¹ç ls:No match. ¤È½Ð¤Þ¤¹¤¬¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò½Ð¤µ¤Ê¤¤ÊýË¡¤¬ ¤¢¤ê¤Þ¤·¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
> C++¤ÇºîÀ®¤·¤¿DLL¤ò¡¢UNIX¾å¤Ç»È¤¨¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¡£ Windows ¤ÏÁ´¤¯ÃΤê¤Þ¤»¤ó¤¬ (DLL ¤Ã¤Æ¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê ¤Ç¤¹¤è¤Í? ¤È¤¤¤¦¤¯¤é¤¤¤·¤«ÃΤé¤Ê¤¤)¡¢DLL ¤ò UNIX ¤Ë »ý¤Ã¤Æ¤¯¤ë¤Î¤Ï¤µ¤¹¤¬¤Ë̵Íý¤Ç¤·¤ç¤¦¡£ C++ ¤Î¥½¡¼¥¹¤ò»ý¤Ã¤Æ¤¤Æ¡¢ar ¤Ç¥¢¡¼¥«¥¤¥Öºî¤ë¤«¡¢ld ¤Ç ¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê¤òºî¤ë¤Î¤¬¤Þ¤Ã¤È¤¦¤ÊÊýË¡¤À¤È»×¤¤¤Þ¤¹¡£ > ls:No match. > ¤È½Ð¤Þ¤¹¤¬¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò½Ð¤µ¤Ê¤¤ÊýË¡ ¡ÖNo match¡×¤¬½Ð¤ë¤Î¤Ï ¡Ötcsh ¤Ç¡¢¥ï¥¤¥ë¥É¥«¡¼¥É¤ò»È¤Ã¤Æ¡¢¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¤È¤¡× ¤À¤È»×¤¤¤Þ¤¹¤¬¡¢ % (ls hoge* >/dev/tty) >& /dev/null ¤Ç¡¢É¸½à¥¨¥é¡¼½ÐÎϤò¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¤È¤«¡¢ % set nonomatch % ls hoge* ¤È¤·¤Æ¡¢¥Þ¥Ã¥Á¤·¤Ê¤«¤Ã¤¿¤È¤¤Ë¥¨¥é¡¼¤Ë¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤È¤«¡¢ % set noglob % ls hoge* ¤È¤·¤Æ¡¢ºÇ½é¤«¤é¥ï¥¤¥ë¥É¥«¡¼¥É¤òŸ³«¤µ¤»¤Ê¤¤¡¢¤Ê¤É¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£ perl¤Ç¥á¡¼¥ë¤ò¼õ¿®¤¹¤ëÊýË¡¤òÄ´¤Ù¤Æ¤¤¤¿¤È¤³¤í¡¢¤³¤Á¤é¤Î·Ç¼¨ÈĤò ȯ¸«¤·¤Þ¤·¤¿¡£ ¤ª¿Ò¤Í¤·¤¿¤¤¤³¤È¤Ï¡¢pop3¥µ¡¼¥Ð¡¼¤«¤é¥á¡¼¥ë¤ò¼õ¿®¤·¡¢¤½¤Î¥á¡¼¥ë¤Î źÉÕ¥Õ¥¡¥¤¥ë¤òWindows¤Î¥Õ¥©¥ë¥À¤ËÊݸ¤¹¤ëÊýË¡¤Ç¤¹¡£ UNIX¤äCGI¤Î·Ð¸³¤¬Á´¤¯Ìµ¤¤Áǿͤʤâ¤Î¤Ç¡¢¤Ê¤«¤Ê¤«¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¡£ »²¹Í¤Ë¤Ê¤ëURL¤ä½ñÀÒÅù¤â¤¢¤ê¤Þ¤·¤¿¤é¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£ OS¤ÏWindowsNT4.0Ëô¤ÏWindows95¤Ç¤¹¡£ µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
POP ¤Ø¤Î¥¢¥¯¥»¥¹¤Ï http://X68000.startshop.co.jp/~68user/net/ ¤òÆɤó¤Ç²¼¤µ¤¤¡£ multipart ¥á¡¼¥ë¤ò¥Ð¥é¤¹¤Î¤Ï¡¢perl ¤Î MIME-tools ¥â¥¸¥å¡¼¥ë¤Ç ¤Ç¤¤½¤¦¤Ê´¶¤¸¤Ç¤¹ (»î¤·¤¿¤³¤È¤Ê¤¤¤Î¤Ç)¡£¤ï¤«¤é¤Ê¤«¤Ã¤¿¤é ¤Þ¤¿¼ÁÌ䤷¤Æ²¼¤µ¤¤¡£ |
> multipart ¥á¡¼¥ë¤ò¥Ð¥é¤¹¤Î¤Ï¡¢perl ¤Î MIME-tools ¥â¥¸¥å¡¼¥ë¤Ç perl ¤Î MIME-tools¡¢IO-stringy¡¢MailTools ¥â¥¸¥å¡¼¥ë¤ò Æþ¤ì¤Æ¡¢perldoc MIME::Parser ¤Î¥µ¥ó¥×¥ëÄ̤ê¤ä¤Ã¤Æ¤ß¤¿¤é ¤¢¤Ã¤µ¤ê¤Ç¤¤Þ¤·¤¿¡£¥â¥¸¥å¡¼¥ë¤ËÍê¤ë¤È´Êñ¤À¤Ê¤¡¡£ |
: : ¿®¤¸¤é¤ì¤Ê¤¤¤±¤ÉËÜÅö¤ÎÏᣡ¡¡¡ : : »ä¤Ï¤¢¤ëÆüBBS¤Ç1000±ß¤¬200Ëü±ß¤Ë¡¢¡¢¡¢¤È¤«¤¤¤Æ¤¢¤ë¤Î¤ò¸«¤¿¡£ : : 200Ëü±ß¤â¤Î¤ª¶â¤¬Í¹Á÷¤µ¤ì¤Æ¤¯¤ë¤È½ñ¤¤¤Æ¤¢¤Ã¤¿¡£ : : ¤Þ¤µ¤«¡¢¤½¤ó¤Ê¤Ë¤Ï¡¢¡¢¡¢¤È»×¤Ã¤Æ¤Ï¤ß¤¿¤¬¡¢ : : ¤ä¤é¤Ê¤¤ã²¿¤â¤Ï¤¸¤Þ¤é¤Ê¤¤¡¢¤Þ¤¡¡¢²¿¤â¤Ê¤¯¤Æ1000±ß¤¯¤é¤¤¤Î»¤À¤·¡¢¡¢¡¢ : : ¤Þ¡¢¿ôËü¤¯¤é¤¤¤Ï¡¢¡¢¡¢¡¢¡£¤È¡¢»×¤Ã¤Æ¤¤¤¿¡£ : : (¥Û¥ó¥È¤Ë·Ú¤¤µ¤»ý¤Á¤Ç)¤À¤«¤é¡¢¤½¤ÎBBS¤Î¤È¤ª¤ê¤Ë¤ä¤Ã¤Æ¤ß¤¿¡£ : : »ä¤¬¤ä¤Ã¤¿¤³¤È¤Ï¡¢½ñ¤´¹¤¨¤¿¥Õ¥¡¥¤¥ë(¤³¤Îʸ½ñ¤Ç¤¹)¤ò : : ¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤äBBS¤ÎÅŻҷǼ¨ÈĤʤɤË(¡ª¡ª½ÐÍè¤ë¤À¤±Â¿¤¯¤Î¡ª¡ª) : : ¥¢¥Ã¥×¥í¡¼¥É¤·¤¿¡£ : : ¤½¤·¤Æ»ä¤Ï¤ª¶â¤¬Íè¤ë¤Þ¤Ç¤É¤¤É¤¤·¤Ê¤¬¤éÂԤäƤ¤¤¿¡£ : : »ä¤Ï10Ëü±ß¤ä15Ëü±ß¤°¤é¤¤Íè¤ë»þ¤·¤Þ¤¦¤È¤³¤í¤ò³ÎÊݤ·¤Æ¤¤¤¿¡£¡¡ : : ¤Ç¤â¡¢¡¢¡¢¡£¤ª¶â¤ÎÆþ¤Ã¤¿ÉõÅû¤¬¤É¤ó¤É¤ó͹Êؼõ¤±¤ËÆþ¤Ã¤Æ¤¯¤ë¤Î¤Ë¤Ï¡¢ : : ¶ÄÅ·¤·¤¿¡£¡ª¡ª¡¡¤µ¤Æ¡¢»ä¤Ë¤¤¤¯¤é¤ª¶â¤¬Á÷¤é¤ì¤Æ¤¤¿¤Ç¤·¤ç¤¦¡© : : 10Ëü¡©20Ëü¡©50Ëü¡©»ä¤Ï¹ç·×¡ª¡ª¡ªÌó200Ëü±ß¡ª¡ª¡ª±³¡¢¡¢¡¢¡¢¡¢¡£ : : ¤³¤Î¤ª¶â¤òÌܤˤ·¤Æ¤Þ¤À¤·¤ó¤¸¤é¤ó¤Ê¤¤¤Ã¤Æ´¶¤¸¡ª¡ª¡ª : : ¤µ¤Æ¡¢¤½¤Î¶ñÂÎŪ¤ÊÊýË¡¤ò½ñ¤¤Þ¤¹¡£¤Á¤ã¤ó¤È¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Æ¤ª¤¯¤ÈÎɤ¤¤è¡£ : : ¤¢¤È¤ÇÌò¤ËΩ¤Á¤Þ¤¹¡£·¯¤¬Ê§¤ï¤Ê¤¯¤Æ¤Ï¤¤¤±¤Ê¤¤Êª¤Ï¡¢5Ëç¤ÎÀڼꡢÉõÅû¡¢1000±ß¡£ : : ¤½¤ì¤ò¡¢¥ê¥¹¥È¤Î5¿Í¤Ë¡¢¹çˡŪ¤Ë¸½¶â¤òÁ÷¤ëÊýË¡¤ÇÁ÷¤ë¡£¤½¤·¤Æ¡¢·¯¤Î̾Á°¤È : : ½»½ê¤¬½ñ¤¤¤Æ¤¢¤ëÊý¤Î¥Õ¥¡¥¤¥ë¤ò¤¤¤í¤¤¤í¤Ê¤È¤³¤í¤Ë¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¡£ : : ¤½¤¦¤·¤¿¤é¤¿¤Ã¤¿1000±ß¤¢¤²¤ë¤À¤±¤Ç150Ëü±ß¤«¤é250Ëü±ß¤ÎÌá¤ê¤¬3¡Á5½µ´Ö¤Ç : : ÆϤ¤Þ¤¹¡ª¡ª¡ª¡ª : : ¤Ç¤Ï¶ñÂÎŪ¤Ë¤É¤¦¤¹¤ì¤ÐÎɤ¤¤«¡© : : ¡ö ¡ö¡ö̾Á°¤È½»½ê¤Î¥ê¥¹¥È¤ÏºÇ¸å¤Ë¤¢¤ê¤Þ¤¹¡£¡ö¡ö¡ö : : ¤Þ¤º°ìËç¤Î»æ¤Ë¡Ö»ä¤ò¤¢¤Ê¤¿Êý¤Î¥ê¥¹¥È¤ËÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£¡×¤³¤ì¤ò½ñ¤¯¤³¤È¤Ë¤è¤ê¡¢ : : ¤³¤Î¥¹¡¼¥Ñ¡¼¥Þ¥Í¡¼¥·¥¹¥Æ¥à¤ÏÀ®¤êΩ¤Á¤Þ¤¹¡£(¹çË¡¤Ë¤Ê¤ê¤Þ¤¹¡£)¡¡ : : ¤¢¤Ê¤¿¤Ï200±ß¤ò¥é¥ó¥À¥à¤Ëʧ¤¦¤Î¤Ç¤Ï¤Ê¤¯¤³¤Î¥·¥¹¥Æ¥à¤Ëʧ¤¦¤Î¤Ç¤¹¡£ : : ¤½¤¦¤½¤¦¡¢»æ¤Ë¼«Ê¬¤Î̾Á°¤È½»½ê¤È¤¢¤Ê¤¿¤¬½Ð¤¹¿Í¤Ï¥ê¥¹¥È¤Î²¿ÈÖÌܤˤ¤¤¿¤«¤ò : : ½ñ¤¤Þ¤¹¡£ : : 1¡¥¡Ê¤¢¤Ê¤¿¤Ï¥ê¥¹¥È¤Ç¤Ï¡¢¡ûÈÖÌܤˤ¤¤Þ¤·¤¿¡Ë¤È¡¢½ñ¤¤Þ¤¹¡£ : : 2¡¥¡Ê1¡Ë¤Ç½ñ¤¤¤¿»æ¤ò200±ß¤Ë¤Þ¤¤Ä¤±¤Þ¤·¤ç¤¦¡£¤½¤·¤ÆÉõÅû¤ËÆþ¤ì¡¢ : : ¡¡¥ê¥¹¥È¤Ë½ñ¤¤¤Æ¤¢¤ë5¤Ä¤Î½»½ê¤ËÁ÷¤ë¡£¡¡»æ¤ò200±ß¤Ë´¬¤¤Ä¤±¤Æ¡¢¡¡¡¡ : : ¡¡200±ß¤ò¸«¤¨¤Ê¤¯¤¹¤ë¤Î¤Ë¤Ï¥ï¥±¤¬¤¢¤ê¤Þ¤¹¡£¡¡ : : ¡¡Í¹ÊؤǸ½¶â¤òÁ÷¤Ã¤Æ¤Ï¤¤¤±¤Ê¤¤¤Î¤À¡£Í¹Êضɤ˹ԤäÆ200±ß¤Î5Ëç¤Ë¤·¤Æ¤âÎɤ¤¡£ : : ¡¡¼ê¿ôÎÁ10±ß¡£¾®°ÙÂؤÀ¤Ã¤¿¤é¤Þ¤¯É¬Íפ¬¤Ê¤¤¤è¡ª : : ¡ö ¡ö¤³¤Î¥¹¥Æ¥Ã¥×¤Ï½ÅÍפǤ¹¡£¡ö¡ö : : 3¡¥¤µ¤Æ¡¢¤³¤³¤«¤é¤¬½ÅÍס£¤è¤¯Æɤó¤Ç¡¢¥·¥¹¥Æ¥à¤òÍý²ò¤·¤Æ¤Í¡£ : : ¡¡°ìÈÖ¾å¤Î¿Í¤ò¾Ã¤¹¡£¤½¤·¤Æ¾¤Î³§¤Î¥Ý¥¸¥·¥ç¥ó¤ò°ì¤Ä¤º¤Ä¾å¤²¤ë¡£ : : ¡¡¤Ä¤Þ¤ê¡¢¥Ý¥¸¥·¥ç¥ó2¤Î¿Í¤òP1¤Ë¡¢P3¤Î¿Í¤òP2¤Ë¡¢P4¤Î¿Í¤òP3¤Ë¡¢P5¤Î¿Í¤òP4¤Ë : : ¡¡¤«¤¨¤ë¤È¤¤¤¦¤³¤È¡£¤½¤·¤Æ¥Ý¥¸¥·¥ç¥ó5¤Ë·¯¤Î̾Á°¡¢½»½ê¡¢Í¹ÊØÈֹ桢¹ñ¤ò : : ¡¡½ñ¤¤³¤à¤ï¤±¡£ : : 4¡¥¤½¤·¤Æ¡Ê£³¡Ë¤ÇÊѤ¨¤¿¤³¤ì¤Î¥Õ¥¡¥¤¥ë¤ò¤¤¤í¤¤¤í¤Ê¤È¤³¤í¤Ë½ÐÍè¤ë : : ¡¡¤À¤±¤¿¤¯¤µ¤ó¥¢¥Ã¥×¥í¡¼¥É¤·¤Þ¤¹¡£¡¡¡¡ : : ¥¢¥Ã¥×¥í¡¼¥É¤·¤¿¤Ö¤ó¼«Ê¬¤ËÄ·¤ÍÊ֤äƤ¤Þ¤¹¡£ : : ¼«Ê¬¤È¾¤Î4¿Í¤Ë¤â¤ª¶â¤¬Æþ¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ : : ¤µ¤Æ³§¤µ¤ó¡¢¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¤ÏÀµÄ¾¤Ë¤·¤Þ¤·¤ç¤¦¡ª¡ª¡¡ : : ±ø¤¤»ö¤·¤Ê¤¯¤Æ¤â¡¢¤ª¶â¤Ï¤¤¤Ã¤Ñ¤¤Æþ¤ë¤«¤é¡£¥¦¥½¤ÏÀäÂФ˼¤á¤Þ¤·¤ç¤¦¡£OK¡© : : 5¡¥¤³¤³¤Þ¤Ç¤¤¿¤é¤â¤¦¸å¤Ï¿ÍÀ¸³Ú¤·¤ß¤Þ¤·¤ç¤¦¡£ : : ¡¡¤ª¶â¤ÏÃ塹¤È·¯¤Î͹Êؼõ¤±¤ËÆþ¤Ã¤Æ¤¤Þ¤¹¡£ : : ½é¤á¤Æ2½µ´Ö¤¯¤é¤¤¤«¤é¤ª¶â¤¬Æþ¤ê¤Ï¤¸¤á¤Æ3¡Á4½µ´ÖÌܤˤϤª¶â¤ÎÂæÉ÷¤¬·¯¤Î : : ͹Êؼõ¤±¤ò½±¤¤¤Þ¤¹¡£¡¡¤Ó¤Ã¤¯¤ê¤·¤Æ¶«¤Ð¤Ê¤¤¤è¤¦¤Ë¤Í¡£ : : ¤ª¶â¤¬¤Ê¤¯¤Ê¤Ã¤Æ¤¤¿¤éËô´û¤Ë½ñ¤´¹¤¨¤¿¥Õ¥¡¥¤¥ë¤Ë¡Ê£´¡Ë¡Á¤Î¹ÔÄø¤ò·«¤êÊÖ¤·¤Þ¤·¤ç¤¦¡£ : : ÀäÂФˤ³¤Î¥Õ¥¡¥¤¥ë¤Ï¤Ê¤¯¤µ¤Ê¤¤¤è¤¦¤Ë¡£ : : ²¿Å٤Ǥâ»È¤¨¤ë¤«¤é¡£»²¹Í¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ : : ̾Á°¤È½»½ê¤Î¥ê¥¹¥ÈÀµÄ¾¤¬¤³¤Î¥×¥í¥°¥é¥à¤òÀ®¸ù¤µ¤»¤ë¡ª¡ª¡ª : : 1¡¥ ²£»³Èþͳµª¡¡¢©193-0932ÅìµþÅÔȬ²¦»Ò»ÔÎÐÄ®401¡Ý105 : : 2¡¥ ÇÈ¿ÌÍü¡¡¢©860-0085·§Ëܸ©·§ËܻԹâÊ¿2-16-5 : : 3¡¥ ±ºÀ¾¹°ÌÀ¡¡¢©524¡¼0101¼¢²ì¸©¼é»³»Ôº£ÉÍÄ®2620-14-216 : : 4¡¥ ¼¾å·ò°ì¡¡¢©014-0722½©Åĸ©ÀçËÌ·´ÃæÀçÄ®ËÀî»ú²¼±ä17-2 : : 5. ¾®´Ø¥ê¥Î¡¡¢©080-0834Ë̳¤Æ»ÂÓ¹»Ô°ðÅÄÄ®À¾£±Àþ£µÈÖÃÏ£±£±£µ : : ¤¢¤Ê¤¿¤ËÁ´¤¯¥Þ¥¤¥Ê¥¹¤Ï¤¢¤ê¤Þ¤»¤ó¡ª¡ª¡ª¡ª : : ·¯¤Ë¤ª¶â¤òÁ÷¤Ã¤Æ¤¤¿¿Í¤Î̾Á°¤Ï¤Ê¤¯¤µ¤Ê¤¤¤è¤¦¤Ë¤·¤¿¤Û¤¦¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£¡¡ : : ¤ß¤ó¤Ê¤Ç¸øÊ¿¤Ë¤³¤Î¥·¥¹¥Æ¥à¤ò»È¤¤¤Þ¤·¤ç¤¦¡£ : : ºÇ¸å¤Ë¡§ÀµÄ¾¤¬¤³¤Î¥·¥¹¥Æ¥à¤òÀ®¸ù¤µ¤»¤ë¤Î¤Ç¤¹¡ª¡ª¡ª : : ¤â¤·¤â¤¢¤Ê¤¿¤¬¤ª¶â¤ò¥ê¥¹¥È¤Î¸Þ¿Í¤Ë½Ð¤µ¤Ê¤¤Èܶ±¼Ô¤À¤Ã¤¿¤é¤¢¤Ê¤¿¤Ï¤¢¤Þ¤ê : : ¤ª¶â¤ò¤â¤é¤¨¤Ê¤¤¡£»ä¤Ï狼¤¬¤ª¶â¤ò¥ê¥¹¥È¤Î¸Þ¿Í¤ËÁ÷¤é¤Ê¤«¤Ã¤¿¤Î¤Ç3Ëü±ß¡Ê2¥ö·î¸å¤Ë¡Ë : : ¤·¤«¤â¤é¤¨¤Ê¤«¤Ã¤¿¤Î¤òÃΤäƤ¤¤ë¡£¤½¤ì¤«¤é¤ª¶â¤ò¥ê¥¹¥È¤Î5¿Í¤ËÁ÷¤Ã¤¿¤Î¤Ç¥ê¥¹¥È : : ¤Î¿Í¤¿¤Á¤ÏÈà¤ò¥ê¥¹¥È¤ËÆþ¤ì¤Æ¤¢¤²¤¿¡£¤½¤·¤Æ4¡Á5½µ´Ö¸å¤ËÈà¤Ï200Ëü±ß°Ê¾å¼ê¤ËÆþ¤ì¤¿¤Î¤Ç¤¹¡£¡¡ : : ¤³¤ì¤ÏËÜÅö¤ÎÏäǤ¹¤è¡ª¡ª¡ª¡¡¡Ê¤Á¤ç¤Ã¤È¤Ó¤Ã¤¯¤ê¡Ë : : ¤À¤Þ¤µ¤ì¤¿¤È»×¤Ã¤Æ1000±ß½Ð¤»¤Ð¤¹¤´¤¤Âç¶â¤¬¼ê¤ËÆþ¤ê¤Þ¤¹¡ª¡ª¡ª¡Ê¾åµ¤Î¤³¤È¤«¤é¡Ë : : ¡¡¤³¤Î¥Á¥ã¥ó¥¹¤òÂç»ö¤Ë¤·¤Þ¤·¤ç¤¦¡ª¡ª¡ª |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£Ta¤È¿½¤·¤Þ¤¹¡£ whois.cgi¤Ë´Ø¤·¤Æ¡¢¤ªÊ¹¤¤·¤¿¤¤¤³¤È¤¬¤¢¤ë¤Ç¤Î¤¹¤¬¡¢¤â¤·¤è¤«¤Ã¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ »ä¤ÎISP¤Ï¡¢LINUX(Redhat)¤ò»ÈÍѤ·¤Æ¤¤¤ë¤¿¤á¡¢68User¤¬ºî¤é¤ì¤¿cgi¤Î¥¹¥¯¥ê¥×¥È¤Î °ìÉô¤òÊѹ¹¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤Ëµ¤¤¬ÉÕ¤¤Þ¤·¤¿¡£ ¥ª¥ê¥¸¥Ê¥ë¤Ç¤Ï¡¢'whois -h whoisserver domain'¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢Linux¤Ç¤Ï¡¢whois ¥³¥Þ¥ó¥É¤Î¥Ñ¥é¥á¡¼¥¿¡¼¤¬°ã¤¦¤è¤¦¤Ç¡¢'whois domain\@whoiserver'¡Ê'whois domain@whoiserver'¤È¤¤¤¦¥Ñ¥é¥á¡¼¥¿¡¼¤â¸«¤¿¤³¤È¤¬¤¢¤ë¤ó¤Ç¤¹¤¬¡Ë¤È¤¤¤¦¤³¤È¤Ê¤Î¤Ç¡¢¥¹¥¯¥ê¥×¥ÈÆâ¤Î°Ê²¼¤ÎÉôʬ¤Î¤ß¤òÊѹ¹¤·¤Þ¤·¤¿¡£ ¡ôÊѹ¹Á° $ret = `$whois -h $nics{$nic} $domain`; ¡ôÊѹ¹¸å $ret = `$whois $domain\@$nics{$nic}`; ¤³¤ì¤Ë¥×¥é¥¹¤·¤Æ¡¢ÅöÊý¤ÎISP¤Ç¤Ï¡¢'whois'¤¬¡¢'/bin'¤Ë¤¢¤ë¤Î¤Ç¡¢'environment.pl'¤Î'$whois'¤Î¥Ñ¥¹¤â'/bin/whois'¤ËÊѹ¹¤·¤Þ¤·¤¿¡£ ¤È¤³¤í¤¬¡¢¥µ¡¼¥Ð¡¼¥¨¥é¡¼¤¬½Ð¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ISP¤ÇÍÑ°Õ¤·¤Æ¤¢¤ë¥Ç¥Ð¥Ã¥¯¤Îµ¡Ç½¡Êweb ¤«¤é¹Ô¤¦¡Ë¤òÍøÍѤ·¤Æ¤ß¤¿¤È¤³¤í¡¢°Ê²¼¤Î¤è¤¦¤Ê·ë²Ì¤¬¤Ç¤Þ¤·¤¿¡£ ----------------------------------- TEST 1: script and permissions Passed Test 1! TEST 2: script file format Passed Test 2! TEST 3: check perl path Passed Test 3! TEST 4: perl syntax String found where operator expected at t_whois.cgi line 45, near "print "" (Might be a runaway multi-line "" string starting on line 33) (Missing semicolon on previous line?) syntax error at t_whois.cgi line 45, near "print "" t_whois.cgi had compilation errors. Your script failed one or more of the tests and could not be automatically corrected. Please correct the errors listed above and try again. ----------------------------------- Ä´¤Ù¤Æ¤ß¤¿¤È¤³¤í¡¢¤ª¤½¤é¤¯¡¢Êѹ¹¤·¤¿Éôʬ¤Î¤¬´Ø·¸¤¹¤ë¤È»×¤¦¤Î¤Ç¤¹¤¬¡¦¡¦¡¦ ¸¶°ø¤¬¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¡£ ¤â¤·¡¢²ò·èÊýË¡¤ò¤´Â¸ÃΤǤ·¤¿¤é¡¢¤´»ØƳ失¤ì¤Ð½õ¤«¤ê¤Þ¤¹¡£ Ta |
> (Might be a runaway multi-line "" string starting on line 33) > (Missing semicolon on previous line?) ¡Ö33¹ÔÌܤ«¤é»Ï¤Þ¤ë "" ¤¬ÊĤ¸¤Æ¤Ê¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«?¡× ¡ÖÁ°¤Î¹Ô¤ÎºÇ¸å¤Ë¥»¥ß¥³¥í¥ó¤òÉÕ¤±Ëº¤ì¤Æ¤¤¤Ê¤¤¤«?¡× ¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¡£ > $ret = `$whois $domain\@$nics{$nic}`; ¤³¤ì¼«ÂΤÏÌäÂꤢ¤ê¤Þ¤»¤ó¡£ |
68User¤µ¤ó¡¢ÁᮤΤªÊÖ»öͤêÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¥¹¥¯¥ê¥×¥È¤Ï³Îǧ¤·¤¿¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢ºÆÅÙ¡¢³Îǧ¤·¤Æ¤ß¤Þ¤¹¡£ ¤â¤·¡¢¤Þ¤¿Ê¬¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤ì¤Ð¡¢¤ªÊ¹¤¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ ¤è¤í¤·¤¯¤ª´ê¤¤Ãפ·¤Þ¤¹¡£ Ta |
ÅÙ¡¹¤¹¤¤¤Þ¤»¤ó¡£Ta¤Ç¤¹¡£¥¹¥¯¥ê¥×¥È¤Ë¥ß¥¹¤¬¤¢¤ê¤Þ¤·¤¿¡£¤½¤Î¸å¡¢¥Ç¥Ð¥Ã¥¯¤ò¤·¤Æ¤ß¤ë¤È¡¢Á´¤Æ¥Ñ¥¹¤·¤Þ¤·¤¿¡£ TEST 1: script and permissions Passed Test 1! TEST 2: script file format Passed Test 2! TEST 3: check perl path Passed Test 3! TEST 4: perl syntax t_whois.cgi syntax OK Passed Test 4! Your script has passed all 4 tests. If your script passes these tests, and still won't run, you might look for one or more of these common problems: 1) make sure it can find any files or external programs it needs 2) make sure any included perl programs also check out 3) make sure you are writing a "Content-type:" line at the beginning of your output Consult your favorite Perl/CGI book for more information. ¤³¤ì¤ÇÆ°¤¯¤«¤È»×¤Ã¤¿¤é¡¢Internal Server Error¡¦¡¦¡¦ ¤¦¡Á¤ó¡¢¤Ê¤ó¤Ç¤À¤«Ê¬¤«¤ê¤Þ¤»¤ó¡£environment.pl¤Ï¡¢$whois¤Î¥Ñ¥¹¤ò½¤Àµ¤¹¤ë¤À¤±¤Ç¡¢¤¤¤¤¤Ï¤º¤Ç¤¹¤è¤Í¡£ ²¿¤«¡¢¥Á¥§¥Ã¥¯¤·¤Æ¤ß¤ë¤È¤³¤í¤¬¤¢¤Ã¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ Ta |
¤È¤ê¤¢¤¨¤º¡¢ > open(STDOUT,"|$nkf -j"); open(STDOUT,"| /usr/local/bin/nkf -j"); > &put_header("whois¤·¤Æ¤ß¤è¤¦ -- $domain --"); print "Content-type: text/html\n\n"; print "<HTML>\n<HEAD><TITLE>whois¤·¤Æ¤ß¤è¤¦ -- $domain --</TITLE></HEAD>\n"; print "<BODY ...(ά)...>\n"; > &finish_work; print "</BODY>\n</HTML>\n"; ¤Ê¤É¤È½ñ¤´¹¤¨¤Æ¡¢environment.pl ¤Ê¤·¤ÇÆ°¤¯¤è¤¦¤Ë¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ ¤½¤ì¤Ï¤½¤ì¤È¤·¤Æ ¤Ê¤¼Æ°¤«¤Ê¤¤¤«¤È¤¤¤¦¤È¡¢CGI ·Ðͳ¤Ç¼Â¹Ô¤·¤¿ºÝ¤Ë environment.pl ¤¬Æɤ߹þ¤á¤Æ¤¤¤ë¤«¤É¤¦¤«¤¬µ¤¤Ë¤Ê¤ê¤Þ¤¹¡£ if ( ! require 'environment.pl' ){ print "Content-type: text/plain\n\nCan't load environment.pl\n"; exit; } ¤Æ¤Ê´¶¤¸¤Ç¥Á¥§¥Ã¥¯¤¹¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£ |
½é¤á¤Þ¤·¤Æ¡Ám(_ _)m ¤Á¤ç¤Ã¤Èʹ¤¤¿¤¤»ö¤¬¤¢¤ë¤Î¤Ç¤¹¤¬¡¢unix¤Çmo¤Ë¥Ç¡¼¥¿¤ò¥»¡¼¥Ö¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤ó¤Ç¤·¤ç¤¦¤«¡© ´Ä¶¤Ï¤¢¤ë¤ß¤¿¤¤¤Ê¤Î¤Ç¤¹¤¬¡¢¤ä¤êÊý¤¬Ê¬¤«¤ê¤Þ¤»¤ó¡£ °ø¤ß¤Ëroot¸¢¸Â¤Ï¤Ê¤¤¤Ç¤¹¡£ unix¤Ïsolaris¤Ç¤¹¡£ |
68User¤µ¤ó¡¢¿§¡¹¤È¥¢¥É¥Ð¥¤¥¹ÍÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤É¤¦¤·¤Æ¤â¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¡£'nkf'¤Î¥Ñ¥¹¤¬´Ö°ã¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¡Ê'environment.pl'¤ò»È¤ï¤Ê¤¤ÊýË¡¤Ç¹Ô¤Ã¤Æ¤ß¤Þ¤·¤¿¡Ë 'whois'¤â¡¢·ë¶É¡¢Ä´¤Ù¤¿¤È¤³¤í¡¢'/bin/whois'¤Ç¤·¤¿¤·¡¦¡¦¡¦ º£ÈÕ¡¢¤Þ¤¿Ä©À路¤Æ¤ß¤Þ¤¹¡£ |
¤Þ¤º¤Ï #!/usr/local/bin/perl $|=1; print "Content-type: text/plain\n\n"; print `/bin/whois yahoo.co.jp@whois.nic.ad.jp` ¤³¤³¤«¤é»Ï¤á¤Þ¤·¤ç¤¦¡£¤³¤ì¤Ç¥À¥á¤Ê¤é whois ¤ÎÌäÂê¤Ç¤¹¡£Æ°¤¤¤¿¤é #!/usr/local/bin/perl $|=1; open(STDOUT,"|/usr/local/bin/nkf -j"); print "Content-type: text/plain\n\n"; print `/bin/whois yahoo.co.jp@whois.nic.ad.jp` ¤È¤·¤Æ²¼¤µ¤¤¡£¤³¤ì¤Ç¥À¥á¤Ê¤é nkf ¤Î¥Ñ¥¹¤¬ÌäÂê¤Ç¤¹¡£ whois.nic.ad.jp ¤Ï JIS ¥³¡¼¥É¤òÊÖ¤·¤Þ¤¹¤¬¡¢whois.cgi ¤Ï EUC ¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢nkf ¤Çʸ»ú¥³¡¼¥É¤òÅý°ì¤·¤Æ¤¤¤Þ¤¹¡£ ¤Ê¤Î¤Ç¡¢ºÙ¤«¤¤»ö¤ò¸À¤¦¤È¾å¤ÎÎã¤Ç¤Ï nkf ¤ÏÍפê¤Þ¤»¤ó (¥¹¥¯¥ê¥×¥È¤¬ EUC ¤ò (¤È¤¤¤¦¤«¡¢ÆüËܸì¤ò) ½ÐÎϤ·¤Æ¤¤¤Ê¤¤¤«¤é)¡£ > unix¤Çmo¤Ë¥Ç¡¼¥¿¤ò¥»¡¼¥Ö¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤ó¤Ç¤·¤ç¤¦¤«¡© ¤³¤³¤é¤Ø¤ó¤¬¥Ò¥ó¥È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¤«¡£ http://www.pfu.co.jp/x86/faq/ Ëͼ«¿È¤Ï·Ð¸³¤¬¤Ê¤¤¤Î¤Ç¤ï¤«¤ê¤Þ¤»¤ó¡£ |
¡ÖHTTP ¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦¡×¤È¡¢2000/01/12(¿å) 20:56¤Î proxy¤Ë´Ø¤¹¤ë½ñ¤¹þ¤ß¤ò»²¹Í¤Ë¤·¤¿¤é¡¢´Êñ¤Êproxy¥µ¡¼¥Ð¡¼¤¬¡¢ ´Êñ¤Ëºî¤ì¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª ¡ô¡¡¤Ç¤â¡¢¿ô¹Ô¤ÎÄɲ两ãºÑ¤Þ¤Ê¤«¤Ã¤¿¤Ê¤¡¡£¤â¤Ã¤È½¤¹Ô¤¹¤ì¤Ð ¡ô¡¡½ÐÍè¤ë¤è¤¦¤Ë¤Ê¤ë¤ó¤À¤í¤¦¤±¤É¡¦¡¦¡¦ |
¤Ê¤Ë¤ä¤é¤¤¤í¤¤¤íÂçÊѤ½¤¦¤Ç¤¹¤Í¡£ ¤È¤³¤í¤Ç·Ç¼¨ÈĤÎÏäʤó¤Ç¤¹¤¬¡Ä¡£ ¥í¥°¤Î´ÉÍý¤È¤«¡¢¤Ê¤ó¤«¤¤¤¤°ÆÉâ¤Ó¤Þ¤·¤¿¡© ²¶¤Ï¤¢¤ó¤Þ¹Í¤¨¤Æ¤Ê¤¤¤Ç¤¹¤±¤É¡£ ¤½¤ì¤È¤¦¤Á¤Î·Ç¼¨ÈÄ¡¢²áµî¥í¥°°ìÍ÷¤ò¤Á¤ç¤Ã¤È ʤÙÂؤ¨¤Æ¤ß¤Þ¤·¤¿¡Ê¤Ê¤Ë¤ä¤Ã¤Æ¤ó¤À¤«¡Ä¡Ë¡£ ¤â¤·¤è¤«¤Ã¤¿¤é»È¤Ã¤Æ¤ä¤Ã¤Æ²¼¤µ¤¤¡£ ¤½¤ì¤Ç¤Ï¤Þ¤¿¡£ |
> ¡ô¡¡¤Ç¤â¡¢¿ô¹Ô¤ÎÄɲ两ãºÑ¤Þ¤Ê¤«¤Ã¤¿¤Ê¤¡¡£ ¤½¤¦¤Ç¤·¤¿¤«¡£¼ÂºÝ¤Ëºî¤Ã¤Æ¤ß¤¿¤ï¤±¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢¤½¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤¿¤À¡¢¼ÂÍѤǻȤª¤¦¤È¤¹¤ë¤È¡¢¥Þ¥ë¥Á¥¹¥ì¥Ã¥É²½¤·¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¤¬¡¢ ¤½¤Î¾ì¹ç¤Ï·ë¹½¹Ô¿ô¤ÏÁý¤¨¤Þ¤¹¤Í¡£ > ¥í¥°¤Î´ÉÍý¤È¤«¡¢¤Ê¤ó¤«¤¤¤¤°ÆÉâ¤Ó¤Þ¤·¤¿¡© ¥í¥°¤ò1¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë¤Þ¤È¤á¤ë¤«¡¢1.txt¡¦2.txt¡Ä¤Èʬ¤±¤ë¤«¡¢¤Ç¤¹¤«? ¼ÂºÝ¤Î¤È¤³¤í¡¢¤½¤ì¤¾¤ì¥á¥ê¥Ã¥È¡¦¥Ç¥á¥ê¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¤«¤é¡¢Æñ¤·¤¤¤Ç¤¹¤Í¡£ # <Email ....> Êý¼°¤Ï¤ä¤á¤è¤¦¤È»×¤Ã¤Æ¤Þ¤¹¡£<Email>....</Email> ¥¹¥¿¥¤¥ë¤Ë # ¤¹¤ë¤Ä¤â¤ê¡£ ¤½¤ì¤Ï¤½¤ì¤È¤·¤Æ¡¢¸å¼Ô¤Î¥í¥°´ÉÍýÊý¼°¤Ë¤·¤Æ¤¯¤ì¡¢¤È¤¤¤¦¤³¤È¤Ê¤é ¤É¤Á¤é¤Ç¤âÁª¤Ù¤ë¤è¤¦¤Ë²þ¤¤·¤Þ¤¹¤±¤É ¤É¤¦¤·¤Þ¤¹? > ²áµî¥í¥°°ìÍ÷¤ò¤Á¤ç¤Ã¤ÈʤÙÂؤ¨¤Æ¤ß¤Þ¤·¤¿ ¸Ä¿ô¤¬Â¿¤¯¤Ê¤ë¤È¡¢¸«¤ä¤¹¤¤¤Ç¤¹¤Í¡£»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£ ¤È¤³¤í¤Ç ML ¤Î·ï¤Ç¤¹¤¬¡¢has ¤Î¤È¤³¤í¤Ç¤ä¤Ã¤Æ¤â¤é¤¨¤Þ¤»¤ó? ¤¦¤Á¤Ï¸åǤ¤Î´ÉÍý¼Ô¤¬¤¤¤Ê¤¤¤Î¤Ç¡¢¤³¤Î»þ´ü¤Ë»Ï¤á¤ë¤Î¤Ï¤¢¤¤é¤á¤Þ¤·¤¿¡£ |
¤ä¤Ã¤È¡¢¼«ÎϤÇCGIÀßÃÖ½ÐÍè¤Þ¤·¤¿¡£ CGI¤ò¤ä¤í¤¦¤È¤·¤Æ¤«¤é¼Â¤ËÆóǯ¤â¤«¤«¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Èperl¤È¸À¤¦¸ÀÍդΰÕÌ£¤¬¤ä¤Ã¤Èʬ¤«¤ê¤Þ¤·¤¿ ¼¡¤Ï¼«ºî¤Ëdz¤¨¤Æµï¤¿¤é¡¢CGI ¥×¥í¥°¥é¥à¤Î¤Ï¤¸¤á¤Î°ìÊ⠤äƸÀ¤¦¥³¥ó¥Æ¥ó¥Ä¤¬ºß¤Ã¤¿¤Î¤Ç´ò¤·¤¤¤Ç¤¹¡£perl¥Ñ¥½¤ËÆþ¤ì¤Æ CGI¤ÎËÜÇã¤Ã¤Æ¤¤Þ¤¹¤è¡¼¡£¤Ê¤ó¤«¡¢CGIÀßÃ֤Ǥ¤¿¤Î¤¬ ´ò¤·¤¯¤Æ¡¢68user¤µ¤ó¤ËÊó¹ð¤¬¤·¤¿¤«¤Ã¤¿¤Î¤Ç¤¹¡¼ ¥Ò¥È¤Îºî¤Ã¤¿CGI¤¬¤¦¤´¤¤¤¿¤Ã¤Æ¤À¤±¤Ê¤ó¤Ç¤¹¤±¤É¡¢´ò¤·¤«¤Ã¤¿¤Ç¤¹¡£ |
> perl¥Ñ¥½¤ËÆþ¤ì¤Æ CGI¤ÎËÜÇã¤Ã¤Æ¤¤Þ¤¹¤è¡¼¡£ ¤½¤ì¤Ï¤è¤¤¤³¤È¤Ç¸æºÂ¤¤¤Þ¤¹¡£¤ä¤Ï¤ê¼«ºî¤¹¤ë¤Î¤¬°ìÈÖ³Ú¤·¤¤¤ï¤±¤Ç¡¢ ¤¼¤ÒÊÙ¶¯¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ ¤¿¤À¤·¡¢Â¾¿Í¤Ëʹ¤¯Á°¤Ë¡Ö¤Þ¤ºËܤòÆɤࡢ¤Þ¤º¼«Ê¬¤ÇÄ´¤Ù¤ë¡×¤È¤¤¤¦ ¤³¤È¤Ïɬ¤º¹Ô¤¦¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£¼«Ê¬¤ÇÄ´¤Ù¤é¤ì¤Ê¤¤¡¦¼«Ê¬¤Ç Ä´¤Ù¤ëµ¤¤Î¤Ê¤¤¿Í¤Ï¡¢¾å㤷¤Þ¤»¤ó¤«¤é¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤¿¤Þ¤ê¤È¿½¤·¤Þ¤¹¡£ CGI¡¢ÆäËperl¤òÊÙ¶¯Ãæ¤Îʪ¤Ç¤¹¡£ ¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¡¢ÌÇÃã¶ìÃ㻲¹Í¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¸½ºß¡¢68user¤µ¤ó¤Î¥¹¥¯¥ê¥×¥È¤ò»²¹Í¤Ë¡¢FTP¥¯¥é¥¤¥¢¥ó¥È¤ò½ñ¤¤¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬¡¢ ¤É¤¦¤âSTOR¤¬¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¡£ ¥Õ¥¡¥¤¥ë¤¬Á÷¿®¤·½ª¤ï¤ë¤Þ¤Ç¤ËÀܳ¤òÀÚ¤é¤ì¤Æ¤·¤Þ¤¤¡¢FTPd¤¬¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò ²òÊü¤·¤Ê¤¤¤è¤¦¤Ê¾õÂ֤ˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£ ÅöÊý¤Î´Ä¶¤Ï¤È¤¤¤¦¤È¡¢Windows98 + ActivePerl build 521 + TinyFTPDaemon Ver 0.51¤Ç¤¹¡£ HD¤ÎžÁ÷®ÅÙ¤¬Äɤ¤¤Ä¤«¤Ê¤¤¤Î¤«¤Ê¤È»×¤¤¡¢°Ê²¼¤Î¤è¤¦¤Ë¥¦¥§¥¤¥È¤òÆþ¤ì¤Æ¤ß¤Æ¤â ¤À¤á¤Ç¤·¤¿¡£ while (<IN>) { print DATA $_; $i = 10000; while ($i) {$i--;} } ¾åµ¤Î¥³¡¼¥É¤ÏPassive¥â¡¼¥É¤Ç¥µ¡¼¥Ð¤¬³«¤¤¤¿DATA¥Ý¡¼¥È¤ËIN¥Õ¥¡¥¤¥ë¤òPUT¤·¤Æ ¤¤¤ëÉôʬ¤À¤È¤ª¹Í¤¨²¼¤µ¤¤¡£ ·ë²Ì¤È¤·¤ÆžÁ÷®Å٤ϳΤ«¤Ë²¼¤¬¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò²òÊü¤·¤Ê¤¤ (¡áFTPd¤¬¡Ö¼õ¿®¤¬´°Î»¤·¤Þ¤·¤¿¡×¤È¸À¤ï¤Ê¤¤¡×)¤È¤¤¤¦¾É¾õ¤Ï²þÁ±¤µ¤ì¤Þ¤»¤ó¡£ ¤Ê¤ª¡¢´Ä¶¤ÎÀ©¸Â¤Ë¤è¤ê¡¢¥·¥ó¥°¥ë¥¹¥ì¥Ã¥É¤Ç½ñ¤¤¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢´Ä¶¤Ë¤è¤ë¸¶°ø¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤½¤ì¤È¤â¥³¡¼¥Ç¥£¥ó¥°¾å¤ÎÌäÂ꤬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤è¤í¤·¤±¤ì¤Ð¤´¶µ¼¨²¼¤µ¤¤¡£ |
> ¥Õ¥¡¥¤¥ë¤¬Á÷¿®¤·½ª¤ï¤ë¤Þ¤Ç¤ËÀܳ¤òÀÚ¤é¤ì¤Æ¤·¤Þ¤¤ ²¿¥Ð¥¤¥ÈÁ÷¤Ã¤¿¤éÀÚ¤ì¤ë¡¢¤Ê¤É¤È¤¤¤¦ºÆ¸½À¤Ï¤¢¤ê¤Þ¤¹¤«? 1¥Ð¥¤¥È¤º¤ÄÁ÷¤Ã¤Æ¤ß¤ë¤È¤É¤¦¤Ç¤·¤ç¤¦¡£¤Þ¤¿¡¢ÀÚ¤ì¤ë¤Î¤Ï ¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤Ç¤¹¤«? ¥³¥Þ¥ó¥É¥³¥Í¥¯¥·¥ç¥ó¤Ç¤¹¤«? > FTPd¤¬¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò²òÊü¤·¤Ê¤¤¤è¤¦¤Ê¾õÂÖ ¤È¤¤¤¦¤Î¤Ï¶ñÂÎŪ¤Ë¤Ï¤É¤¦¤¤¤¦¾õÂ֤Ǥ¹¤«? ¤³¤ì¤â¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤«¥³¥Þ¥ó¥É¥³¥Í¥¯¥·¥ç¥ó¤«¤ò¶µ¤¨¤Æ²¼¤µ¤¤¡£ ¤¢¤È¡¢¤³¤Î¥³¡¼¥É¤ÎÁ°¸å¿ô¹Ô¤ò¸«¤»¤Æ¤â¤é¤¨¤Þ¤¹¤«? > HD¤ÎžÁ÷®ÅÙ¤¬Äɤ¤¤Ä¤«¤Ê¤¤¤Î¤«¤Ê¤È»×¤¤ ¤³¤ì¤Ï¤µ¤¹¤¬¤Ë¤Ê¤¤¤È»×¤¤¤Þ¤¹¤è¡£Windows ¤È¤¤¤¨¤É¤â OS ¤Ç¤¹¤«¤é¡¢ ¤½¤³¤é¤Ø¤ó¤Ï¤¤Ã¤Á¤ê¤ä¤Ã¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£ ¤Á¤ç¤Ã¤ÈµÞ¤¤¤Ç¤¤¤ë¤Î¤Ç¡¢¤³¤ÎÊդǡ£ |
> ¤³¤ì¤Ï¤µ¤¹¤¬¤Ë¤Ê¤¤¤È»×¤¤¤Þ¤¹¤è¡£ ²¾¤Ë HDD ¤¬¤È¤Æ¤âÃÙ¤«¤Ã¤¿¤È¤·¤Æ¤â¡¢ >> while (<IN>) { ¤Ç¥Ö¥í¥Ã¥¥ó¥°¤¹¤ë¤À¤í¤¦¤«¤é¡¢Æɤá¤Ê¤«¤Ã¤¿¤±¤É½èÍý¤¬ Àè¤Ë¿Ê¤à¤Ê¤ó¤Æ¤³¤È¤Ï¤Ê¤¤¤È»×¤¦¡¢¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ # ¤³¤³¤Ç¥Ö¥í¥Ã¥¥ó¥°¤·¤Æ¤¯¤ì¤Ê¤¤¤È¡¢OS ¤Î°ÕÌ£¤¬¤Ê¤¤¡£ |
½é¤á¤Þ¤·¤Æ¡¢¥»¥¬£Â£Â£Ó¤Î²áµî¥í¥°À¨¤¤¤Ç¤¹¡¢ ¤´¶ìÏ«ÍͤȤ·¤«¸À¤¨¤Þ¤»¤ó¡¢ ¤Þ¤¿¡¢¤¸¤Ã¤¯¤ê¸«¤µ¤»¤Æ¤â¤é¤¤¤Ë¤¤Þ¤¹¡¢ ¡Êº£¤«¤é¤ß¤ë¤ó¤À¤±¤É¡¢¡¢¡¢¡Ë |
> ²¿¥Ð¥¤¥ÈÁ÷¤Ã¤¿¤éÀÚ¤ì¤ë¡¢¤Ê¤É¤È¤¤¤¦ºÆ¸½À¤Ï¤¢¤ê¤Þ¤¹¤«? ºÆ¸½À¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹¡£ Àܳ¤¬ÀÚ¤é¤ì¤¿»þÅÀ¤Ç¤Î¥µ¥¤¥º¤ÏÉÔÄê¤Ç¤·¤¿¡£ > 1¥Ð¥¤¥È¤º¤ÄÁ÷¤Ã¤Æ¤ß¤ë¤È¤É¤¦¤Ç¤·¤ç¤¦¡£ ¤¨¤Ã¤È¡¢¶ñÂÎŪ¤Ë¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤¤¤¤¤ó¤Ç¤·¤ç¤¦¤«¡© read¤Ç1¥Ð¥¤¥È¤º¤ÄÆɤó¤Ç¤¤¤¯¤Î¤Ç¤·¤ç¤¦¤«¡£¤Á¤ç¤Ã¤È»î¤·¤Æ¤ß¤Þ¤¹¡£ > ¤Þ¤¿¡¢ÀÚ¤ì¤ë¤Î¤Ï¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤Ç¤¹¤«? ¥³¥Þ¥ó¥É¥³¥Í¥¯¥·¥ç¥ó¤Ç¤¹¤«? ¤¹¤¤¤Þ¤»¤ó¡¢ÀâÌÀ¤¬Â¤ê¤Ê¤«¤Ã¤¿¤è¤¦¤Ç¡£ ¤É¤¦¤ä¤éQUIT¤ÏÁ÷¿®¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ê¤Î¤Ç¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤¬ÀÚ¤é¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£ >> FTPd¤¬¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤ò²òÊü¤·¤Ê¤¤¤è¤¦¤Ê¾õÂÖ FTPd¤¬µ¯Æ°Ãæ¤Ï¥¨¥¯¥¹¥×¥í¡¼¥é¤«¤é¤â¥Õ¥¡¥¤¥ë¤Îºï½üÅù¤¬¤Ç¤¤Þ¤»¤ó¡£ ¤â¤Á¤í¤ó¥¹¥¯¥ê¥×¥È¤¬½ªÎ»¤·¤Æ¤¤¤Æ¤â¡¢¤Ç¤¹¡£ FTPd¤ò½ªÎ»¤µ¤»¤ë¤È¡¢Á÷¿®¤·¤¿¥Õ¥¡¥¤¥ë¤¬¸µ¥µ¥¤¥º°Ê²¼(ÉÔÄê)¤Ç¤¢¤ë¤È¤¤¤¦´¶¤¸¤Ç¤¹¡£ ¤½¤¦¤Ê¤ë¤Èºï½üÅù¤â²Äǽ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡Ö¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤«¥³¥Þ¥ó¥É¥³¥Í¥¯¥·¥ç¥ó¤«¡×¤È¤¤¤¦¤Î¤Ï¼«Ê¬¤Ë¤Ï¤ï¤«¤ê¤Þ¤»¤ó¡£ > ¤¢¤È¡¢¤³¤Î¥³¡¼¥É¤ÎÁ°¸å¿ô¹Ô¤ò¸«¤»¤Æ¤â¤é¤¨¤Þ¤¹¤«? °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Û¤È¤ó¤Éftptrans.pl¤òήÍѤµ¤»¤ÆÌã¤Ã¤Æ¤Þ¤¹(^^; if ($mode eq 'put') { &send_command(COMMAND, "STOR $target_file\r\n"); } elsif ($target_file =~ m|/$|) { &send_command(COMMAND, "LIST $target_file\r\n"); } else { &send_command(COMMAND, "RETR $target_file\r\n"); } &client_work(DATA, $data_connection_host, $data_connection_port); open(IN, $infile) || die "$infile: $!"; binmode(IN); while (<IN>) { print DATA $_; } close(IN) || die "close: $!"; &read_response(COMMAND); close(DATA) || die "close: $!"; &send_command(COMMAND, "QUIT$CRLF"); &read_response(COMMAND); close(COMMAND) || die "close: $!"; > # ¤³¤³¤Ç¥Ö¥í¥Ã¥¥ó¥°¤·¤Æ¤¯¤ì¤Ê¤¤¤È¡¢OS ¤Î°ÕÌ£¤¬¤Ê¤¤¡£ Åö¤Æ¤¬¤Ï¤º¤ì¤Æ¤¿¤è¤¦¤Ç¤¹¤Í(^^; ¼ÂºÝ²þÁ±¤µ¤ì¤Ê¤«¤Ã¤¿¤Ç¤¹¤·¡£ ¥Õ¥¡¥¤¥ë¤¬Á÷¿®¤·½ª¤ï¤ëÁ°¤ËQUIT¤¬Á÷¿®¤µ¤ì¤Æ¤ë¤È¸À¤¦¤³¤È¤Ï¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤¬ ÀÚÃǤµ¤ì¤ëÁ°¤Ë¥³¥Þ¥ó¥É¥³¥Í¥¯¥·¥ç¥ó¤¬ÀÚÃǤµ¤ì¤ë¤È¸À¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡© ³Î¤«FTP¤Ã¤Æ¥Ç¡¼¥¿¥³¥Í¥¯¥·¥ç¥ó¤ÎÀÚÃÇ¡á¥Ç¡¼¥¿¤Î½ª¤ï¤ê¤Ç¤·¤¿¤è¤Í¡© ¤Ç¤âclose¤Ç¤Ï»à¤ó¤Ç¤Ê¤¤¤è¤¦¤À¤·¡¦¡¦¡¦ ¤È¤ê¤¢¤¨¤º1¥Ð¥¤¥È¤º¤Ä¤ò»î¤·¤Æ¤ß¤Þ¤¹¡£ |
¤¢¡¢¤¹¤¤¤Þ¤»¤ó¡¢ÄûÀµ¤Ç¤¹ > &send_command(COMMAND, "QUIT$CRLF"); &send_command(COMMAND, "QUIT\r\n"); ¤Ç¤¹¡£ # ÉáÃÊ$CRLF="\r\n";¤Ç¤ä¤Ã¤Æ¤ë¤â¤Î¤Ç(^^; |