vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Registration Floodcheck (https://vborg.vbsupport.ru/showthread.php?t=50541)

filburt1 03-20-2003 10:00 PM

Registration Floodcheck
 
This hack will automatically shut down the registration system and e-mail you if it detects that a bot is flood registering. The number of registrations per minute that the system will consider as flooding can be changed from the admin CP.

This hack was designed for 2.3.0 but will intelligently decide between using vbmail() (2.3.0) or mail() (<2.3.0) so it should work with older versions as well.

filburt1 03-20-2003 11:30 PM

Admin CP options:

filburt1 03-20-2003 11:30 PM

What a user sees after flooding:

Boofo 03-20-2003 11:43 PM

Good idea. Keep 'em coming. ;)

filburt1 03-20-2003 11:44 PM

Side notes:
1. My installation script is so cool, only takes me seconds to edit it and it will work for other hacks
2. WDF's standarderror is the coolest thing ever :D

Boofo 03-21-2003 12:23 AM

Does this check for registrations from the same user or system-wide? If you have a busy board and a bunch of people try to register at the same time, what will happen? Would it be better to have the option allow so many minutes between registration? Sorry, if I sound confused here, but I am. It must be that hellacious standarderror of yours. ;)

filburt1 03-21-2003 12:32 AM

System-wide (it compares the joindates from the user table). It's extremely unlikely though that you're get a registration every 12 seconds which is what the default setting is unless you get slashdotted in which case your site would probably be mindnumbingly slow.

Boofo 03-21-2003 12:47 AM

Ok, I see. What would be a good number to set it at? The default or would 1 be better?

And we replace all instances of the code for the reg error? I had 4 of them.

filburt1 03-21-2003 12:49 AM

1 would mean only one registration per minute. Whatever floats your boat.

filburt1 03-21-2003 12:51 AM

Quote:

Today at 09:47 PM Boofo said this in Post #8
And we replace all instances of the code for the reg error? I had 4 of them.
Yes. Good eye, editing the instructions, although there are only two occurances in my otherwise unhacked 2.3.0.

Boofo 03-21-2003 01:09 AM

I have PPN's check user name upon registration hack (or whatever it's officially called) installed. That's where the other 2 came from. So the default 5 would probably be the best way to go then, right? What do you have yours set at?

filburt1 03-21-2003 01:11 AM

I haven't installed hacks on WDF and won't until 2.3.0 final comes out. Even HelperBot isn't back yet because we got killed when I upgraded from 2.2.9 to 2.3.0 RC1 with the whole porn spammer incident.

Boofo 03-21-2003 01:13 AM

I must have missed hearing about that. Sorry to hear it.

Ok, I'll leave it at 5 for now and see how that goes. Thanks for the hack. ;)

filburt1 03-21-2003 01:16 AM

Quote:

Today at 10:13 PM Boofo said this in Post #13
I must have missed hearing about that. Sorry to hear it.

Ok, I'll leave it at 5 for now and see how that goes. Thanks for the hack. ;)


My board never got hit, but 2.2.9 had a hole which allowed the bot to operate so I preemptively upgraded.

Boofo 03-21-2003 01:19 AM

You wouldn't have an idea of where the hole was or how to fix it, would you, by chance?

filburt1 03-21-2003 01:21 AM

Somewhere in register.php where the e-mail address wasn't trimmed.

Boofo 03-21-2003 01:24 AM

I think that was the one line fix that Logician came up with, IIRR. I did that one a while back. Thanks!

sabret00the 03-21-2003 10:37 AM

very awesome, should help me with fools who just flood the registrations process for nothing

Giorgioggwt 06-22-2003 01:57 PM

Tnx installed.
I had a very simpatic banned member that registered 200 times nicks like 0903904 03940343 0394 4 ecc, now, with this hack, is quite ;)


All times are GMT. The time now is 07:04 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.01217 seconds
  • Memory Usage 1,743KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete