The state of comments spam
filed under: sNews CMS
In my never ending quest for world domination to end comment spam for sNews users I've been working on a few ideas, some new, some improvements to existing ideas.
After reading a post over at Patric Ahlqvist's site, I'm going to begin working on a simple function to "sniff out" a lot of the bot spam that commonly hits sNews sites, it will flag them and send those to moderation while allowing other posts to pass through to immediate posting. You probably know the spam if you run sNews... they'll hit 10-30 articles within 20 seconds, all from different IPs, and most of them are garbage links... they look like this;
nZ3nH8 rhqnmtsujwbl, [url=http://lvijciygqaxu.com/]lvijciygqaxu[/url], [link=http://qpzxgdgtfaca.com/]qpzxgdgtfaca[/link], http://gagokzbbbblz.com/
It should be easy to write a function to filter those out and send them straight to moderation. However, first I'm working on an vastly improved image / math hybrid captcha that will be out later today. Stay tuned.
Check it out here; http://www.mdj.us/snews-cms/hacks-mods/a-simple-spam-filter-for-snews-cms/
4 comments
Add a new comment »Categories
Recent Entries
Recent Comments
- Dede (I checked it today in a shop. GT2 had some troubles with six ...)
- Matt (Bintang, You need to re-direct the url, try ...)
- jesth (Ohh.. why didn't I think of that, thanks alot.)
- Matt (Dede, I don't have Gran Turismo 2, any of the 2nd+ generation ...)
- Matt (Jesth, Just change the if condition, instead of looking for ...)
- jesth (Hi (again) Was wondering, is it possible to make it ...)
- Bintang Sembilan (Matt, thanks for your modd. I have apply it to my ...)
- Dede (Hello there. Can you check something for me? I want to buy ...)
- Matt (I think it's a driver issue Terrence, or it was a driver issue. ...)
Popular Entries
- Light-weight related articles mod for sNews 1.7 (4.5/5)
- Image / math hybrid captcha version 2, vastly improved (4.42/5)
- 1024x600 netbook wallpapers of Evangeline Lilly (4.4/5)
- Compact archives for sNews 1.7 (4.4/5)
- sNews Ajax Polls mod now available (4.38/5)
- Pretty date and comments bars in sNews CMS (4.35/5)
- Page caching mod for sNews 1.7 (4.33/5)
- Gravatar mod for sNews 1.7 (4.29/5)
- An improved tag cloud for sNews 1.7 (4.29/5)
Apr 15th, 2009 at 5:22 am
waiting for it
//smile
Apr 16th, 2009 at 4:29 pm
lol :)
I actually wrote a little function for detecting possible spam based on the garbage words, but it's only good with English, so I kind of let it alone while thinking of a better approach, and I've noticed that my image captcha mod seems to have stopped all the spam thus far, so I haven't been in a hurry on that one.
Update 4/20/2009: http://mdj.us/snews-cms/hacks-mods/a-simple-spam-filter-for-snews-cms/
Tada! :P
Mar 1st, 2010 at 5:16 am
Whether a modification will be available "trusted users"? I like the solution to the first comment moderation. Now I have turned on comment moderation, but it is quite cumbersome.
Mar 1st, 2010 at 8:00 am
My trusted user (first comment moderated) is kind of hacked-in right now, but I'll have a look at some time and see about making it into a proper modification.