Do you like my hacking? If so, please consider leaving something in the
Fediverse (Mastodon etc): @Sprite_tm@social. spritesmods.com
Andrew Hull has improved on my captcha-code; he obfuscated the text even more than I have. He wrote:
Have a look through the code before you post it, I have made a few changes since yesterday, it can randomize the font and you might like to add random swirly function (pick one of sin x^2, 1/2sin(x) that sort of thing). You could also add a slope to the function (y=1/2x), or use a parabolic. Have a play with the variables, and you will see things become very wooly without being too unreadable.
Obviously you have to watch out for the text becoming completely unreadable. BTW wikipedea has a good section on captcha, detailing how bots try to get round it. I was looking to make PHPbbs more secure, and since it seems their inbuilt captcha can be fooled, I thought I'd look for a replacement, and that's how I stumbled on your code.
The idea of using noizified colours is really to fool the bots, since they generally look for a particular colour in the flattened image for their pattern recognition. Noizifying the font edges again is designed to break their OCR, and randomizing the font makes life even more complex for them.
The source of his variant is downloadable here.
An example of how it looks:
(This is the default setting; the captcha can be made more/less readable by
adjusting parameters.)
this is cool.
buy viagra canadian pharmacy lulz!!!!
The problem with this type of thing, while effective is that it is also very effective at excluding colorblind people. For instance, i had to have someone read off the captcha here so that I could post this.
great work
This is great! Now I want to see your ways for us readers to become more involved! Expect an email later today
Nice piece of work. For the forum I'm administrating these days, I've moved away from captcha. I've simply added questions instead using some PHPbb mod. I can only speculate it working better when the questions and answers aren't in English (as they would be machine readable with no translation needed). It's stupidly simple and it works amazingly well. Using questions like (although not in English): Type nisse into the box to the right: [box] Type hello into the box to the right: [box] We've not had -1- spambot get trough it since it was set up 2-3 months ago. Quite amazing.
Personally, My favorite captcha is the "Which of these pictures has an owl" where you could pick a number or click it. With the exception of Captcha sweatshops I don't know how there could be an easy way around those. Of course, blending the two you could have distorted text at the bottom of a set of four animal pictures, then be told something like "enter the text under the monkey eating a fish" or something similar. This involves more overhead but would still be similar for a human and devilishly difficult for a computer.
Great work. I run a modified version of this code on my website @ http://dreamsters.se/reg.php.
Ooops, I see this doesn't preserve the line breaks. Bother! If you want the modified version, try AhUll AT theclydegroup dort com
SALUT C COOL
I just wanted
you have done a great job with this topic
Oopsie, someone commented on the captcha-code being readable from the img-tag here, but I accidentally lost the comment. Suffice to say: the problem has been addressed on my site, the solution for other sites remains an excersize for the reader :)
Captcha is the most annoying thing on the internet since it appeared. It's stupidity starts with images so barely visible that less than 1% of people can actually see what's there and ends up with giving you 5 turns of half-right options to click on. If something totally sucks on the internet it's the captcha.