![]() |
|
Mod Options |
![]() |
|||||||||||
Rename register.php by BOP5
![]() Developer Last Online: Apr 2021 ![]() ![]() ![]()
![]() 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 Show Your Support
The following members like this post: john7911, oneill, rodriiverduguez, seb5594, da_judge and 19 others.
|
#226
|
||||
|
||||
So far no new attempts to register when New Registration is turned off so I guess that's good news.
Is there a way to hide/spoof the url that's displayed for this? A URL rewrite so they can't just copy what's displayed in the browser and plug in the new URL into the bot. No members have liked this post.
|
#227
|
||||
|
||||
I just wanted to add that this mod is helping allot actually. I was being hit with spambots every few seconds all day every day trying to register. So far after a few days Im down to about 100 a day. That's a big change, thanks.
Still, it would be nice to be able to hide the URL somehow. I'm sure it can be done but I'm no wiz with htaccess so maybe someone would be willing to take up the challenge. No members have liked this post.
|
#228
|
||||
|
||||
I can't think of anyway to hide a URL that it would still work.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#229
|
||||
|
||||
You might want to try blocking bots by user agent at the server level.
No members have liked this post.
|
#230
|
||||
|
||||
Originally Posted by Scalemotorcars
Here is an example on how you can achieve this:![]()
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.16 :: MariaDB 10.5.8 :: UTF8MB4 No members have liked this post.
|
#231
|
|||
|
|||
if its chinese spam bots stick this in your .htaccess file...
Chinese Spammers RewriteCond %{HTTP_USER_AGENT} ^.*(Mb2345Browser|LieBaoFast|zh-CN|MicroMessenger|zh_CN|Kinza|Bytespider|Baiduspider|Sogou).*$ [NC] RewriteRule .* – [F,L] No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:04.