| Apache :: Antispam :: SpamTrap. Apache :: AntiSpam :: SpamTrapÀº ÀüÀÚ ¸ÞÀÏÀÇ ·ÎÄà ÆÄÆ®¿¡ ½ºÆÔ Æ®·¦ Á¢¹Ì»ç¸¦ Ãß°¡ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Apache :: Antispam :: SpamTrap. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Alex Pleiner
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~apleiner/Apache-AntiSpam-SpamTrap-0.01/SpamTrap.pm
Apache :: Antispam :: SpamTrap. ű×
Apache :: Antispam :: SpamTrap. ¼³¸í
Apache :: AntiSpam :: SpamTrapÀº ÀüÀÚ ¸ÞÀÏÀÇ ·ÎÄà ÆÄÆ®¿¡ SpamTrap Á¢¹Ì»ç¸¦ Ãß°¡ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Apache :: AntiSpam :: SpamTrapÀº SpamTrap Á¢¹Ì»ç¸¦ À̸ÞÀÏ¿¡ ·ÎÄà ÆÄÆ®¿¡ Ãß°¡ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. httpd.conf SetHandler Perl-Script PerladDVAR Å° 0123456789ABCDEF PerlHandler Apache :: Antispam :: SpamTrap <À§Ä¡/> # ÇÊÅÍ ÀÎ½Ä PerlModule Apache :: Filter SetHandler Perl-Script PerlHandler Apache :: antispam :: SpamTrap Apache :: SpamTrapÀº Apache :: Antispam, ÇÊÅÍ ¸ðµâÀÇ ÇÏÀ§ Ŭ·¡½ºÀÔ´Ï´Ù. À¥ ÆäÀÌÁö¿¡ÀÖ´Â °Íó·³ ³ëÃâ µÈ ÀüÀÚ ¸ÞÀÏ ÁÖ¼Ò¸¦ ¹æÁöÇÏ·Á¸é. ÀÌ ¸ðµâÀº º¹¾î ¾ÏÈ£È µÈ ¹®ÀÚ¿ Á¢¹Ì»ç¸¦ ÀüÀÚ ¸ÞÀÏ ÁÖ¼ÒÀÇ ·ÎÄà ºÎºÐ¿¡ Ãß°¡ÇÕ´Ï´Ù. ÀÌ ¹®ÀÚ¿¿¡´Â ½Ã°£ ¼ÒÀÎ ¹× ¿ø°Ý È£½ºÆ®ÀÇ IP ÁÖ¼Ò°¡ Æ÷ÇԵ˴ϴÙ. À̸¦ ÅëÇØ IP ÁÖ¼Ò·Î ½ºÆÔ ¸ÞÀÌÀúÀÇ ÁÖ¼Ò ¼öÈ®±â¸¦ ½Äº°ÇÏ°í ±×¸¦ ±â¼ÒÇÏ´Â ´Ü°è¸¦ ¼öÇà ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¾Ïȣȴ ±â¼Ò¸¦ ¹æÁöÇÏ°í ATPECUTING ATTEMP¿¡¼ µµ¿òÀÌ µÉ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î APPLINER@CPAN.ORG´Â APPLINER-78C1ED6DA0322B3A @ CPANÀ¸·Î ÇÊÅ͸µµË´Ï´Ù. org.This ¸ðµâÀº ÇÊÅÍ ÀνÄÀ̸ç, Apache :: ÇÊÅÍ ÇÁ·¹ÀÓ ¿öÅ©¸¦ ¼öÁ¤ÇÏÁö ¾Ê°í ÀÛµ¿ ÇÒ ¼ö ÀÖ½À´Ï´Ù. Apache ±¸¼º ÆÄÀÏ¿¡ Blowfish Å°¸¦ Á¦°øÇؾßÇÕ´Ï´Ù. ¼ö½Å µÈ ¸ÞÀÏÀÇ SpamTrap String µðÄÚµù ´ÙÀ½ ±â´ÉÀ» »ç¿ëÇϽʽÿÀ. Sub SpamTrap_Decode { MY ($ string, $ key) = @_; $ Å°°¡ ¾Æ´Ï¶ó¸é ¹ÝȯÇϽʽÿÀ. $ string = ~ / {16} / o; MY $ INKEY = PACK ( "H16", $ Å°); Crypt :: Blowfish¸¦ »ç¿ëÇϽʽÿÀ. ³» $ CIPHER = NEW CRYPT :: Blowfish $ intey; MY $ PALITEXT = $ CIPHOR-> Çص¶ (ÆÑ ( "H *", $ ¹®ÀÚ¿)); ³» $ ½Ã°£ = ¾ÐÃà ( "L", SUBSTR ($ PALATEXT, 4, 4)); MY $ IP = JOIN ( ".", MAP {ORD} split //, substr ($ plaintext, 0, 4)); Wantarray¸¦ ¹Ýȯ ÇϽðڽÀ´Ï±î? ($ IP, $ ½Ã°£) : "$ IP $ ½Ã°£"; } ¿ä±¸ »çÇ× : ¡¤ Perl.
Apache :: Antispam :: SpamTrap. °ü·Ã ¼ÒÇÁÆ®¿þ¾î