An easy way to get rid of MT comment spam

| | Comments (4)

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.

4 Comments

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

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

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

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

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

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

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

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

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on December 23, 2004 2:27 AM.

Fresh Ports was the previous entry in this blog.

Change MAC Address under Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.