Jun 7, 2015 06:48 PM
(This post was last modified: Jun 8, 2015 10:50 AM by Ninja.)
So I was working on a Facebook cracker, but a dictionary attack was impossible due to the captchas that show up after 10 attempts. I wrote a function to remove the distortion from the images and then trained Tesseract a bit so it can read the processed images better. The accuracy was around %20, but since Facebook still accepts the captcha response if 1 character is incorrect or missing, the total accuracy is around %40.
Example of an input image:
![[Image: Cj1vEQu.jpg]](https://i.imgur.com/Cj1vEQu.jpg)
Obviously Tesseract would not be able to read the text from the image before processing.
Example of a processed image:
![[Image: 5Dirska.png]](https://i.imgur.com/5Dirska.png)
Tesseract successfully read this image as Xp7bad.
The method I used to process the images is pretty simple. I made a 'selection' of all black colored areas and shrunk them, and then resized them. By shrinking enough all lines are removed, but not the letters as they are bigger. And by enlarging the selections again the letters come back to their original size so they can be read easily.
Combining this with Tor networking so I can get 'unlimited' high anonymity, high speed proxies from the Tor network, I can make one fast, 'proxyless' Facebook cracker. If I can't sell this cracker to anyone for a reasonable price I will probably release the code, including the OCR and image processing code in this section for free.
Also made a captcha OCR library for Amazon. No processing was needed since they are already easily readable. Just a bit of training and the accuracy was around %95. Amazon is proxyless as well. 🙂
Example of an input image:
![[Image: Cj1vEQu.jpg]](https://i.imgur.com/Cj1vEQu.jpg)
Obviously Tesseract would not be able to read the text from the image before processing.
Example of a processed image:
![[Image: 5Dirska.png]](https://i.imgur.com/5Dirska.png)
Tesseract successfully read this image as Xp7bad.
The method I used to process the images is pretty simple. I made a 'selection' of all black colored areas and shrunk them, and then resized them. By shrinking enough all lines are removed, but not the letters as they are bigger. And by enlarging the selections again the letters come back to their original size so they can be read easily.
Combining this with Tor networking so I can get 'unlimited' high anonymity, high speed proxies from the Tor network, I can make one fast, 'proxyless' Facebook cracker. If I can't sell this cracker to anyone for a reasonable price I will probably release the code, including the OCR and image processing code in this section for free.
Also made a captcha OCR library for Amazon. No processing was needed since they are already easily readable. Just a bit of training and the accuracy was around %95. Amazon is proxyless as well. 🙂


![[Image: gXLLoG.gif]](https://#/gXLLoG.gif)
![[Image: jlscvfi.png]](https://i.imgur.com/jlscvfi.png)
