Code Monkey home page Code Monkey logo

nonocaptcha's Introduction

nonoCAPTCHA

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

nonocaptcha's People

Contributors

mikeyy avatar frosty00 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.