vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Rename register.php by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=297834)

djbaxter 05-13-2013 07:59 PM

There are other phrases, for example in the Registration FAQ entry, that contain links to register.php that will need to have the anchor text changed. They also link to the newly named register.php after installing this mod.

Do a search for phrases containing the word "Register".

Speedy131 05-14-2013 03:46 PM

I first renamed it to registerforfree.php ... saw no decrease in "fake" registration attempts (about 200 a day)
Then indeed figured still having "register" in the filename may no be the smartest thing to do so I changed it to something else, but still no sign of a decrease in registration attempts.

Perhaps leaving a fake register.php on the server may also help ... those bots might be set up to only look for a registration url if what it considers default returns a 404

Gonna try that first, and if that fails I'll be editing the phrases as suggested.

David Copeland 05-15-2013 12:30 PM

We were getting hammered by China recently, eating up our server resources - even though we have all new registrations go into Moderation. The bots figured out what the answer was to our verification question. Once we changed the question and answer, all the bots stopped. We will continue to monitor the server for a while to see if they return - and if so, we will look at using this mod.

Thanks,

David

SaN-DeeP 06-04-2013 09:47 AM

One of the best modifications, we required to stop SPAMMERS who are hammering register.php page.
Thanks BirdOPrey5

FYI - I had to manually change 5 more language phrases and 5 more places in my style to make this work on 3.x

BirdOPrey5 06-04-2013 11:21 AM

Quote:

Originally Posted by SaN-DeeP (Post 2425727)

FYI - I had to manually change 5 more language phrases and 5 more places in my style to make this work on 3.x

If the phrases weren't email phrases the mod itself would normally take care of those changes without needing to manually edit the phrases. That is to say- I know register.php appears in a number of phrases/templates but they don't need to be changed.

Do you remember any of the 5 other places?

SaN-DeeP 06-04-2013 11:49 AM

We installed this modification properly, but within few minutes those spammers have started hammering the new renamed register.php
Makes no difference..

Am i missing something ?

BirdOPrey5 06-04-2013 12:13 PM

Then your spammers are either human or following links.

A couple of things-
1) Make sure register isn't in the new file name. make it just some random letters.

2) It has been suggested editing phrases with the word "Register" in it and change it to something else, perhaps an image of the word register instead- but again don't use the word in the file name.

Christos Teriakis 06-04-2013 05:20 PM

Gland to know that my idea to rename register.php as anti-spam protection, became a mod after 3 1/2 years of my post (Jan 9th, 2010):
https://vborg.vbsupport.ru/showthread.php?t=232624

Edited: If you want to extend it a bit to become 100% anti-robot safe, add the following code in the registration form:
Code:

<input type="checkbox" id="malakas" name="malakas" value="1" style="display:none;">
and this code to php file (after form submission):
Code:

if ($vbulletin->input->clean_gpc('r', 'malakas', TYPE_UINT) == 1)
{
  header('location:http://www.disney.com');
}

Bots used to read the page code and fill all fields. Non human can use this as it's hidden. So if this field gets value, means that it's a bot and he will be redirect to ...Disney.com

I'm using it for years and works 100% (always talking for bots).

BirdOPrey5 06-04-2013 09:57 PM

Interesting stuff- never saw that thread before- or didn't recall it if I did. This came about I was talking with other vb support personnel and we had a ticket of someone complaining of having to delete register.php to stop some sort of "bot attack."

I know I had looked into renaming register.php several times over the years but the sheer number of replacements needed always put me off. Finally it clicked to basically use a replacement variable- and more or less that is what the mod does. But it does do a few more complex matches so that if someone links to some other site's register.php page or just types register.php in a post it does not get changed- which it would in a pure replacement variable scenario.

Finally I had to add some magic for links to work in the admincp as replacement vars don't work in the admin cp.

djbaxter 06-09-2013 01:53 AM

Bug in this add-on:

Clicking "Email Activation Codes" from the user panel in the AdminCP does not send the codes and does not give an error message. It just loads the smilies page.


All times are GMT. The time now is 10:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01171 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete