Subj : Attempting to add reCaptcha
To : Noisome
From : echicken
Date : Fri Apr 12 2013 12:44 am
Re: Attempting to add reCaptcha
By: Noisome to All on Thu Apr 11 2013 14:31:57
No> Has anyone managed to do this? Or is there a better way, like SESSION
No> variables for creating personal captcha questions? I haven't been able to
No> find "session variables" to make captcha easier.
We don't have session variables in our SSJS environment, but there are always
tricks you can play using temporary files and such. Not an ideal solution, but
a readily-available one.
I wrote my own captcha for Synchronet a few years ago, but it was an early
effort and is not all that good. Glancing at the code now I can see that I
made some poor choices, and it should be replaced by something
newer-better-safer. That said, it should take some OCR or a lengthy
brute-force effort to get past it, and I've yet to see any bot signups on my
BBS. You can find it on the CVS at web/lib/captchaLib.ssjs, with supporting
files in web/lib/captchaAnsis/. It's meant to use per-letter .asc and .ans
files to generate the captcha "image", though right now there are just some
figlet-generated .asc files. A few small changes would need to be made for it
to work with the stock web interface; I can give further info if you happen to
want to use it. I'll probably rewrite it in the near future.