December 23, 2004

An easy way to get rid of MT comment spam

Hosts Disable Movable Type as Comment Spam Slows Servers
This article give me a hint.
MT comment spam bot target mt-comments.cgi to post comment spam,
Why not rename it!
1. mv mt-comments.cgi mt-comments_something.cgi
2. edit mt.cfg, uncomment CommentScript, and fill with mt-comments_something.cgi
3. rebuild all pages

After few days test, it works! (see 404 log)
This way get rid of most comment spam.
Some bot reference form action=filename, This trick will fail.

Posted by pank at December 23, 2004 02:27 AM
Comments

如果有那麼聰明的話, 那只好自己寫的小程式 check..cccc..

Posted by: Dave at December 23, 2004 10:10 PM

我有收到 mail...不過放著就忘了回...:p

後來看到這篇所以就順便回了..XD

Posted by: Dave at December 23, 2004 10:07 PM

在改的時侯, 本來要順便幫你改, 結果發現你已經改好了,
就發信問你成效如何? 不過你好像沒收到
今天是改的第四天, 還沒看到 spam
表示目前大部份的 bot 都很笨, 沒有看 form action 後面接的 filename

Posted by: pank at December 23, 2004 09:24 AM

這個方法目前會讓 spam bot 找不到 mt-comments.cgi 而少了大部份的 spams...

不過, 就我試了一兩個月的感覺經驗, 好像還是有幾篇 (大概是五六篇) 可以留 spam comment....

最近是幾乎沒有了 ....

會不會是我的場子太冷了, 本來就沒什麼人....XD

Posted by: Dave at December 23, 2004 08:18 AM
Post a comment













Remember personal info?