You are here: Re: captcha to defeat form spammers « HTML « IT news, forums, messages
Re: captcha to defeat form spammers

Posted by mbstevens on 05/02/07 12:04

On Wed, 02 May 2007 11:35:16 +0000, wayne wrote:

> mbstevens wrote:
>> On Wed, 02 May 2007 03:22:07 -0700, Andy Dingley wrote:
>>
>>> On 1 May, 21:00, "Tina Peters" <t...@axishost.com> wrote:
>>>
>>>> I'm saying that spam bots have no reason to try to get around it
>>> Spam bots have no reason to get onto my site, so I have no need for a
>>> CAPTCHA form at all - real or fake..
>>>
>>> If I build the next YouTube/LiveJournal, then I'll immediately become
>>> interesting to them. Exactly at this point, fake captchas like yours
>>> become useless.
>>
>> I think the easiest way to kill it, if you have access to the server
>> mailer program's source, is just to watch the spam that actually comes in
>> and filter for particular strings that they use which normal posters would
>> seldom if ever use, dying with an error if one is found. You have to
>> update the code occasionally, but it only takes a few minutes.
>> Spam on my forms has gone from about twenty a day to zero, but YMMV.
>>
>
> Perhaps you should look at the free form here: www.tectite.com


It looks like a good system for those who need the really need the big
guns, but I just look at the actual spams that are coming in and add a
function to the mail program (mine is in Perl) like:

if (
($msg =~ m/asvfdv/)
|| ($msg =~ m/guests:/ )
|| ($msg =~ m|info/index.html|)
|| ($msg =~ m/-report/)
|| ($msg =~ m/-credit/)
|| ($msg =~ m/-loans/)
|| ($msg =~ m/-airline/)
)
{
die "Error: Spam strings detected. Please remove common words used in spam.";
}

You just look at the spams that are coming in and choose some part that
would be unlikely for a real poster to use. I don't really need 9700
lines of PHP for my small problems, but I can imagine there are those that
do.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация