Giter Club home page Giter Club logo

captcha_break's Introduction

CAPTCHA_break

A Python3 CAPTCHA solving bot based on Tesseract OCR

Image Image Image

Install

You need :

  • Python3 and pip
  • Install the required pip modules as such :
    • pip3 install -r requirements.txt

Usage

usage: captcha_break.py [-h] [-b] [-s SAVE] [-o]

optional arguments:
  -h, --help            show this help message and exit
  -b, --benchmark       make a benchmark on 100 recognitions
  -s SAVE, --save SAVE  save <SAVE> captchas to disk (for ML dataset, offline demo solving, etc)
  -o, --offline         solve offline CAPTCHAs located in offline_captchas folder

captcha_break relies on the site root-me.org in order to get the CAPTCHAs and automatically verify it's results so you will have to create an account/log in to the site in order to do online solving.

Online

When doing online solving (connected to root-me.org) you can use the following options :

  • ./captcha_break.py : Send a single solve request to root-me.org and display the results
  • ./captcha_break.py --benchmark : Send 100 solve requests to root-me.org and calculate a percentage of success based on the results
  • ./captcha_break.py --save SAVE : Save <SAVE> number of CAPTCHAs to disk (for ML dataset, offline demo solving, etc)

Offline

captcha_break can also do offline solves of local CAPTCHAs by using the following option :

  • ./captcha_break.py --offline : Will solve all CAPTCHA images located in offline_captchas folder and display the results

FAQ

I get an error when running ./captcha_break.py

If you get this error message when running the program :

Error when connecting to https://root-me.org website.
Are you logged into the site ?

You need to go on root-me.org and create an account/log in. Once you are logged-in, the bot is able to connect to the site and retrieve new CAPTCHAs.

captcha_break's People

Contributors

rob2n avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.