Skip to content

gsoaresdz/anti-captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anti-Captcha Project

Github top language Github language count Repository size

About   |   Features   |   Technologies   |   Requirements   |   Execution   |   Important Notes   |   License   |   Author


🎯 About

The Anti-Captcha Project is a Python application developed to automate the bypassing of reCAPTCHA v2 on web pages. It uses the Selenium library for web browser interaction and the Anti-Captcha API to solve the captchas.

📝 Business Rule

The main goal of this project is to demonstrate the ability to automate the solving of reCAPTCHA v2 on a test site using the Anti-Captcha API. This can be useful for penetration testing, test automation, or studies related to captchas.

✨ Features

✔️ Feature 1: Opens the browser and navigates to a page with reCAPTCHA v2.

✔️ Feature 2: Uses the Anti-Captcha API to solve the captcha.

✔️ Feature 3: Takes a screenshot as evidence after solving the captcha.

✔️ Feature 4: Automatically closes the browser session.

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have Python 3.6 or higher installed.

🏁 Execution

Cloning the Repository

First, clone the project repository to your local machine.

$ git clone https://github.com/gsoaresdz/anti-captcha.git

Installing Dependencies

To install the project dependencies, run the following command in the terminal:

$ pip install selenium webdriver-manager anticaptchaofficial pillow

Configuring the API Key

You need to acquire an Anti-Captcha API key. Once obtained, replace 'YOUR_API_KEY' with your actual key in the script.

WebDriver Installation

WebDriver Manager will automatically handle the download of the necessary driver for your browser. Make sure you have the corresponding browser installed (Chrome by default).

Running the Code

To run the project, open the script in your Python development environment and execute it. The script will automate the browser opening, access the reCAPTCHA test page, solve the captcha, and capture evidence of the captcha being solved.

Steps Performed by the Code

  1. Opening the Browser: Starts a Chrome browser session.
  2. Accessing the Web Page: Navigates to the page with reCAPTCHA v2.
  3. Breaking the Captcha: Uses the Anti-Captcha API to solve the captcha.
  4. Sending Evidence: Takes a screenshot as evidence after solving the captcha.
  5. Closing: Closes the browser session.

📝 Important Notes

  • This project is for educational and research purposes only.
  • Bypassing captchas on websites without permission may violate terms of service and local laws.
  • It is important to use this script ethically and responsibly.

📝 License

This project is under the MIT license. For more details, see the LICENSE file.

Made with ❤️ by gsoaresdz

Back to top