/gpt4-captcha-bypass

Captcha Bypass using GPT4-o

Primary LanguagePython

GPT4o Captcha Bypass

This project is a CLI tool for testing various types of captchas including puzzle, text, complicated text, and reCAPTCHA using Python and Selenium. The tool also uses OpenAI GPT-4 to help solve the captchas.

Prerequisites

  • Python 3.7+
  • Firefox Browser
  • Imgur Account for uploading images
  • OpenAI Account for GPT-4 API

Installation

  1. Clone the repository:

    git clone https://github.com/aydinnyunus/gpt4-captcha-bypass
    cd gpt4-captcha-bypass
  2. Install the required Python packages:

    pip install -r requirements.txt
  3. Create a .env file in the root directory of your project and add your Imgur Client ID and OpenAI API Key:

    echo "OPENAI_API_KEY=sk-your-openai-api-key" > .env
    echo "IMGUR_CLIENT_ID=your-imgur-client-id" >> .env
  4. Make sure you have the geckodriver for Firefox installed. You can install it using webdriver-manager:

    pip install webdriver-manager

Usage

Run the CLI tool with the desired captcha type:

python captcha_tester.py [captcha_type]

where [captcha_type] can be one of: puzzle, text, complicated_text, recaptcha.

Example:

python captcha_tester.py text

Captcha Types

  • text: Tests simple text captchas.
  • complicated_text: Tests complicated text captchas.
  • recaptcha: Tests Google's reCAPTCHA.
  • puzzle: Tests puzzle captchas.

Text

image

Complicated Text

image

Recaptcha and Slider

Recaptcha and Slider may be bypassed in average 10 attempts.

image image

Contact