Reply to topic  [ 7 posts ] 
php note 
Author Message
User avatar

Joined: Tue Feb 20, 2007 9:19 pm
Posts: 267
Location: LINUX
I was reading up how how to deal with the spamming bots, and came across this.

After cleaning out another round of spam registrations from our forums, I decided to make a subtle change to the worst-hit boards to screw up the "registration bots" used for this. In some cases, you can not take advantage of v2.0.11's "visual confirmation", which also stops the bots, but this should work.

It is a simple fix, but I will not post it as a regular MOD, because customization is the key here. The RegBots work by going directly to the submission of the form information, bypassing the various agreement screens by simply setting "agreed=true". Fortunately, web form variables are CasE-sEnsiTivE, so simply changing the all-lower-case name "agreed" to mixed-case will still allow manual registrations to work, but will simply present a bot's request with the COPPA form, and not make any entries into your users table.

The affected files are:

admin/admin_users.php
includes/usercp_avatar.php
includes/usercp_register.php

With a text editor, search for "agreed", and replace it with your own choice of mixed case, or even something like "IAmInAgreement". As long as all references to this variable are identical, registration and profile changes work as before... except for those trying to bypass the system.


Sat Apr 14, 2007 10:35 am
Profile

Joined: Mon Feb 19, 2007 3:25 pm
Posts: 483
Location: socal
Post 
Cool. Pretty simple, but will it be used? That is the question.


Sat Apr 14, 2007 2:56 pm
Profile
Attention Whore! Look at meeeeeeeeee!
Attention Whore! Look at meeeeeeeeee!

Joined: Fri Feb 23, 2007 5:23 pm
Posts: 230
Location: Irvine, CA
Post 
or change it to turdrockets=true


Sat Apr 14, 2007 7:08 pm
Profile
User avatar

Joined: Tue Feb 20, 2007 9:35 pm
Posts: 522
Post 
BeowulfOA wrote:
or change it to turdrockets=true

that would require access to the code of the bots being used


Sat Apr 14, 2007 9:06 pm
Profile
User avatar

Joined: Mon Feb 19, 2007 8:51 pm
Posts: 1011
Location: Texas
Post 
I remember the old boards where we didn't have to deal with man eating porno robots :(


Sun Apr 15, 2007 4:46 am
Profile

Joined: Tue Feb 20, 2007 10:22 am
Posts: 132
Post 
Quote:
I remember the old boards


...

Who doesn't?

_________________
Oy with the poodles already!


Sun Apr 15, 2007 6:21 am
Profile
User avatar

Joined: Mon Feb 19, 2007 8:51 pm
Posts: 1011
Location: Texas
Post 
why did you not quote man eating porno robots. That was the best part.


Sun Apr 15, 2007 12:55 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.