Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2013, 09:03 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Please help with spam accounts

I'm getting a lot of spam accounts up to 30 a day. I have been deleting these and I recently turned off new members so no one could join. I left it for over 2 weeks and I just turned it back on and had 11 new members within 15 minutes all fake, spam accounts.
Is there any way to help control or stop these ?
Reply With Quote
  #2  
Old 01-13-2013, 01:11 PM
Mko's Avatar
Mko Mko is offline
 
Join Date: May 2009
Location: East Coast, USA
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I normally have two pretty effective methods to stop spammers.
#1. reCAPTCHA. Go to http://www.google.com/recaptcha and register to get a Public and Private key. Then, in a new tab/window, open up your Forum's Admin Control Panel and go to vBulletin Options -> Human Verification Manager.
Select the 'reCAPTCHA' button and hit save. After doing so, the page will refresh, and you'll see the reCAPTCHA options. Paste the corresponding public/private keys into the fields then select the color of the reCAPTCHA. Then, you're all done.

ONLY DO THIS STEP IF YOUR FORUM USES HTTPS:
However, if you use https:// for your Forums, you'll need to do some template editing. Under the Human Verification Template group, you'll see the template called 'humanverify_recaptcha'.
Replace the contents of it (shown below):
HTML Code:
<fieldset class="fieldset">
    <legend>$vbphrase[image_verification]</legend>
    <input id="hash" type="hidden" name="${var_prefix}[hash]" value="$humanverify[hash]" />
    <script type="text/javascript">
        var RecaptchaOptions = {
            theme : '$humanverify[theme]'
            <if condition="$humanverify['langcode']">,lang : '$humanverify[langcode]'</if>
        };
    </script>
    <div dir="ltr">
    <if condition="$show['recaptcha_ssl']">
        <script type="text/javascript" src="https://api-secure.recaptcha.net/challenge?k=$humanverify[publickey]">
    <else />
        <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=$humanverify[publickey]">
    </if>
    </script>
    </div>

    <noscript>
        <if condition="$show['recaptcha_ssl']">
            <iframe src="https://api-secure.recaptcha.net/noscript?k=$humanverify[publickey]" height="300" width="400" frameborder="0"></iframe>
        <else />
            <iframe src="http://api.recaptcha.net/noscript?k=$humanverify[publickey]" height="300" width="400" frameborder="0"></iframe>
      </if>
       <br />
       <textarea name="recaptcha_challenge_field" rows="3" cols="40">
       </textarea>
       <input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
    </noscript>
</fieldset>
with:
HTML Code:
<fieldset class="fieldset">
    <legend>$vbphrase[image_verification]</legend>
    <input id="hash" type="hidden" name="${var_prefix}[hash]" value="$humanverify[hash]" />
    <script type="text/javascript">
        var RecaptchaOptions = {
            theme : '$humanverify[theme]'
            <if condition="$humanverify['langcode']">,lang : '$humanverify[langcode]'</if>
        };
    </script>
    <div dir="ltr">
    <if condition="$show['recaptcha_ssl']">
        <script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=$humanverify[publickey]">
    <else />
        <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=$humanverify[publickey]">
    </if>
    </script>
    </div>

    <noscript>
        <if condition="$show['recaptcha_ssl']">
            <iframe src="https://www.google.com/recaptcha/api/noscript?k=$humanverify[publickey]" height="300" width="400" frameborder="0"></iframe>
        <else />
            <iframe src="http://api.recaptcha.net/noscript?k=$humanverify[publickey]" height="300" width="400" frameborder="0"></iframe>
      </if>
       <br />
       <textarea name="recaptcha_challenge_field" rows="3" cols="40">
       </textarea>
       <input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
    </noscript>
</fieldset>

#2. An extra registration question effectively stops most bots.
I followed THIS GUIDE (which is very clear and useful) on how to implement an extra registration question.


Regards,
Mark
Reply With Quote
Благодарность от:
leannet
  #3  
Old 01-13-2013, 01:42 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=289463" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=289463</a>
Reply With Quote
Благодарность от:
leannet
  #4  
Old 01-14-2013, 12:54 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #5  
Old 01-14-2013, 04:28 AM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found Question/Answer to be more efficient then cCaptcha
Reply With Quote
Благодарность от:
leannet
  #6  
Old 01-15-2013, 11:34 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the question/answer and it stopped for about 4 hours but they are back again, might have to try the cCaptcha

--------------- Added [DATE]1358294687[/DATE] at [TIME]1358294687[/TIME] ---------------

People are getting the question wrong and still getting through.
Reply With Quote
  #7  
Old 02-07-2014, 06:35 PM
jpsandiego jpsandiego is offline
 
Join Date: Mar 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you actually get vBulletin to use reCaptcha over SSL?

I found in the styles how it's checking for "recaptcha_ssl", but that doesn't appear to be a configuration parameter... Do I have to set a custom variable in each style to enable that?
Reply With Quote
  #8  
Old 02-07-2014, 08:14 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just end it all without the obsolete gimmicks.

The Era of Big Spam is Over
Reply With Quote
  #9  
Old 02-07-2014, 10:32 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm SSL is not obsolete... however I know how you meant that so just a for you lol.

Try this: https://vborg.vbsupport.ru/showthread.php?t=276547

As for SSL in vbulletin it should be a simple matter of setting the BBURL to https://yoursiteurl.com/forum etc and that's it, re-captcha should work fine I was just on a https vbulletin 4 forum and no changes were required so not sure why you're having troubles.

Edit: Although to be fair on that forum I do not believe they use re-captcha so editing may or may not be required, if someone has more insight on this please share as I have not looked into it in-depth at all.
Reply With Quote
  #10  
Old 02-07-2014, 11:00 PM
jpsandiego jpsandiego is offline
 
Join Date: Mar 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The trouble looks to be that since we have offloaded SSL to a load-balancer vBulletin does not identify that it's running under SSL - even with bburl set with HTTPS.

I ended up updated the recaptch plugin to always set true for 'recaptcha_ssl' and things are working now.
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 09:25 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.06534 seconds
  • Memory Usage 2,273KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete