Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Is Bot: Registration Time Check Details »»
Is Bot: Registration Time Check
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 3.6.8 Rating:
Released: 12-29-2006 Last Update: Never Installs: 735
Uses Plugins Template Edits
 
No support by the author.

This mod calculates the time it takes to go between these two pages:
  • /forum/register.php?do=register
  • /forum/register.php?do=addmember
The point is to try and prevent bots from registering at your forum when the time between the two pages is humanly impossible, assuming that humans actually take the time to complete the registration page.

Should a user be blocked from registering at your forum, an email will be sent to your vB webmasteremail address and the user will see the vB noregister phrase message, so no screenshot is necessary.

Download Now

File Type: zip isbot.zip (1.7 KB, 4054 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 07-03-2008, 08:05 AM
Pottsy Pottsy is offline
 
Join Date: Sep 2006
Location: UK
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Yes, it does, although it has stopped working on my site for some reason. I haven't gotten an email for this hack for over 2 months and I know the bots are still trying.
Did you remember the manual template edit? I forgot mine after a mass revert when upgrading to 3.7
Reply With Quote
  #233  
Old 07-04-2008, 04:36 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a lot of bots that are registering with a location of "1" so I want to add a simple line of code to the Is Bot plugin for "register_addmember_process" that will check the location and if it says "1" I wanted them blocked.

So, here is the code:

Find:

PHP Code:
$vbulletin->input->clean_array_gpc('p', array(
    
'isbot_time1' => TYPE_UINT
)); 
AFTER ADD:

PHP Code:
if ($vbulletin->GPC['userfield']["field2"] == 1)
{
eval(
standard_error(fetch_error('noregister')));

EDIT: OK, I confused someone on my own site by what was posted here. What you need to edit is the PLUGIN code as follows:

AdminCP >> Plugins & Products >> Plugin Manager >> Product : Is Bot

Then, edit the plugin for "Is Bot" attached to the "register_addmember_process" plugin

Easy as pie!
Reply With Quote
  #234  
Old 07-08-2008, 11:08 AM
Lee G Lee G is offline
 
Join Date: Jun 2006
Location: Costa Blanca
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That guys a trouble maker over at your site Quaterbore.
Name him and shame him

Thanks for making the extra bits clear

And this hack works well with 3.7.2 pl1 :up:

Stopping about 20+ spam bots a day
Reply With Quote
  #235  
Old 07-15-2008, 12:49 PM
makaiguy's Avatar
makaiguy makaiguy is offline
 
Join Date: May 2004
Location: Aiken, SC, USA
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Clicking "Installed" ...]

Have had this in place for a while and was receiving no emails, although the number of spammer registrations definitely appeared to be reduced -- thanks to a recent post I realized I had not made the required template modification.
Reply With Quote
  #236  
Old 07-15-2008, 01:49 PM
makaiguy's Avatar
makaiguy makaiguy is offline
 
Join Date: May 2004
Location: Aiken, SC, USA
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's been about an hour since enabling the notification emails and I've received 8 notices. This is more spammers than I would typically have had register in a whole day before installing Isbot. Could the bots be detecting the registration failure and resubmitting rather than moving on?

What happens if the "no register" error notice is not displayed? Would the regs still be blocked?
Reply With Quote
  #237  
Old 07-15-2008, 02:34 PM
makaiguy's Avatar
makaiguy makaiguy is offline
 
Join Date: May 2004
Location: Aiken, SC, USA
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I note that MOST of these blocks would already have been caught by my prohibition of accepting registrations from a handful of spammer email domains (notably mail.ru and @gawab.com). Is there a different hook that could be used that would only come into play AFTER the registratrion has passed through vB's own registration checks? It might cut down on the number of emails considerably.
Reply With Quote
  #238  
Old 07-24-2008, 02:49 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've already posted the fact that I installed this mod on our v3.67pl1 system, but I wanted to reiterate my appreciation to the author....

It's incredible how much time this mod saves me from what I had to do before, in order to try and keep "bots" and spammers out of our system. It seemed like I was spending hours every day, just trying to add IP's and email addresses to the "banned" lists, but they kept coming.

Now, I get dozens of emails every day, showing how many of these "bots" got stopped and the stress of running the system is way lower...

Thanks calorie... :up:

If I could give you a hug, I would ... but, it doesn't mean we're going steady ...

Regards,
Badger
Reply With Quote
  #239  
Old 08-12-2008, 02:41 AM
gfxhelp.com gfxhelp.com is offline
 
Join Date: Aug 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works, but when it's under the set time I get..

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.domain.com:25 (Connection refused) in [path]/includes/class_mail.php on line 604

Although it does work and gives the registration disabled message. Anyone else get this or is it just me?
Reply With Quote
  #240  
Old 08-12-2008, 06:44 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this has been asked but is it possible to modify this so the IP address is included in the email? I would like to add the IP addresses of the spambots to my .htaccess file to block them completely.
Reply With Quote
  #241  
Old 08-13-2008, 04:32 AM
NeitherSparky's Avatar
NeitherSparky NeitherSparky is offline
 
Join Date: Aug 2006
Location: Sacramento, CA
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tommykjensen View Post
I don't know if this has been asked but is it possible to modify this so the IP address is included in the email? I would like to add the IP addresses of the spambots to my .htaccess file to block them completely.
The original post with this info ought to be linked to in the body of the thread...but it isn't so:

To include the IP in the email.

Go to the Plugin Manager in your AdminCP
Click edit for "register_addmember_process" under Is Bot product

Find:

Code:
$isbot_email = htmlspecialchars_uni($vbulletin->GPC['email']);
Below it add:

Code:
$isbot_ipaddy = IPADDRESS;
next find:

Code:
. ' (' . $isbot_timediff . ' ' . $vbphrase['isbot_seconds_transpired'] . ')';
REPLACE it with:

Code:
. '  (' . $isbot_timediff . ' ' . $vbphrase['isbot_seconds_transpired'] . ')'
. '  The IP Address is: ' . $isbot_ipaddy ;
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05726 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete