Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Getting rid of spam comments

Porn, viagra, casino, and some words I don’t understand… I got more than 70 within a week! Fortunately, the WordPress keywords filter removed most of them, but it’s not enough, since the database size strangely increased. I am using a new method: denying spam robots with .htaccess file.
According to the WordPress site, you should write:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^-$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

Well, let Apache do its job. Meanwhile, I realized it’s too simple to write a spam engine with Pear’s HTTP/Request or Perl’s libwww.
Below are the spam words I collected that make most of spammers away, next step, installing a Captcha plugin.

Southside real estate
66.132.143.8
http://alabama-real-estate-sale.com/
gambling
holdempoker
Buy Phentermine Online
Cheap Phentermine
209.190.4.10
209.190.4.106
http://www.casinolasveges.com
http://www.muchila.com/online-casino.html
autophotograph anti-obseity
unfeasable stonemason
hoodia asian bondage
http://onlinepoker.freewebtools.com
phentermine30.lookscool.com
http://phentermine1.athome.to
http://roulette.up-a.com
http://online-casino.webpark.pl
hoodia antimicrobial
dietpills anti-aging
66.199.247.74
phentermine
medications xenical
85.64.110.147
http://paydayloans.funsmart.com
payday loans online
coolhu
216.255.176.18
69.41.161.55
fioricet
butalbital
valeraldehyde
flaconimports
zealful
erethismic
tramadol
prescriptions
69.41.161.55
antimissioner
80.178.147.66
Monaco Gold Casino
http://Monaco-Gold-Casino.newsua.org
Abigail_Alessandra@aol.com
85.64.110.239
http://weightlossdiet.fictioncity.com/
WEIGHT LOSS diet
80.178.156.118
http://www.muchila.com/
http://www.mpthrill.com
216.255.176.19
http://www.u-blog.net/gayporn
gay porn
gay pics
http://www.20six.co.uk
BBW Pics
gaymail.com

Related posts

(sometimes, the plugin foolishes)
Spamming Blogs — Howto
Permanent links in WordPress
Yet another respectable blogger!
Log2SQLite 0.1
Mea Culpa

Technorati tags

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a


Top Tunisie Blogs