Cracks the Captcha at VIT University's Academics Portal
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Blog Post
JavaScript Js parser refactor Sep 20, 2018
Python Added bitmaps script Sep 20, 2018
.gitignore Added gitignore, moved README Sep 20, 2018
LICENSE.MD Create LICENSE.MD Aug 10, 2017
README.md Update README.md Jan 4, 2019

README.md

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. This is how it looked like, earlier.

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