Skip to main content

An easy tool to automatically crack Google's ReCaptcha, with near-human performance.

Project description

ReCaptaBreaker

Auto Solve Google's Recaptcha Image Challenge with near human performance!



This is one of the first library that breaks google recaptcha image challenge using autmoated system right in your device, with near human accuracy!

Installing

You can use pypi distribution:

pip install recaptchabreaker

or install locally from source:

git clone https://github.com/Hackear2041/ReCaptchaBreaker.git
python setup.py install

Models will be downloaded on first use.

Usage

  1. You can use the solver in selenium based drivers
from recaptchabreaker import ReCaptchaBreaker
breaker = RecaptchBreaker() 

# Load the page, where recaptcha needs to be solved.
# The method will automatically find the captcha and solve it.
breaker.solve_captcha(driver)
  1. You can directly classify on images as well
from recaptchabreaker import ReCaptchaBreaker
breaker = RecaptchBreaker() 

# Load the list of images
image_list : List[PIL.Image] = ...

for pred in breaker.solve_images():
    print(pred) # Prints dictionary of label:score

Hardware Requirements

Any device with python support and atleast 1GB RAM and 500MB free space should be supported. Expected classification time is ~1sec for 4*4 recaptcha Grid, and is dependent on number of CPU cores available. Faster Models Coming Soon!

How it Works?

I train Clip model for classification and Diffusion models for synthetic dataset generation. Further, using an iterative procedure, new annotated data points are collected by applying a week classifier to a real recaptcha system. The classifier model is further trained on the collected and augmented dataset resulting in a better classifier. The method is easily extendible to other forms of image captcha tasks such as hCaptcha.

Citing

If you find this repo useful, please consider citing the following paper:

@software{Anonymous_ReCaptchaBreaker_Breaking_Google_s_2022,
	author = {Anonymous},
	month = {12},
	title = {{ReCaptchaBreaker: Breaking Google's Recaptcha Image Challenge with near human performance}},
	url = {https://github.com/Hackear2041/ReCaptchaBreaker},
	version = {1.0.0},
	year = {2022}
}

Disclaimer⚠️

This repo is for educational and research purposes only. Any actions and/or activities related to the material contained on this repo is solely your responsibility. The misuse of the information in this repo can result in criminal charges brought against the persons in question. The author will not be held responsible in the event any criminal charges be brought against any individuals misusing the information in this repo to break the law. However, if you think this repo violates any of your terms of usage or policies, feel free to contact me.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ReCaptchaBreaker-0.2.0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

ReCaptchaBreaker-0.2.0-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page