Skip to main content

An asynchronized Python library to automate solving ReCAPTCHA v2 by audio, using Microsoft Azure's Speech-to-Text API.

Project description

An async Python library to automate solving ReCAPTCHA v2 by audio, using Microsoft Azure’s Speech-to-Text API. Built with Pyppeteer for it’s Chrome automation framework and similarities to Puppeteer, PyDub for easily converting MP3 files into WAV, Quart for it’s async minimalist web-framework, and Python’s built-in AsyncIO for convenience.

Disclaimer

This project is for educational and research purposes only. Any actions and or activities related to the material contained on this GitHub Repository is solely your responsibility. The misuse of the information in this GitHub Repository 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 GitHub Repository to break the law.

Public

This script was first featured on Reddit at /r/Python - see here for the thread. I’ve finally decided to release the script.

Preview

Check out this 1-minute presentation of the script in action, with only 8 threads!

nonoCAPTCHA preview

nonoCAPTCHA preview

Compatibility

Linux, macOS, and Windows!

Requirements

Python 3.6.5, FFmpeg and a Microsoft Azure account with Bing Speech API access

Installation

$ pip install nonocaptcha

Configuration

Please edit config.example.py and save as config.py

Usage

If you would like to use it in your own script

from nonocaptcha.solver import Solver
from config import settings

client = Solver(
    settings['pageurl'],
    settings['sitekey'],
    options=options,
    proxy=proxy,
    proxy_auth=auth_details(),
)

answer = await client.start()
if answer:
    print(answer)

Use the included multithread script.

Edit variable count for amount of threads to use

$ python examples/run.py

Use the included mini-server and access http://localhost:5000/get?pageurl=PAGEURL&sitekey=SITEKEY

Replace PAGEURL and SITEKEY with the websites ReCAPTCHA details.

$ python examples/app.py

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

nonocaptcha-1.2.6.tar.gz (63.9 kB view details)

Uploaded Source

Built Distribution

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

nonocaptcha-1.2.6-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

Details for the file nonocaptcha-1.2.6.tar.gz.

File metadata

  • Download URL: nonocaptcha-1.2.6.tar.gz
  • Upload date:
  • Size: 63.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nonocaptcha-1.2.6.tar.gz
Algorithm Hash digest
SHA256 3d8a44331065a09876d23f1db65800b7f4fd9b19fb5e48698c5cef67245c0c23
MD5 8e67a649e8964fbc0daa5ee74c6776fd
BLAKE2b-256 d04506f7784964bc825af1d2d3ab9a1b606ace0500189d326ed69360717fb821

See more details on using hashes here.

File details

Details for the file nonocaptcha-1.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonocaptcha-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4ea66154148312075d404e77276ea90c413314fc1667d604e71a6fb9788b1a14
MD5 3fbf9820c51e02367a535d5fc8c01c4d
BLAKE2b-256 808f5b3ec67900e82de233a7f0f8dd718ecc8133e46a32f742dda6cdd08d2430

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