jamiewanderi / Captcha-Cracker

Cracks the Captcha at VIT University's Academics Portal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Captcha Cracker

Holds the source for the algorithm that used to crack the captcha at VIT University's Academic Portal. Now, they use ReCaptcha by Google.

Related Chrome Extension

Maintained in a seperate repository

Related Blog Post

Present on the DEV website.

Running the Python Script

  • Install the PIL Library(Pillow)
pip install pillow
  • Enter the Python Directory
cd Python
  • Run the command for the test image
python algorithm/parser.py
  • For a performance measure, run
python performance.py
  • For the preprocessing, run the following after deleting all folders execpt downloaded captchas
cd Python/preprocessing
python reduce-noise.py
python crop_chars.py
python character_sort.py
python best_chars.py
  • Pick a character from the best ones as per the alphanumeric set and rename it after placing in library-chars.
  • Run the following to generate your bitmaps
python generate_bitmaps.py

License

MIT

About

Cracks the Captcha at VIT University's Academics Portal

License:MIT License


Languages

Language:Python 85.1%Language:JavaScript 14.9%