Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fuckcaptcha

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuckcaptcha

bypass reCAPTCHA detection in pyppeteer

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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

.. code-block:: sh

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:

.. code-block:: sh

PYPPETEER_CHROMIUM_REVISION="706915" python .\fuck.py

windows:

.. code-block:: powershell

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

fuck.py:

.. code-block:: python

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc