vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Enhanced Captcha Image Verification - stop bots from signing up!! (https://vborg.vbsupport.ru/showthread.php?t=132482)

Antivirus 02-03-2007 07:23 PM

very nifty idea, great way around the bot problems. If we start haivng an issue with this, will def install.

steadicamop 02-07-2007 11:01 AM

I had one determined Spam Bot make it through today - it has taken them a long time, so to increase security slightly, I've increased the number of images from 4 to 6 - if anyone else wishes to do this, here's how to:

AdminCP -> Plugins & Products -> Plugin Manager -> Extra user verification - click edit then find this code :

Code:

$amount_of_images_to_show = 4;
Change this to the number of images you want (I went for 6, adds just two extra but makes it that little bit harder for Bots):

Code:

$amount_of_images_to_show = 6;
Click Save then go to:

Styles & Templates -> Style Manager -> [Your Style] -> Edit Templates -> image_verification

In that template find:

Code:

     
<a href='register.php?clicked=1'><img src='images/verification/show.php?1' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=2'><img src='images/verification/show.php?2' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=3'><img src='images/verification/show.php?3' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=4'><img src='images/verification/show.php?4' border='0' alt='VB RegSecure' /></a>

All you have to do is add each line for the extra image you use - for six images this is what it looks like.

Code:

<a href='register.php?clicked=1'><img src='images/verification/show.php?1' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=2'><img src='images/verification/show.php?2' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=3'><img src='images/verification/show.php?3' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=4'><img src='images/verification/show.php?4' border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=5'><img src='images/verification/show.php?5 border='0' alt='VB RegSecure' /></a>
<a href='register.php?clicked=6'><img src='images/verification/show.php?6' border='0' alt='VB RegSecure' /></a>

Either use less or more depending on how you prefer it - 6 seems like a decent enough number to make it harder for them to get in.

Hope this helps,

Jason

ShackMaster 02-07-2007 03:42 PM

Thanks, I just changed mine to 6.

Occasionally I get a red X on one or two of the images. Any idea why?

Thanks again!

steadicamop 02-07-2007 05:39 PM

If your using the images that came with package it may just be a case of it hasn't loaded in time, which I doubt, the only other possibility is that the image isn't there - the script is dynamic and uses all the images.

Another to check for is that Thumbs.db has a capital T - lower case would be parsed into thinking it's an image, if you get chance right click and find out the file name.

Cheers

Jase

Prince 02-07-2007 07:29 PM

great hack, it is reduced spam on my board to almost zero!

how do you know it was a "bot" and not a real person trying to register and spam?

ShackMaster 02-07-2007 09:08 PM

Quote:

Originally Posted by steadicamop (Post 1176931)
If your using the images that came with package it may just be a case of it hasn't loaded in time, which I doubt, the only other possibility is that the image isn't there - the script is dynamic and uses all the images.

Another to check for is that Thumbs.db has a capital T - lower case would be parsed into thinking it's an image, if you get chance right click and find out the file name.

Yes, all images are the ones with the package. All the images are there and I can simply right click the white box/red X and click "Show Picture" and it will show. It's generally the last one or two that don't fully load... show.php?5 and show.php?6.

It does happen frequently... you can look at it and see if it happens with you any:

http://www.hometheatershack.com/forums/register.php

Thanks!
Sonnie

steadicamop 02-08-2007 05:07 PM

Hmmm that is damn strange - when the pages loads I usually get all six, then a refresh usually shows four, another refresh shows just two then a final refresh shows a 403 error! There is something very unusual going on there - I'm asking some people I know to see if we can figure out what it might be, but to me it looks like a server issue - but if I find anything out I will let you know.

I would suggest trying 4 images again and see what happens - if that works then it might be worth sticking with that.

Cheers

Jason

ShackMaster 02-08-2007 05:17 PM

Actually I was getting 1 missing image all along with it set to 4.

steadicamop 02-08-2007 05:19 PM

Hmmm - very strange, will see what I can find out, it's very unusual.

Do you find any other images don't load on your forum?

Prince 02-08-2007 09:29 PM

I don't see how increasing it to 6 images over 4 would help anything.


All times are GMT. The time now is 10:22 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.01301 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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
  • (2)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