Yikes! New Anti-Spam Technique Not Working!

Posted February 10, 2007 at 9:44 AM

Sorry if any of you got spam comments emailed to you this weekend. Since I put my new anti-spam technique in place, about 15 or so spam comments have gotten through. A majority of them were from the same bot I think, so if I can stop this guy, then I think I would be good.

I have updated the ColdFusion code to tweak the reasons that form submissions will get blocked. I think this final step should be pretty good as it really attacks the reasons why spam bots are so effective - they are so darn fast! If this finally works, then I will write it up on Monday as it is soooo simple.

Fingers crossed again.

Post Comment  |  Ask Ben  |  Permalink  |  Print Page




Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Feb 10, 2007 at 8:17 PM // reply »
40 Comments

Have you seen how they do it on PHPBB? (http://www.phpbb.com)

In the post submission, they have this layer over the textarea and you have to click on it to prove that you are human. It's very slick looking, but I'm not sure how it works.


Feb 11, 2007 at 8:11 AM // reply »
6,516 Comments

That's cool, but I am dying to get something to work that doesn't require extra human action... maybe this is a pipe dream. I thought I was on to something, but it is proving unsuccessful. I will not be beaten just yet!


Jul 31, 2007 at 4:14 AM // reply »
5 Comments

How is your anti-spam code working out?
I have done something similar. Not only did I change the value of a form element, but I even renamed form elements. (By changing the name property of the element) The code is very obfuscated, so you'd need a real javascript interpreter to bypass my system. (Not just a fake one that looks for certain patterns)
My method has proven very successful. I have only gotten one spam eversince. (Which I suspect was posted by a hired Nigerian :p )

You can check it out at: http://gameboygenius.8bitcollective.com/wordpress/?p=53 (Check the source)

How I found you? I found this search in my referrer log: http://www.google.co.in/search?hl=en&q=new+antispam+techniques&meta= and you were on the first page too. (In the top even!)


Aug 5, 2007 at 5:38 PM // reply »
6,516 Comments

@nitro2k01,

Cool technique. My technique is working OK. I get a few posts every now and then, but certainly not all that many. I like the fact that you rename the Name attribute - I wasn't even aware that the browser would allow you to do that.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »
Nov 20, 2009 at 5:38 PM
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Hi Ben, Great article. I've been looking around to see if ColdFusion image engine can programatically create the following "wrap around" effect: http://www.creativepro.com/article/photoshop-s-she ... read »
Nov 20, 2009 at 5:35 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Dave: I talked to Gert he suggested: <cfhttp method="get" url="http://{some cf website}" result="stuff" addtoken="yes" /> Note the addition of cfhttp attribute addtoken. That should persist y ... read »
Nov 20, 2009 at 5:23 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, Ahh, gotcha, yeah that makes sense. ... read »
Nov 20, 2009 at 5:17 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, sorry if I didn't make this clear. You can make it work like that if you want, just put <cfset session.foo = 1> (and <cfset application.foo = 1>) in your OnRequestStart() and it reve ... read »