<< 2005/02/ 1 2 3 4 5 6 7 8 1. Referer SPAM ¤¬¤¤¿
ToDo:
ÀèÆüƳÆþ¤·¤¿¤±¤ì¤É¡¢¤Ê¤¼¤« error ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¤¹¤°¤Ë»ß¤á¤Æ¤·¤Þ¤Ã¤¿ Anti Referer Spam ¤À¤¬¡¢¤É¤¦¤ä¤é¡¢¤Ï 1.8.x ¤Ë¤ÏÂбþ¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¤é¤·¤¤
¤È¡¢¤¤¤¦¤³¤È¤Ç¡¢ÌäÂêÅÀ¤ò½¤Àµ¤·¤Æ¤ß¤ë¤³¤È¤Ë¤·¤¿¡£¤³¤¦¤¤¤¦»þ¤Ë¡¢¼«Ê¬¤Î»È¤¦ tool Îà¤ò Ruby ¤Ç¸Ç¤á¤Æ¤ª¤¯¤È¡¢µ¤·Ú¤Ë½¤Àµ½ÐÍè¤Æ´ò¤·¤¤¤Í¢÷1¡Ä Ruby ¤Ï¸À¸ì¼«ÂΤ¬¼«Á³¤ÈÆɤ߰פ¤¥³¡¼¥É¤ò½ñ¤¯¤è¤¦¤Ë¤Ç¤¤Æ¤ë¤³¤È¤â¥á¥ê¥Ã¥È¤À¤±¤É¡¢ Ruby ¤Î¥³¥ß¥å¥Ë¥Æ¥£¤¬åºÎï¤Ê¥³¡¼¥É¤ò½ñ¤¯¤È¤¤¤¦»Ø¸þÀ¤ò»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢¸ø³«¤µ¤ì¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Î²ÄÆÉÀ¤¬¹â¤¯¤Ê¤Ã¤Æ¤¤¤ë¤Î¤¬ÁÇÀ²¤é¤·¤¤¡£
º£²ó¤ÎÌäÂê¤Ï¡¢ Ruby 1.6 ·Ï¤Ç¤Ï String#=~ ¥á¥½¥Ã¥É¤Î°ú¿ô¤Ëʸ»úÎó¤òÍ¿¤¨¤¿¾ì¹ç¡¢¾¡¼ê¤ËÀµµ¬É½¸½¤Ë¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¯¤ì¤Æ¤¤¤¿¤Î¤À¤¬¡¢ Ruby 1.8 ·Ï¤Ç¤Ïʸ»úÎó¤òÍ¿¤¨¤ë¤È TypeError ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È¤¤¤¦Êѹ¹¤Ë°ú¤Ã³Ý¤«¤Ã¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤À¡£Âкö¤È¤·¤Æ¤Ï¡¢°ú¿ô¤È¤·¤ÆÍ¿¤¨¤é¤ì¤Æ¤¤¤ëʸ»úÎó¤òÌÀ¼¨Åª¤ËÀµµ¬É½¸½¤Ë¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¡ÄÍפ¹¤ë¤Ë Regexp.new() ¤ÇÊñ¤ó¤Ç¤ä¤ì¤ÐÎɤ¤¡£¤¿¤À¤·¡¢ Anti Referer Spam ¤Ç¤Ï¡¢ URL ¤òÀµµ¬É½¸½¤È¤·¤Æ SPAM ÍúÎò¤Î¥ê¥¹¥È¤ä¡¢ Referer ¸µ¤Ë¼«Ê¬¤Î URL ¤¬´Þ¤Þ¤ì¤ë¤«¤ÎȽÄê¤ËÍøÍѤ·¤Æ¤¤¤ë¤Î¤Ç¡¢ URL ¤òº¸Êդˤ·¤Æ Regexp#=== ¥á¥½¥Ã¥É¤Çɾ²Á¤¹¤ëÊý¤¬¤è¤êŬÀÚ¢÷2¡£
¤·¤«¤·¡Äº£·î¹æ¤Î¡Ö¤ë¤Ó¤Þ¡×¤Î´¬Æ¬¸À¤Ç¹â¶¶¤µ¤ó¤¬¼è¤ê¾å¤²¤Æ¤ëÌäÂê¤Ë¥â¥í¤Ë¤Ö¤ÁÅö¤¿¤Ã´¶¤¸¤À¤Ê¡Ä
by *namu*
RSS:index.rdf