Pwntcha is an open source tool for breaking CAPTCHAs. While it is a few years old and only works for very simple CAPTCHAs, it’s still and interesting project and would be a good place to start if you wanted to write a program to break more complex ones. To install it on OS X:
- Install the Simple DirectMedia Layer library: From Terminal and with MacPorts installed, type
sudo port install libsdl_image
As an alternative, installing imlib2 would probably also work.
I encountered an error installing db46, one of the dependencies of libsdl and imlib2, which I fixed by installing the Java for Mac OS X 10.6 Update 3 Developer Package.
- Check out a copy of Pwntcha via SVN:
svn co svn://svn.zoy.org/caca/pwntcha/trunk pwntcha
cd pwntcha ./bootstrap ./configure sudo make install
- Lastly, run the program:
curl -O http://hactheplanet.com/blog/wp-content/uploads/2011/01/authimage.jpeg pwntcha authimage.jpeg