Skip to content

Solve Google reCAPTCHA in less than 5 seconds with selenium! πŸš€

Notifications You must be signed in to change notification settings

obaskly/RecaptchaBypass

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

reCAPTCHA Bypass

This project provides a solution to automatically solve Google's reCAPTCHA using Selenium WebDriver. The solver handles both the initial checkbox challenge and the audio CAPTCHA challenge.

Table of Contents

Features

  • Automatically solves Google's reCAPTCHA challenges.
  • Uses asynchronous downloading to speed up audio CAPTCHA processing.
  • Converts audio files to text using Google Speech Recognition.
  • Checks if the reCAPTCHA is solved with just a click before proceeding to the bypass technique.

Installation

  1. Clone the Repository
git clone https://github.com/obaskly/RecaptchaBypass.git
cd RecaptchaBypass
  1. Install Dependencies
pip install -r requirements.txt
  1. Install FFmpeg

Usage

To implement this script in your project, you can follow a similar approach as shown below:

from selenium import webdriver
from RecaptchaSolver import RecaptchaSolver

# Initialize the WebDriver options
options = webdriver.ChromeOptions()
options.add_argument("--incognito")
options.add_experimental_option("excludeSwitches", ["enable-automation", "enable-logging"])

driver = webdriver.Chrome(options=options)
driver.get("https://www.google.com/recaptcha/api2/demo")
recaptchaSolver = RecaptchaSolver(driver)

try:
    # Perform CAPTCHA solving
    recaptchaSolver.solveCaptcha()

except Exception as e:
    print(f"An error occurred: {e}")
    driver.quit()

I have created test.py to demonstrate the usage of this script. You can run the test.py file to see the script in action.

python test.py

Code Structure

  • RecaptchaSolver.py: Contains the RecaptchaSolver class with methods to solve the reCAPTCHA.
  • test.py: Example usage of the RecaptchaSolver class.

Demo

demo.mp4

Credits

This project was inspired by and uses techniques from sarperavci/GoogleRecaptchaBypass.

Languages

  • Python 100.0%