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)

steadicamop 05-20-2007 08:29 AM

Quote:

Originally Posted by SuprSurfr (Post 1247836)
Any chance on getting this working with 3.6.6?

Have you tried installing it - I'm still on 3.6.2 so will be upgrading soon, I will fix any compatibility problems as soon as I do.

Ian Montgomerie 05-20-2007 05:46 PM

Unfortunately, if this hack comes into common use then spambots will just defeat it by repeatedly trying to register and picking random images. Use 8 images and on average they'll succeed in about 4 tries. Captcha is immune to a simple "brute force" attack because there are too many combinations of words and letters that it can generate.

Right now this hack works because of security through obscurity - no spambots have been coded to deal with it.

extreme-mobile 05-20-2007 06:49 PM

i dont get any images showing just the words vbsecurereg or somethig any idea?

Jeff Bade 05-21-2007 05:27 PM

Reloaded everything and it is working now.

One problem I have is that the Name of the image it is asking for is not one of the 4 images.

I expanded it to 6 images and still no go.
I expanded it to 12 and most of the time the image is there.
But not all the time.

Anyone ever see that before?

Also the Red X images are there.
I think it is any non-image file in that directory which is causing this.
one time I was asked for the picture of index.
Which since I have index.html instead of .htaccess that makes sense.

FatalBreeze 05-22-2007 10:06 AM

My forum is based on Hebrew and not on English. I've seen in your code that the $question variable, is the one that stores the image to click and he gets its value by substr - by the image name. My question is, if i translate all the names of the images to hebrew, will it work?

EDIT:
I installed your hack, and it didn't work when i translated the titles of the pictures.
The result is that it displayed the 4 pictures, however it didn't say which picture to click as if the $question variable is empty.

FatalBreeze 05-23-2007 02:26 PM

you think i can fix it with two arrays: one in Engish and one in Hebrew, and work with preg_replace($english_array,$hebrew_array,$questio n); ?

steadicamop 05-27-2007 09:33 AM

Quote:

Originally Posted by Jeff Bade (Post 1252211)
Reloaded everything and it is working now.

One problem I have is that the Name of the image it is asking for is not one of the 4 images.

I expanded it to 6 images and still no go.
I expanded it to 12 and most of the time the image is there.
But not all the time.

Anyone ever see that before?

Also the Red X images are there.
I think it is any non-image file in that directory which is causing this.
one time I was asked for the picture of index.
Which since I have index.html instead of .htaccess that makes sense.

Sounds a little strange - I know other people are having issues with one or two images loading - I am looking into this and will do any necessary changes but I suspect it's a server thing - but will do testing to find this out.

If you have any other files than .htaccess, thumbs.db/Thumbs.db then they will show up, as those files are excluded - it is possible to exclude index.html by adding this in the show.php file:

PHP Code:

if ($entry != '.' && $entry != '..' && $entry != 'show.php' && $entry != '.htaccess' && $entry != 'Thumbs.db'

If you want to add index.html to that change it to:

PHP Code:

if ($entry != '.' && $entry != '..' && $entry != 'show.php' && $entry != '.htaccess' && $entry != 'Thumbs.db' && $entry != 'index.html'

For any other files just add
PHP Code:

&& $entry != 'whateverfilename.ext' 

to the end of the line before the closing bracket ")".

HTH

Jason

steadicamop 05-27-2007 09:35 AM

Quote:

Originally Posted by FatalBreeze (Post 1253257)
you think i can fix it with two arrays: one in Engish and one in Hebrew, and work with preg_replace($english_array,$hebrew_array,$questio n); ?

Give it a try - I'm not too clued up with preg_replace, but it can't hurt , if you have problems, let me know and I'll see what I can sort.

Cheers

Jason

MissKalunji 05-31-2007 12:32 PM

is there a way to add this to sendmessage.php?

Dragons76 05-31-2007 06:12 PM

I'm on VB 3.6.7

I have installed this hack, but i want to register, i have this message :

PHP Code:

Warningdir() [function.dir]: Unable to access lesavoir/images/verificationin /register.php(202) : eval()'d code on line 6
 
Warning: dir(lesavoir/images/verification/) [function.dir]: failed to open dir: No such file or directory in /register.php(202) : eval()'
d code on line 6
 
Fatal error
Call to a member function read() on a non-object in /home/evox/lesavoir/httpdocs/lesavoir/register.php(202) : eval()'d code on line 7 

I have made the modif who is posted here : https://vborg.vbsupport.ru/showpost....&postcount=109

Any body can help me ?


All times are GMT. The time now is 04:58 AM.

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.01434 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (3)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