Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Advance Image Verification Hack - Prevent Automated Registrations Details »»
Advance Image Verification Hack - Prevent Automated Registrations
Version: 1.00, by Slynderdale Slynderdale is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-07-2003 Last Update: Never Installs: 29
 
No support by the author.

Its finally complete, the Advance Image Verification hack, I know some one released it already here:
https://vborg.vbsupport.ru/showthrea...threadid=48443

But it doesn't work at all, this will stop automated registrations as much as not having it installed.

In that hack, it had the value of the image in the public HTML that can easily be leeched and the non-gd support of that hack is just plain text.

With this hack, all the data is stored in sessions on the mysql server.

This hack supports both GD and Non-GD for those who don't want to use GDP or don't have it. Both are real secure and leechers and bots cant tell the actual value of the image.

Features:
-Support for GDP 2.0 and greater versions.
(Image True Color)
-Support for True Type
(For using type type fonts and print text on the image)
-You can give the size of the font for True Type font.
-You can enable and disable Image Verification
-You can give the process in which it generates the text values
(There are two: Random Characters or randomly select a word from the Word List you can create)
-You can set he max digits used to create the random characters
-You can allow caching of GD images to cut down on the server load
-You can set the session time in seconds, if the user idles past that, the old session gets removed and a new one added
-You can specify the main image extension for the images, so if you use peg images it would be jog
-You can give the output type for the final GD image , it can be peg, ping and gift (if you have it supported)
-You can give the quality of peg images that GD outputs
-You can select the output type for the final image.
(There are three, two are for GD and one is non-gd, the non gd one uses multiple images and then output multiple images for each char, the other two uses multiple images and combine them as one image and the other uses one main background image and writes the text in the center)
-You can specify the color of the text for GD images
-You have an option to distort the final GD image
-You can control what characters are displayed in the random character images.

Screen Shots:
Heres a screen shot of the current admin settings.
https://vborg.vbsupport.ru/attachmen...&postid=352005

Heres a screen shot of when you register this is using the background image with text in center option and the distort image option.
https://vborg.vbsupport.ru/attachmen...&postid=352007

Heres a screen shot of the Non-GD support output, it uses multiple images, but it still uses session hashes so the user or bots cant tell what the value of the image is.
https://vborg.vbsupport.ru/attachmen...&postid=352016

If you like this hack and use it on your forum, all I ask in return is for you to click Install, That's all, thank you.

Show Your Support

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

Comments
  #32  
Old 02-10-2003, 09:57 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by drives fast
I installed this and I also get this error:

I saw this posted:

and I also have no cache folder and I cannot find anywhere that is says where it is supposed to go....if it is supposed to go in the images/verify directory....why does the images and verify directories not have to be chmodded to 777 as well?

I saw this posted right after:

and this was the reply:

this does not address the issue of the error mentioned at all nor where the cache folder is supposed to go.

then I saw this posted:

I didn't see anything telling me to find something three times when I ran the installer

and the reply to that was:

where in the instructions does it say to find something three times?

my question is.....what do I do now.....I get the same error as a couple other people and I do not know what to do to solve it and I do not know where to create the cache folder since the instructions do not mention it other than what to chmod it to.

please help me

also...in the images...the upper case "O" is exactly the same as the zero...how will anyone know which one is there?
Try following the instructions in the Imgage Verification.txt file (without the install file at the top) and see if you installed it correctly, also you could of tooked to long registering, you could also try making the session limit higher.

Also for some reason the zip file didint include the cache folder, I'll fix the attachment in the foirst post right now and include it, sorry for that.

You dont find any thing three times, the installer php file wasnt clear enough and some poeple found things three times instead of one, I fixed the file.

Also as I stated in a previous post, these images arent that good, there demo images, If some ones willing to make new ones ill be most grateful.
Reply With Quote
  #33  
Old 02-10-2003, 10:01 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Glock
Error: Failed to create a destination image.
Try turning GD 2.0 support off if you have it on

PHP Code:
            if ($imageverification_gdsupport) {
                
//ImageCreateTrueColor requires GD 2.0 or higher
                
if (!$img = @ImageCreateTrueColor($create_width,$create_height))
                
DisplayError("Failed to create a destination image.");
            } else {
                if (!
$img = @ImageCreate($create_width,$create_height))
                
DisplayError("Failed to create a destination image.");
            } 
Thats where the file generates that error.
Reply With Quote
  #34  
Old 02-10-2003, 03:02 PM
Glock Glock is offline
 
Join Date: Apr 2002
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works in non GD mode...but I spend an hour upgrading PHP and all so i could use GD...
Reply With Quote
  #35  
Old 02-10-2003, 03:06 PM
Glock Glock is offline
 
Join Date: Apr 2002
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, it doesn't seem to be random. I've cleared my cookies and all and it shows the same set everytime.
Reply With Quote
  #36  
Old 02-10-2003, 03:32 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not random when you clear your cache, what it does is for every registration session it will use the same random image code, until a new registration session occurs.

Basically meaning if you are on the register page and keep clearing your cache and refreshing the page, you'll see the same GD-image code everytime, until you actually register. Then when you go back to register yet another time, it will be a different code.
Reply With Quote
  #37  
Old 02-10-2003, 03:49 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked with my host and it appears my server does have GD2.0 support, yet even though I've choosen the option for GD2.0 support and enabled it via Admin Cp, I can't seem to get it to work on the registration page. All I am getting is the box with the red X to signify no image being found.... :ermm:
Reply With Quote
  #38  
Old 02-10-2003, 06:11 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Try following the instructions in the Imgage Verification.txt file (without the install file at the top) and see if you installed it correctly
I will try that...I noticed that a lot is different in the txt file compared to the instructions in the install.php file

Quote:
also you could of tooked to long registering
what you are not understanding about what I and others said is that you don't even get to the registration page for it to timeout. Just clicking the "agree" button on the rules page and then that error happens.

I will try again with the other file and do it all manually

thanks
Reply With Quote
  #39  
Old 02-10-2003, 06:15 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
I checked with my host and it appears my server does have GD2.0 support, yet even though I've choosen the option for GD2.0 support and enabled it via Admin Cp, I can't seem to get it to work on the registration page. All I am getting is the box with the red X to signify no image being found.... :ermm:
Hmm, ill take a look at the code more, set that for no for now and see if it works, gd support 2.0 is to create true color images instead of a normal create image, I dot have gd 2.0 installed on my test server so I wasnt able to test the gd 2.0 support.

Also velcod create a pgp file with:
<?
phpinfo();
?>

and tell me what it says about your GD version
Reply With Quote
  #40  
Old 02-10-2003, 06:20 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by drives fast

I will try that...I noticed that a lot is different in the txt file compared to the instructions in the install.php file


what you are not understanding about what I and others said is that you don't even get to the registration page for it to timeout. Just clicking the "agree" button on the rules page and then that error happens.

I will try again with the other file and do it all manually

thanks
Yea, then you have the code in the wrong spot then, I updated both the install file and the install text with the right code before (I also would like to note, every time i update the zip, I delete it first then upload the new one, I find this help prevent the file from being called from the browser's cache and also a way for you to tell if I updated it)

If you follow the tet instructions and still get an error, tell me.
Reply With Quote
  #41  
Old 02-10-2003, 06:36 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also for debugging purposes, I added error print out to the imagegen.php file, so if you happen to get a red x, right click on it and go to properties and then copy and paste the full url it gives you to your browser and then see what the error was, then copy and paste the error you get into a post or pm to me so I know where in the script your getting an error. For example, if th error says a file cant be found then you must of uploaded the images wrong and so on.
Reply With Quote
Reply

Thread Tools

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 05:42 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.08381 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete