Git Product home page Git Product logo

fuckcaptcha's Introduction

bypass reCAPTCHA detection in pyppeteer

note that this does not solve captchas, it's just to bypass the detection so you can write a bot to solve captchas

this is just a pyppeteer port of https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth so all credits to them

usage

install fuckcaptcha and pyppeteer

pip install fuckcaptcha pyppeteer

run this example and try to do the audio verification. it should work fine instead of saying your browser is automated.

keep in mind that recaptcha likes to randomly flag ip's and user agents which might confuse you when testing

also, it's recommended to use a recent chromium build:

linux/mac:

PYPPETEER_CHROMIUM_REVISION="706915" python .\fuck.py

windows:

$env:PYPPETEER_CHROMIUM_REVISION="706915"
python.exe .\fuck.py

fuck.py:

import asyncio
from pyppeteer import launch
import fuckcaptcha as fucking
import sys

async def main():
  browser = await launch(headless=False)
  page = await browser.newPage()
  await fucking.bypass_detections(page)
  await page.goto("https://www.google.com/recaptcha/api2/demo")
  while True:
    await asyncio.sleep(1)

if sys.platform == "win32":
  loop = asyncio.ProactorEventLoop()
else:
  loop = asyncio.new_event_loop()

# workaround for KeyboardInterrupt on wangblows
async def wake_the_fuck_up():
  while True:
    await asyncio.sleep(1)

loop.create_task(wake_the_fuck_up())
loop.run_until_complete(main())

license

fuckcaptcha's People

Contributors

francesco149 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

moraxcloud

fuckcaptcha's Issues

Recaptcha is still being showed

I have run the code but nothing happens.
No operation is done, no error is shown. What is it supposed to do exactly?

Recaptcha is showing puzzle once clicked on checkbox so Chromium is still traced as an automated browser

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.