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: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (36 votes - 4.92 average) Installs: 272
Released: 04 May 2013 Last Update: 09 May 2013 Downloads: 937
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:	1322
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.
  #196  
Old 06 Nov 2014, 12:53
addamroy addamroy is offline
 
Join Date: Sep 2010
The "email activation codes" option does not work with this mod enabled.

Specifically, if you try to 'email activation codes' via a user's profile, it redirects to the standard register.php page which becomes a 404.

Can you fix this please?
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #197  
Old 08 Nov 2014, 12:45
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Hello,

It should work, if not something else is interfering. I'm afraid it can't be fixed- I had to use a lot of tricks to get that to work at all.

What you could do as a work around is make a copy of register.php, put it where it is supposed to be, but in your .htaccess file deny anyone from loading the page except for your ip address.

Create (or add to) an .htaccess file:


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

Replace the red IP address with your own IP address.

Obviously the above is for Apache servers only. If on IIS or something else you'll need to figure out how to translate that to your own server, I'm sorry I have no idea how.
__________________
-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
  #198  
Old 16 Dec 2014, 22:12
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Real name: Marc
Originally Posted by heyzeus909 View Post
Sorry if this is a repeat, but the Tapatalk stuff earlier in the thread confused me - which is easy to do. I just wanted to confirm that it's probably a good idea for owners of Tapatalk enabled forums to take go to AdminCP > Settings > Options > Tapatalk Options > Register page url: *change_to_renamed*.php

Thank you for your work.
This might be good info to include in the first post =)

I just installed this mod (thanks BoP5!) and renamed my register.php to something without the word register in it and within a couple minutes bots are still hammering my register.php, I have about 3-5 on that page at all times. Is there anything else I can do to stop them from getting through?
__________________
TBMOTORING - Thunder Bay Automotive Enthusiast Club
http://tbmotoring.com
Reply With Quote
  #199  
Old 16 Dec 2014, 22:18
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Block those IPs using htaccess ...
Reply With Quote
  #200  
Old 16 Dec 2014, 23:15
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Did you follow all the instructions and change everything?
__________________
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
  #201  
Old 17 Dec 2014, 06:40
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Real name: Marc
Originally Posted by CAG CheechDogg View Post
Block those IPs using htaccess ...
The IPs are always changing so it would be a lot of work to keep adding them. Usually always from .eu or .ru IPs. I could block all IPs coming from there but that would not be ideal.

Originally Posted by ozzy47 View Post
Did you follow all the instructions and change everything?
I followed them to a T.

- Renamed register.php to something unique and not with register in the name.
- Changed the two phrases as instructed.
- Edited my Tapatalk setting to reflect the new name.
- Even changed up my notification encouraging registration that displays for guests to reflect the new unique register.php name and removed the reference to register opting to hyperlink a different word.

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

There are still bots always on my new register.php, unfortunately. I have new registrations temporarily closed until I can get this resolved as they were getting through my Human Verification questions (which are pretty hard/unique and don't contain the answer in the question).

I'm thinking next step would be to re-open registrations but try the New reCAPTCHA if it's a better deterrent then Questions? Or try GlowHost Spam-O-Matic.
__________________
TBMOTORING - Thunder Bay Automotive Enthusiast Club
http://tbmotoring.com
Reply With Quote
  #202  
Old 17 Dec 2014, 11:26
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Nope, read this thread, and do as I suggest there, The era of Big Spam is over.

There is a couple of bot/spiders lists in that thread, make sure to use them in the respective mods.
__________________
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.

Last edited by ozzy47; 17 Dec 2014 at 12:04.
Reply With Quote
  #203  
Old 20 Dec 2014, 22:39
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Installed and working fine

Thanks
Reply With Quote
  #204  
Old 20 Dec 2014, 22:52
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Yeah this mod will work pretty good. In about 8 months, I have blocked 12,911 attempts with this mod.
__________________
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
  #205  
Old 21 Dec 2014, 02:54
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
I love this Mod myself ...I was getting hit "HARD" before I installed this, now I honestly don't get hit at all ...maybe 3 times in the last year lol ...no lie!!!
Reply With Quote
  #206  
Old 21 Dec 2014, 03:11
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Yeah the mod is awesome, the count I posted earlier is just auto boys that are coded to go to a site and try and access register.php

I just have that file with some code in it to update the db when someone tries to access the original file.
__________________
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
  #207  
Old 21 Dec 2014, 03:14
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Nice Ozzy..and just a tip for you guys who are planning on using this mod....DO NOT use the words register, sign up, new account, account to rename your new register.php...use something that is almost like a password .... the words register, signup, newaccount or anything similar will attract the spammers and bots ...
Reply With Quote
  #208  
Old 21 Dec 2014, 03:21
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Yeah it can not contain any deretive of the word register, as well as the phrases can not contain the same.
__________________
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
  #209  
Old 21 Dec 2014, 04:05
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
You saw what I named my new register.php lol ..no one would ever think of that right? lol ... I got a "WIENER" !!!! LOL
Reply With Quote
  #210  
Old 21 Dec 2014, 10:14
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
I don't think anyone will guess it.
__________________
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
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 22:15.

Layout Options | Width: Wide Color: