the flatulent gem provides brain dead simple ascii art captcha for
ruby.
Hmm, maybe I'm missing the point, but aren't these really easy for bots to
decode?
Looking at the examples at http://drawohara.tumblr.com/post/4791838
I see that random ASCII characters have been dropped around. But these can
be removed trivially, e.g.
gsub!(/[^\/|\\_()\n]/,' ')
that noise was just an example - the built-in noise is now based on the characters used to draw the words so doing that would remove the word itself!
Only minimal damage has been done to the original characters, which are now
easy to pattern-match. It therefore seems that the randomly-strewn
characters have the effect of making it more difficult for visually-impaired
users to access the site, but cause very little impedement to bots 
the point is that there aren't any characters! think about it - there are only random chars strewn about - not a single character from the word exists in the captcha. for instance, the Flatulent.element('foobar') produces this captcha:
<pre id='flatulent_element' style='font-weight:bold;background:#ffc;white-space:pre,nowrap;font-family:monospace;display:table;padding:11px;color:blue'> __ _ <span 'style=color:#ccc;font-style:oblique'>\</
&
nbsp; <br> / _| <span 'style=color:#ccc;font-style:oblique'>_</
| |
<br> | |_ ___ ___ <span 'style=color:#ccc;font-style:oblique'>|</span> |__ <span 'style=color:#ccc;font-style:oblique'>|</
__ _ _ __ <<span 'style=color:#ccc;font-style:oblique'>|</span>| _|
/ _ \ / _ \ | '_ \ / _<span 'style=color:#ccc;font-style:oblique'>|</span> | | '__|<br> | | | (_) | | (_) | <span 'style=color:#ccc;font-style:oblique'>/</span>| |_) | | (_|<span 'style=color:#ccc;font-style:oblique'>|</span>| | | <br> |_| <span 'style=color:#ccc;font-style:oblique'>|</span>___/ \___<span 'style=color:#ccc;font-style:oblique'>|</span> |_._<span 'style=color:#ccc;font-style:oblique'>\</span>/ \__,_| |_| <br> <span 'style=color:#ccc;font-style:oblique'>_</
<span 'style=color:#ccc;font-
style:oblique'>_</
&
nbsp; <br> <span 'style=color:#ccc;font-style:oblique'>_</
&
nbsp; <span 'style=color:#ccc;font-style:oblique'>|</
&
nbsp; <span 'style=color:#ccc;font-style:oblique'>|</
<span 'style=color:#ccc;font-
style:oblique'>|</span> </pre>
have fun putting that together. to do it you need to render, not just parse, html! no, let's just say you drive firefox to render the html, and then clip out the image, saving it as a tiff. this is the result http://ocrnow.com gives for the above ascii captcha
l_ "l 1 l_
_ J / l_ ' / / _l
/ ó
iM=,
pretty close huh? 
now, where i'm heading now, is using css and javascript so to position the image and characters within the image. this means you would actually need to first ocr the entire screen to find the captcha, then clip that out, then ocr that.
i've been working with ocr'ing several million satellite scans for the past three years and, let me tell you, it's hard even when the text is clear if the position of said text cannot be know with certainty.
and, backing up a bit, with ascii capture you are several difficult steps away from having an image - even in the simple case.
Now, if this ASCII art were turned into a PNG I guess that would make it a
bit harder - although not much, since it's pretty trivial to OCR a clean
grid of ASCII characters back to ASCII, albeit more computationally
expensive.
see above.
Perhaps this captcha will be useful if very few sites use it, so the
spammers don't bother writing a decoder. But in that case you don't want it
used by "the masses" 
i'll give 100 bucks to the first person on the list to crack it when i reach 1.0 
two other factors in favour of ascii art
1) there are tons of ocr programs out there available for free. there are no ascii art regognition programs that i am aware of. captcha is not suppose to be 'secure' anyhow - it's suppose to make it 'harder' for bots, that it all.
2) the porn industry and is actively moving to ascii art as we speak. this is __precisely__ because it is impossible to filter using traditional or ocr based spam filters. i think we can all agree that, when it comes to beating the system, they are the ones to follow.
-a
···
On Jul 3, 2007, at 8:44 AM, Brian Candler wrote:
--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama