BoardMod - YaBB features and templates YaBB Codex - support on installation and usage XIMinc   YaBB Toolbar for your browser
  Welcome, Guest. Please Login or Register


YaBB Codex      
YaBB - Yet another Bulletin Board
 
 
 
  HomeHelpLoginRegisterSearch  
 
Pages: 1 2 
Print
We can beat spambots! (Read 3815 times)
Andy Murdoch
YaBB Newbie
*
Offline



Posts: 2
We can beat spambots!
Jun 6th, 2006 at 1:11pm
 
Hi,

I got hit by spambots a while ago and I can outline a fix for YaBB 1.3.2 that seems to work for me, I hope it's of use to you guys too.

1) Edit Sources/Register.pl

2) Search/replace all instances of "regagree" with some other random word - I used "obfusticate".

3) Add this code to the Register function just below the radio buttons that we just renamed obfusticate:

[tt]
<div style="display: none;"><br>Are you a Russian spam bot? <B>Yes</B> <input type=radio name="regagree" value="yes">
    &nbsp;&nbsp;&nbsp; <B>No</B> <input type=radio name="regagree" value="no" checked></div>
[/tt]

4) Add this code right at the top of the Register2 function:

[tt]
if($FORM{"regagree"} eq "yes") {
     die "Begone you Russian spambot";
}
[/tt]

This works by replacing the "I agree" part of registration with the question "Are you a Russian spambot?" but the bots are not smart enough to know the answer. I've had some good results with this, let me know what you think. I've written a bit more about it [url=http://www.andymurd.uk6.net/Stuff/yabbspam.shtml]here[/url].
Back to top
 
WWW  
IP Logged
 
AK108
Development Team
****
Offline



Posts: 3321
Re: We can beat spambots!
Reply #1 - Jun 6th, 2006 at 4:06pm
 
I'm impressed. I personally would've added another button, but this is even better. Good luck to you Wink
Back to top
 

Do not PM me for support.
WWW  
IP Logged
 
Andy Murdoch
YaBB Newbie
*
Offline



Posts: 2
Re: We can beat spambots!
Reply #2 - Jun 8th, 2006 at 4:18am
 
Thanks, it's still seems to be working - I've gone from about four or five new spambot accounts a day to zero!  Cheesy
Back to top
 
WWW  
IP Logged
 
mrad
YaBB Newbie
*
Offline



Posts: 1
Maryland, USA
Re: We can beat spambots!
Reply #3 - Jan 14th, 2007 at 12:50pm
 
Thanks Andy,
This is EXACTLY what I was looking for.  I just made the changes and will keep my fingers crossed.
-Mark
Back to top
 
 
IP Logged
 
Lisa Long
YaBB Newbie
*
Offline



Posts: 2
Re: We can beat spambots!
Reply #4 - Apr 8th, 2007 at 8:22pm
 
I changed my register.pl file to reflect the changes above.  It appears that the bots are no longer posting, but I am getting new members at a rate of about 20 a day, even on Easter Sunday.  How can I stop them from registering?  I have YABB 1.1

I would appreciate any help in this matter, thanks very much.

Sincerely, Lisa
Back to top
 
 
IP Logged
 
Squirrelman
Junior Member
**
Offline



Posts: 70
Long Island, NY
Re: We can beat spambots!
Reply #5 - Apr 22nd, 2007 at 8:44pm
 
Lisa Long wrote on Apr 8th, 2007 at 8:22pm:
I changed my register.pl file to reflect the changes above.  It appears that the bots are no longer posting, but I am getting new members at a rate of about 20 a day, even on Easter Sunday.  How can I stop them from registering?  I have YABB 1.1

I would appreciate any help in this matter, thanks very much.

Sincerely, Lisa

I require all new registrations to be approved by the Administrator.  This doesn't prevent them from applying, but it does prevent them getting on to the Forum.

And, just the other day, I installed reg_fld_prot.mod (Automatic Flood Protection)

This mod adds, once activated, a random validation code the user has to type in at registration and lost password reminder.

It also restricts the number of results on user recent post and searching the board (or disable either if the options using -1).

This registration code is again shuffled before validation so automated html scanners will not get the complete or correct code just grabbing the html page.


I hope this helps.
Back to top
 
WWW papalonnie2003 LCGoldman2002  
IP Logged
 
DesTech
YaBB Newbie
*
Offline



Posts: 1
Re: We can beat spambots!
Reply #6 - Aug 7th, 2007 at 5:44pm
 
I am obvioulsy a total dummy - I have hassles with the Russian additions to my site but can't get the positioning right of the text changes you suggest ... can you give me more guidance..  Not being a code-savvy guy - Can u hlp

Also where did you d'load the Flood Protection ?

Thanx - if you can help Angry
Back to top
 
 
IP Logged
 
StegRock
Junior Member
**
Offline



Posts: 56
Re: We can beat spambots!
Reply #7 - Aug 10th, 2007 at 5:30pm
 
DT,... if you want to send me your "Register.pl" file by e-mail, I'll give it a whack for you... Cool
Back to top
 

If you have the time, drop on by http://www.fantasyfootballer.com and http://www.theenglishmaster.com and say, "Hi!"
WWW  
IP Logged
 
jimbo123p
YaBB Newbie
*
Offline



Posts: 4
Re: We can beat spambots!
Reply #8 - Sep 17th, 2008 at 5:01am
 
Does anyone know of a wild card I can put before @mail.ru to block these email addresses, please,
Jim
Back to top
 
 
IP Logged
 
Captain John
Global Moderator
Documentation Team
*****
Offline



Posts: 11321
Reno Beach, Ohio USA
Re: We can beat spambots!
Reply #9 - Sep 18th, 2008 at 3:38pm
 
DesTech wrote on Aug 7th, 2007 at 5:44pm:
Also where did you d'load the Flood Protection ?


http://www.boardmod.org/yabb/YaBB.pl?board=newssp13;action=display;num=105018594...

jimbo123p wrote on Sep 17th, 2008 at 5:01am:
Does anyone know of a wild card I can put before @mail.ru to block these email addresses



http://codex.yabbforum.com/YaBB.pl?num=1190690095
Back to top
 
 
IP Logged
 
StegRock
Junior Member
**
Offline



Posts: 56
Re: We can beat spambots!
Reply #10 - Dec 27th, 2008 at 10:24pm
 
In relation to this, I posted a thread some time ago about CAPTCHA implementation for us dude(tte)s stuck in YaBB 1 land.  Anyway, as someone contacted me here tonight asking for help with this, I wanted to direct them to said thread, which had become a decent knowledgebase, only to find out that it's GONE.  Needless to say, I am TOTALLY bummed by that reality.  If there is any hope (I'm guessing no) of recovering it, it used to be located at http://www.yabbforum.com/community/YaBB.pl?num=1186785854.  In any event, in the effort to once again start collecting information and consolidating knowledge on this + my CAPTCHA "mod", here is the extant thread over on the BoardMod site:

http://www.boardmod.org/yabb/YaBB.pl?board=newssp;action=display;num=1194790373.

I am...

... Sincerely,
Steve "StegRock" Stegeman
Back to top
 

If you have the time, drop on by http://www.fantasyfootballer.com and http://www.theenglishmaster.com and say, "Hi!"
WWW  
IP Logged
 
Captain John
Global Moderator
Documentation Team
*****
Offline



Posts: 11321
Reno Beach, Ohio USA
Re: We can beat spambots!
Reply #11 - Dec 28th, 2008 at 1:47pm
 
The post you referred to here, does seem to have been kleened.

Your Captcha seems to cover YaBB 1 SP1/1.1 and the link I supplied above your post covers YaBB SP 1.3/1.3.1/1.3.2

   To ALL who are still running the OLD versions of YaBB, we hopefully wish you upgrade to Y2.2.3 (our base version) or Y2.3.1 our MODded version of YaBB.
   Since versions prior to Y2.1 are No longer supported, the only info and help we can provide, is what is posted in the Y1.x Category on the YaBB Codex.
Back to top
 
 
IP Logged
 
StegRock
Junior Member
**
Offline



Posts: 56
Re: We can beat spambots!
Reply #12 - Dec 28th, 2008 at 9:56pm
 
Captain John wrote on Dec 28th, 2008 at 1:47pm:
The post you referred to here, does seem to have been kleened.

Your Captcha seems to cover YaBB 1 SP1/1.1 and the link I supplied above your post covers YaBB SP 1.3/1.3.1/1.3.2

  To ALL who are still running the OLD versions of YaBB, we hopefully wish you upgrade to Y2.2.3 (our base version) or Y2.3.1 our MODded version of YaBB.
  Since versions prior to Y2.1 are No longer supported, the only info and help we can provide, is what is posted in the Y1.x Category on the YaBB Codex.


All the more reason why it's beat that that thread was "kleened". Cry

For a lot of us that "mandated" upgrade is not so easy in light of very gnarly tailored customizations, mods we've added that we can't even remember anymore because it was a looooong time and three computers ago, and, of course, most importantly, the time we can devote to all this.  Someday, if my site(s) ever really take off and I am of the means, I look forward to contacting the YaBB guys about giving my forum(s) a makeover and putting some well-deserved dough in their pockets.

In the meantime, though, it would be nice if we weren't treated like bastard children and our old posts about our poor little old boards weren't "kleened", an "upgrade", being a history guy myself, I could do without.  Anyway,... I'll go back to... Lips Sealed
Back to top
 

If you have the time, drop on by http://www.fantasyfootballer.com and http://www.theenglishmaster.com and say, "Hi!"
WWW  
IP Logged
 
Captain John
Global Moderator
Documentation Team
*****
Offline



Posts: 11321
Reno Beach, Ohio USA
Re: We can beat spambots!
Reply #13 - Dec 29th, 2008 at 10:33am
 
StegRock wrote on Dec 28th, 2008 at 9:56pm:
it would be nice if we weren't treated like bastard children and our old posts about our poor little old boards weren't "kleened", an "upgrade", being a history guy myself, I could do without.


  Unlike most Admin's who believe the more posts that are displayed in their statics of their forum the more they impress their members ... We do remove OLD posts (Kleen).  If you believe this forum has only had less than 30,000 posts ... you'd be dead wrong.
  The Search in YaBB only goes back one year or a MAX of 25 results from ALL Posts .. so any Admin keeping more than a year is only asking for problems from corrupt files, running out of disk space, etc., etc. ......  We kleen often .. no matter what is lost, it is old ... we don't pick on any group .. even StegRock wrote on Dec 28th, 2008 at 9:56pm:
bastard children 
who are too lazy, to inept, to upgrade in 4 plus years or more, ignoring needed fixes. features that have been made to the software.
Back to top
 
 
IP Logged
 
StegRock
Junior Member
**
Offline



Posts: 56
Re: We can beat spambots!
Reply #14 - Dec 30th, 2008 at 12:15am
 
Captain John wrote on Dec 29th, 2008 at 10:33am:
If you believe this forum has only had less than 30,000 posts ... you'd be dead wrong.


Uhhh... duh...  Of course, that's what I thought... ...

... Dude, bottom line, while I suppose that it is not worth it for this forum to maintain posts for time immemorial or even just a long time (I do think from a knowledgebase perspective history and keeping records would seem to be important, but I don't know the behind-the-scenes situation like as regards, say, disk-space), contrary to your pontification, what is worth keeping and not worth keeping is contingent on the makeup and circumstances of a given forum.

Captain John wrote on Dec 29th, 2008 at 10:33am:
The Search in YaBB only goes back one year...


That's simply not true, man, at least not for my "oldie, but a goodie" forum. Smiley I can search back to the origins of time. ... And, just an FYI, I can't decipher what you immediately followed that with. ...

Captain John wrote on Dec 29th, 2008 at 10:33am:
... (failed) to upgrade in 4 plus years or more, ignoring needed fixes.


Dude, not to nitpick, but think that back through...  Is there not an implicit contradiction there? ... ... Smiley
 
Captain John wrote on Dec 29th, 2008 at 10:33am:
StegRock wrote on Dec 28th, 2008 at 9:56pm:
bastard children
who are too lazy, to inept, to upgrade in 4 plus years or more, ignoring needed fixes. features that have been made to the software.


I am sincerely sorry ... if I offended your sensibilities with my choice of words, but, please, walk a mile in someone's moccasins before you go takin' that tack. ... Not all of us are very computer savvy, no less "professional" web developers, and, in any event, this is a HOBBY for many, if not most, of us.  Moreover, your comment about not upgrading in four-plus years is tendentious:  once you've missed even just one of these upgrades, no less a couple, you're behind the eight-ball, and things become exponentially more difficult.  Furthermore, an upgrade to a version "you guys" (assuming you speak officially for YaBB) would like (not that I have days on end to untie and retie all these knots that doing so would require), from what I understand, would require my forum to be totally reset, memberships, boards, threads, everything, something that is not even entertainable for me.  For the kind of content posted on my site, history and keeping records, I think, is important.  But, in any event, let me wrap this up so I don't waste any more time on a post that is necessarily destined for oblivion,... and as I hear my two-month-old crying in the background, likely needing a diaper change. ... ...
Back to top
« Last Edit: Dec 30th, 2008 at 2:56am by StegRock »  

If you have the time, drop on by http://www.fantasyfootballer.com and http://www.theenglishmaster.com and say, "Hi!"
WWW  
IP Logged
 
Pages: 1 2 
Print
Project Sponsors:
XIMinc