Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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
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())
FAQs
bypass reCAPTCHA detection in pyppeteer
We found that fuckcaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.