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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ReCaptchaBreaker-0.2.0.tar.gz.

File metadata

  • Download URL: ReCaptchaBreaker-0.2.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ReCaptchaBreaker-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abcf468c8fd2990038ba7463573e8fc1fd553d76c8d1edc9d6abc750eaad7532
MD5 5485fb991a0f2b3ca6e6dbbed9742cbd
BLAKE2b-256 e06979eaeafbf7ce677abdd2c8534aefd17ff546adc61c71c0f60578afd1ab4f

See more details on using hashes here.

File details

Details for the file ReCaptchaBreaker-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ReCaptchaBreaker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6aa9cf030c9ed65baa23d00f53ed82811e91804e3c27cd5958432d0b94c1eafd
MD5 e3cc79a687a24a5222981f9732b83d44
BLAKE2b-256 b7d47fcc7ec2657196325b6281828088ccf43bf11cbd5a9d93fc624c5e043580

See more details on using hashes here.

Supported by

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