Twokinds ARCHIVE Forums

This forum is for the preservation of old threads from before the forum pruning.
It is currently Tue Apr 15, 2025 5:34 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Making a better Captcha
PostPosted: Wed Oct 08, 2008 3:02 am 
Offline
Citizen

Joined: Tue Sep 16, 2008 10:27 pm
Posts: 99
Since it seems that more and more bots are getting in every day I thought that I'd start working on my own Captcha project. I currently have 2 randomization styles made for it and hope to make more soon.
Here is a link to the page: http://69.141.241.56:8080/captcha_kitsune.php

Let me know if you guys have trouble reading them or if you noticed any possible weaknesses in them. I'd also love to hear or see any ideas for more styles to mix it up with.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 7:54 am 
Offline
The Inkwell Coyote
User avatar

Joined: Wed Aug 09, 2006 4:28 pm
Posts: 7495
Location: 44°39'54"N 90°10'33"W
I like that one better. Easy to see.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 9:46 am 
Offline
Citizen
User avatar

Joined: Wed May 21, 2008 10:08 am
Posts: 93
It's still somewhat vulnerable to the blur/contrast trick, however this time I had problems with the borders (they are lighter).

Thus my suggestion is to add more variety in the 'white/black' ratio. Like so:
Image
(I used some cheap blurring to achieve this, perhaps with your method you can make part of the algorithm)

(The blob overlay used to modify your image was created by making a layer with random colors,emboss it, scale immensely with interpolation (you can scale in multiple steps, I went from 420;125 to 5000;5000), set layer to multiply mode, then fiddle around with brightness.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 10:00 am 
Offline
Templar Master
User avatar

Joined: Thu Jul 17, 2008 10:09 am
Posts: 443
Location: My own little fortress...
Say.. If these were really used, would they still be this size? Not that it really matters, but it's kinda big.

And if they were to be resized, would they still be as readable?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 10:04 am 
Offline
Citizen
User avatar

Joined: Wed May 21, 2008 10:08 am
Posts: 93
Demus wrote:
Say.. If these were really used, would they still be this size? Not that it really matters, but it's kinda big.

And if they were to be resized, would they still be as readable?

Don't worry, Image, I find that easy to read :P



EDIT:
Very interesting to read:
http://network-security-research.blogspot.com/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 11:25 am 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
Here's an idea, I suppose it might have been suggested before, but it's simple: Put more text in the image than you want the user to use. Have, say, 3 lines of numbers, and the captcha instructions tell the user to use only the middle line. It would be broken after a while, but it would throw off most bots because they'd use all of the numbers by mistake.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 11:48 am 
Offline
The Inkwell Coyote
User avatar

Joined: Wed Aug 09, 2006 4:28 pm
Posts: 7495
Location: 44°39'54"N 90°10'33"W
I can't read it when it's that small. The "I" looks like a 1, l, or I to me.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 3:20 pm 
Offline
Citizen
User avatar

Joined: Wed May 21, 2008 10:08 am
Posts: 93
Delusional Kangaroo wrote:
Here's an idea, I suppose it might have been suggested before, but it's simple: Put more text in the image than you want the user to use. Have, say, 3 lines of numbers, and the captcha instructions tell the user to use only the middle line. It would be broken after a while, but it would throw off most bots because they'd use all of the numbers by mistake.

You mean something like this?
Image
"The more difficult version of the Gimpy CAPTCHA presents an image such as the one shown below. There are 10 words (some repeated), overlaid in pairs. The test-taker is required to list 3 of the words present in the image in order to pass. "
Source: http://www.cs.sfu.ca/~mori/research/gimpy/

FastChapter wrote:
I can't read it when it's that small. The "I" looks like a 1, l, or I to me.

Heh, yeah, I guess it was easy for me since I've been looking at those letters the whole time...

Also, other captcha's have the same problem. Usually the only include I and never show l or 1 to avoid confusion.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 4:59 pm 
Offline
Templar GrandMaster
User avatar

Joined: Thu Dec 15, 2005 6:28 pm
Posts: 661
Location: praying to the porcelain god
Cryzbl wrote:
Demus wrote:
Say.. If these were really used, would they still be this size? Not that it really matters, but it's kinda big.

And if they were to be resized, would they still be as readable?

Don't worry, Image, I find that easy to read :P



EDIT:
Very interesting to read:
http://network-security-research.blogspot.com/


I can only see a "t" an "x" and a "u" in that.....


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 09, 2008 2:24 am 
Offline
Citizen

Joined: Tue Sep 16, 2008 10:27 pm
Posts: 99
hey everyone, i've added another style that has a checkered background for the image and I want to know what your opinions on it are.

http://69.141.241.56:8080/captcha_kitsune.php


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 09, 2008 4:44 am 
Offline
Master
User avatar

Joined: Sat Sep 13, 2008 9:32 am
Posts: 210
Location: Belgium
The checkered one is bad for the eyes (mine at least). The others are fine for humans, but I haven't got a clue on how bot proof they'd be.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 09, 2008 6:44 am 
Offline
Citizen
User avatar

Joined: Wed May 21, 2008 10:08 am
Posts: 93
Also, since you're using a regular background it's easy to track it. Then by looking where in the picture the pattern isn't followed we know that it must be part of a character:
Image

With the usual blur;contrast/brightness this is the result:
Image

Have you checked out the link I posted earlier?
http://network-security-research.blogspot.com/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 09, 2008 10:55 am 
Offline
Citizen

Joined: Tue Sep 16, 2008 10:27 pm
Posts: 99
Yes i had a look at that link, I'll see about a different version of the second set to replace the third.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group