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
  #132  
Old 11-13-2007, 04:46 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this mod seems pretty dead, and I doubt the dev would add this to the actual product, but I thought it was important to show the IP.

Change register_addmember_process to:

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

if (
$vbulletin->GPC['username'] && $vbulletin->GPC['email'])
{
    
$isbot_time1 $vbulletin->GPC['isbot_time1'];
    
$isbot_time2 TIMENOW;
    
$isbot_timediff intval($isbot_time2 $isbot_time1);

    if (
$isbot_timediff <= 15// difference in seconds
    
{
        
$isbot_username htmlspecialchars_uni($vbulletin->GPC['username']);
        
$isbot_email htmlspecialchars_uni($vbulletin->GPC['email']);

        
$isbot_subject $vbphrase['isbot_user_blocked_from_registering'];
        
$isbot_message $vbphrase['isbot_the_following_name_email_blocked']
            . 
': ' $isbot_username ' - ' $isbot_email
            
' (' $isbot_timediff ' ' $vbphrase['isbot_seconds_transpired'] . ')';
        
$isbot_message .= "\n\r\n\rAttempt was made from: "IPADDRESS ."";

        
vbmail($vbulletin->options['webmasteremail'], $isbot_subject$isbot_messagetrue);

        eval(
standard_error(fetch_error('noregister')));
    }

I think it helps decide whether or not I should just give in and ban a certain IP range.. my forum isn't exactly international so it really doesn't matter to me. I also think the IP in combination with the other things in the email will help you decide if it's a bot or if it's legit, since the problem I described in the post above can possibly lead to a lot of false positives.
Reply With Quote
  #133  
Old 11-15-2007, 11:35 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow sounds like just what I need!! thanks (don't know how I missed this!)
Reply With Quote
  #134  
Old 11-15-2007, 03:27 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are three (3) register templates with the phrase:

<input type="hidden" name="url" value="$url" />

Which is the correct one to add th new text line after?

Thanks ...

Regards,
Badger

Edit: Ignore question. As a test, I added it to the template called "register" only and it must have worked, as after about an hour, I got this:

Quote:
The following user name with email address was blocked by the Is Bot mod: mubssnono - jastyfestap@mail.ru (2 seconds transpired)
I have the setting at 5 seconds. Is that about right based upon what I've been reading here?
Reply With Quote
  #135  
Old 11-15-2007, 05:17 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i edit..when i click on on the xml it shows all the codes but i cant edit them
Reply With Quote
  #136  
Old 11-15-2007, 05:22 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do i exactly put this sorry not sure where to put please guide:

Change register_addmember_process to:

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

if ($vbulletin->GPC['username'] && $vbulletin->GPC['email'])
{
$isbot_time1 = $vbulletin->GPC['isbot_time1'];
$isbot_time2 = TIMENOW;
$isbot_timediff = intval($isbot_time2 - $isbot_time1);

if ($isbot_timediff <= 15) // difference in seconds
{
$isbot_username = htmlspecialchars_uni($vbulletin->GPC['username']);
$isbot_email = htmlspecialchars_uni($vbulletin->GPC['email']);

$isbot_subject = $vbphrase['isbot_user_blocked_from_registering'];
$isbot_message = $vbphrase['isbot_the_following_name_email_blocked']
. ': ' . $isbot_username . ' - ' . $isbot_email
. ' (' . $isbot_timediff . ' ' . $vbphrase['isbot_seconds_transpired'] . ')';
$isbot_message .= "\n\r\n\rAttempt was made from: ". IPADDRESS ."";

vbmail($vbulletin->options['webmasteremail'], $isbot_subject, $isbot_message, true);

eval(standard_error(fetch_error('noregister')));
}
}
Reply With Quote
  #137  
Old 11-15-2007, 05:25 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
Well, this mod seems pretty dead, and I doubt the dev would add this to the actual product, but I thought it was important to show the IP.

Change register_addmember_process to:
Thanks ... :up:

I made that change completely replacing existing plugin code with yours....

Regards,
Badger
Reply With Quote
  #138  
Old 11-15-2007, 09:32 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mystic, You edit the plugin after it's been installed. Go to the Plugin Manager.

Badger, 5 seconds is extremely low. I constantly have bots taking up to 14 seconds (I have it set at 15), and my other hacks catch the rest that take over 15 seconds.
Reply With Quote
  #139  
Old 11-15-2007, 09:53 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
Mystic, You edit the plugin after it's been installed. Go to the Plugin Manager.

Badger, 5 seconds is extremely low. I constantly have bots taking up to 14 seconds (I have it set at 15), and my other hacks catch the rest that take over 15 seconds.
Roger that ... :up:

I'll raise it to 15 seconds....

BTW, what other hacks to you use to catch the rest?

Thanks ..

Regards,
Badger
Reply With Quote
  #140  
Old 11-16-2007, 04:23 AM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks milkcarton very kind of you to reply
Reply With Quote
  #141  
Old 11-16-2007, 04:48 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by webgod View Post
if there's enough interest, I could modify it so the IP is added to the Ban IP list
That would be great to auto ban both IP and email address. Because they keep on trying over and over. I've got mine set at 5 seconds. The way those bots seem to work, they try first, then they retry with a delay. If they get banned the first time, then all would be good.
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 12:12 AM.


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.05858 seconds
  • Memory Usage 2,352KB
  • 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
  • (1)bbcode_php
  • (4)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