Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Rename register.php by BOP5 Details »
Rename register.php by BOP5
Mod Version: 1.1.5, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (36 votes - 4.92 average) Installs: 271
Released: 04 May 2013 Last Update: 09 May 2013 Downloads: 932
Supported Uses Plugins Code Changes  

Brought to you by BirdOPrey5 / Qapla.com

It's great when you stop spam bots during registration but this mod gives you a chance to stop them BEFORE they even attempt to register.

I have received multiple reports from people who say their "register.php" was getting hammered with spam requests- so much so it was like a denial of service attack. Even if they disabled registration they would waste so much resources their site was slow or worse- had to be taken offline.

What this mod does is allow you to rename the register.php file- my theory is many of the vBulletin spamming bots are hard coded to look for register.php. Using a unique name will throw them off, at least for a while.

To manually change the name of register.php would have meant dozens, maybe hundreds of manual edits to files and templates previously.

This mod makes it as simple as possible. At worst you will need to edit 2 phrases and 1 file, and some people don't need to edit anything at all.

Compatible with VB 3.8.x (and 3.7, and 3.6 probably too) and all VB 4.x.x versions.

Basic Instructions
1) Import XML File
2) Go to mod settings in Admin CP
3) Rename your register.php file via FTP or some other means- make it a unique value but only use basic letters, numbers, underscores, or hyphens. Something like "joeregister999.php"
4) In the mod settings, set the value of register.php to the new file name you chose.
5) If you require email verification during registration follow the next setting in the Admin CP and edit the phrases listed (activateaccount and activateaccount_chnage phrases in Email Body)
6) Finally, if you use Facebook Connect on your forum make the manual file edit of class_bootstrap.php as instructed.

Now enjoy your new filename for register.php, I hope it reduces server load and spam in general.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it!

----

Note- if having problems sending activation codes or other Admin CP related activities use the solution in post #197.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	bop5_rr_settings.jpg
Views:	1320
Size:	78.2 KB
ID:	144820  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #211  
Old 11 Jan 2015, 22:51
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Noticed a error within the mod. If you leave the New File Name For register.php setting blank, to disable the mod, you get a bunch of these errors on the online.php page.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #212  
Old 11 Jan 2015, 23:13
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by ozzy47 View Post
Noticed a error within the mod. If you leave the New File Name For register.php setting blank, to disable the mod, you get a bunch of these errors on the online.php page.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thanks.

In the mean time users should either disable the mod via the Product Manager or if you want go to Plugin Manager, edit the Location Fix plugin.

Erase everything that is there and paste this in its place:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Will make the change in the next update.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #213  
Old 11 Jan 2015, 23:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Good stuff Joe, works just fine now. Thanks for the quick update.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #214  
Old 12 Jan 2015, 06:44
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
So is that the (patched) code or just a (for now) fix? ...
Reply With Quote
  #215  
Old 12 Jan 2015, 10:23
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
You need to manually make the changes for now, the product is not updated.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #216  
Old 12 Jan 2015, 13:53
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Ok good stuff ... thanks ozzy ...
Reply With Quote
  #217  
Old 12 Jan 2015, 23:29
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Not a problem.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #218  
Old 02 May 2015, 14:24
Cla75 Cla75 is offline
 
Join Date: Aug 2009
Ciao BirdOPrey5

When I change the two instances in class_bootstrap.php the forum does not charge the index.
Returning to the original class_bootstrap.php everything works with vb 4.2.1
Obviously I also renamed the file register.php.

What am I doing wrong?
I followed your guide "Rename register.php by BOP5 Readme.txt" three times, but the same problem

Thanks
Reply With Quote
  #219  
Old 02 May 2015, 15:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The file changes are only required for Facebook Connect to work correctly- it doesn't change any index- can you explain what you mean by changing an index?

Installing the mod and enabling it is what changes the register.php link in the forum code, and a few phrase edits to change the URL in emails.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #220  
Old 12 Feb 2019, 14:15
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Well, nuts I thought this would get the Spam bots off my server for at least a little while. They found the new registration page in a matter of hours.

I used a very random URL and they still found it. Someone must have gotten it manually.

So Im using Spam-O-Matic and that catches nearly all these ******. I rarely get a spam post so that's good. I'm just trying to get the bots off my server.

Any ideas? They hit the registration page every few seconds.
__________________
ScaleMotorcars.com Large scale model building at its best. Check it out.
Reply With Quote
  #221  
Old 12 Feb 2019, 14:26
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Are you certain you deleted (or renamed) register.php and didn't make a copy of it under a new name? If register.php still exists it will work even if you aslo have a page like dshsah23h2.php to register on.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #222  
Old 12 Feb 2019, 14:28
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You may want to disable registration completely and use my "Really Fast Registration" mod in its place, that will be a significant change for the spam bots to overcome. Only downside is registration needs to be very basic, no custom questions.

https://www.vbulletin.org/forum/showthread.php?t=301283
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #223  
Old 12 Feb 2019, 14:42
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Wow, thanks for the fast response.

Im sure its changed. I used a password generator with numbers, letters, uppercase, and lowercase to get about a 14 character random URL then renamed the old one via FTP. Register.php just 404's now.

Do you think there is any chance the cache in the spambot is till allowing it access? Long shot but maybe.

As for the quick registration, I'm concerned it will not work with my spam plugin. Like I said it catches 99.9 of the bots. All I'm trying to accomplish now is to get the bots off the server. Hitting it every few seconds is really adding to my load.
__________________
ScaleMotorcars.com Large scale model building at its best. Check it out.
Reply With Quote
  #224  
Old 12 Feb 2019, 17:51
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I don't know... Is there at least a temporary delay when you rename the registration page before the spam registrations start again? If not I wonder if it is possible there is a backdoor on your forum being exploited for registrations. One way to check would be to turn off registrations for a bit and confirm no new people register.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #225  
Old 12 Feb 2019, 19:13
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Originally Posted by BirdOPrey5 View Post
I don't know... Is there at least a temporary delay when you rename the registration page before the spam registrations start again? If not I wonder if it is possible there is a backdoor on your forum being exploited for registrations. One way to check would be to turn off registrations for a bit and confirm no new people register.

It was about a 4 hour delay but that's a good ideal I'm going to try turning it off the rest of today and see what happens.

I'll post back.
__________________
ScaleMotorcars.com Large scale model building at its best. Check it out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:13.

Layout Options | Width: Wide Color: