Skip to main content

this is my own fork of nonoCAPTCHA. it is updated to bypass the new browser checks as of 2019-11-19

nonoCAPTCHA preview

changes:

  • uses my fork of pyppeteer which uses a newer version of chrome

  • had to disable widget injection because puppeteer request interception doesn’t work anymore and hangs. no idea how to fix at the moment

  • fix “request already handled” error spam (useless until request interception is fixed)

  • replace old cloaking code with the up to date methods from https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth

  • automatically discover pocketsphinx model

  • remove old launcher workarounds and use latest pyppeteer instead

  • fix various issues with async code using multiple conflicting loops

  • fix win32 not working unless ProactorEventLoop is manually specified

  • fix custom loop not propagating to pyppeteer

  • fix get_page_win win32 check being reversed (useless until request interception is fixed)

usage

pip install nonocaptcha_fork
git clone https://github.com/Francesco149/nonoCAPTCHA
cd nonoCAPTCHA/examples
python demo.py

old readme

https://travis-ci.org/mikeyy/nonoCAPTCHA.svg?branch=master PyPI PyPI - Python Version PyPI - License PyPI - Status

nonoCAPTCHA

An async Python library to automate solving ReCAPTCHA v2 by audio using Mozilla’s DeepSpeech, PocketSphinx, Microsoft Azure’s, and Amazon’s Transcribe Speech-to-Text API. Built with Pyppeteer for Chrome automation framework and similarities to Puppeteer, PyDub for easily converting MP3 files into WAV, aiohttp for async minimalistic web-server, 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 1-minute presentation of the script in action, with only 8 threads!

nonoCAPTCHA preview

Compatibility

Linux, macOS, and Windows!

Requirements

Python 3.6.0 - 3.7.0, FFmpeg, a Microsoft Azure account for Bing Speech API access, an Amazon Web Services account for Transcribe and S3 access, and for Pocketsphinx you’ll need pulseaudio, swig, libasound2-dev, and libpulse-dev under Ubuntu.

Installation

$ pip install nonocaptcha

Configuration

Please edit nonocaptcha.example.yaml and save as nonocaptcha.yaml

Usage

If you want to use it in your own script

import asyncio
from nonocaptcha.solver import Solver

pageurl = "https://www.google.com/recaptcha/api2/demo"
sitekey = "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"

proxy = "127.0.0.1:1000"
auth_details = {
     "username": "user",
     "password": "pass"
}
args = ["--timeout 5"]
options = {"ignoreHTTPSErrors": True, "args": args}
client = Solver(
     pageurl,
     sitekey,
     options=options,
     proxy=proxy,
     proxy_auth=auth_details,
)

solution = asyncio.get_event_loop().run_until_complete(client.start())
if solution:
     print(solution)

Donations

The use of proxies are required for my continuous updates and fixes on nonoCAPTCHA. Any donations would be a great help in allowing me to purchase these proxies, that are clearly expensive. If anyone is willing to share their proxies, I wouldn’t hesitate to accept the offer.

Bitcoin: 1BfWQWAZBsSKCNQZgsq2vwaKxYvkrhb14u

Metadata

Release files for nonocaptcha-fork 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonocaptcha-fork 2.1.3
File Size Uploaded
nonocaptcha-fork-2.1.3.tar.gz 61.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonocaptcha-fork 2.1.3
File Interpreter ABI Platform
nonocaptcha_fork-2.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 133.7 kB

Release files / nonocaptcha-fork-2.1.3.tar.gz

Download URL nonocaptcha-fork-2.1.3.tar.gz
Size 61.7 kB
Tags Source
SHA-256 checksum
How to use checksums
81def4110bdabf305d18b4cf2610d9e65c297408199ce835710964bd2eff1566
BLAKE2b-256 checksum
How to use checksums
78658aec5347c6099a30f98188b1c710cca94edfef4a86af05028f86ed1d5a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release files / nonocaptcha_fork-2.1.3-py3-none-any.whl

Download URL nonocaptcha_fork-2.1.3-py3-none-any.whl
Size 72.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0c2f997275f11154caf6118f31c81e9a2635768e94550a18d8b794e3977dfcd
BLAKE2b-256 checksum
How to use checksums
ca3471cdf04a8068288cc352c6287294c924c9896cb6afbd9f2aff2ae464a90e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

2.1.3 This release

2 release files

2.1.2

1 release file

2.1.1

2 release files

2.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page