Skip to content

Free ReCaptcha v2 and v3 breaker

2»

Comments

  • rastarrrastarr Thailand
    Deeeeeeee said:
    Hi. This is an interesting development. Thank you, @rastarr!!

    I've followed the installation directions here. I am unsure about one part:

    I see "server": "ht tp://p.webshare.io:80",
                "username": "PROXY-USERNAME",
                "password": "PROXY-PASSWORD"

    I use proxies for solving Recaptcha2 and 3 from Asia Virtual Solutions with Xevil.  Must I get proxies from webshare or a service like it? @royalmice, is there a way to use the ones that you provide?

    I'm guessing that the webshare service is a gateway with rotating proxies?

    Thanks ahead of time for any help...

    Without changing the proxy info, CB gets this "Error solving v3 captcha: 'PlainTextResponse' object has no attribute 'startswith'" in response to testing Recaptcha3 with the default test details provided with GSA CB.
    It's only Recaptchav2 that's using proxies. v3 doesn't need them.
    Yes, I use Webshare which provides a gateway with rotating proxies.

    The 'PlainTextResponse' thing is a string manipulation issue but has no bearing on actual captcha solving so don't worry about it.
    For a v3 test, use https://antcpt.com/score_detector/ as the URL which usually worked for me
    v2 I was testing with https://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php
    The site key is irrelevant as the script does it's own thing and doesn't need these parameters to be passed.
    Thanked by 1Deeeeeeee
  • DeeeeeeeeDeeeeeeee the Americas
    edited March 28
    rastarr said:

    For a v3 test, use https://antcpt.com/score_detector/ as the URL which usually worked for me
    v2 I was testing with https://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php
    The site key is irrelevant as the script does it's own thing and doesn't need these parameters to be passed.
    Hmmm...I seem to only get CAPTCHA_UNSOLVABLE and the log pane in GSA CB indicates 2Captcha API with IP was attempted unsuccessfully with same message as the pop-up window.  Where in the code does this call on CB to do any actual solving? Is that the compiled file that does that part?

    When I go into the command prompt, I see that it's getting 200 responses. Everything seems to be working.
    This is the case for both recaptcha 2 and 3:
    =========================== logs ===========================<br>navigating to "http://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php", waiting until "networkidle"<br>============================================================<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:52852 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1be2bb8f-a77c-4908-814f-5e665e00659d HTTP/1.1" 200 OK<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:52857 - "POST /in.php HTTP/1.1" 200 OK<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:52865 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=e5f76817-e740-42fd-9fda-d5cb6230ea61 HTTP/1.1" 200 OK<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:53885 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=e5f76817-e740-42fd-9fda-d5cb6230ea61 HTTP/1.1" 200 OK<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:54721 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=e5f76817-e740-42fd-9fda-d5cb6230ea61 HTTP/1.1" 200 OK<br>v2 URL|http://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php<br>Error solving v2 captcha: 'PlainTextResponse' object has no attribute 'startswith'<br>INFO:&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1:55485 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=e5f76817-e740-42fd-9fda-d5cb6230ea61 HTTP/1.1" 200 OK
  • DeeeeeeeeDeeeeeeee the Americas
    Is this just a framework for integrating our own solver to work with GSA Captcha Breaker, or does this work on it own?

    It appears there's no logic file to do any of the actual solving. Did I miss a step?

    Thanks...
  • rastarrrastarr Thailand
    Deeeeeeee said:
    Is this just a framework for integrating our own solver to work with GSA Captcha Breaker, or does this work on it own?

    It appears there's no logic file to do any of the actual solving. Did I miss a step?

    Thanks...
    sounds like you aren't connected to the solvers websocket. maybe change both mentions of port 8000 to something else like 9000
    I built this primarily for GSA though another program should be able to use it too, provided it follows the 2captcha protocols
    the solving is done inside the Python script
  • daviddig1daviddig1 San Antonio, TX
    @Sven @rastarr:
    Upon reading this as well as doing some digging, I did find this:
    https://sourceforge.net/projects/goodbyecatpcha/

    Any chance we could integrate with GSA's software? I would especially love to see this software, your suggestion or anything else integrated effectively with "Website Contact"
  • SvenSven www.GSA-Online.de
    @daviddig1 I think this is way too old to be of any use now.
  • DeeeeeeeeDeeeeeeee the Americas
    edited April 15
    Just getting back to this after a break...

    I changed the port both in the GSA CB webserver 2captcha settings, as well as entered this at command prompt: uvicorn _capv2v3:app --port 9321  --workers 8   to reflect the port I am attempting to use.

    Are these the only two places I needed to change?

    Trying to run this again now, I get this errmsg: OSError: [WinError 10022] An invalid argument was supplied

    Does anyone know what might be of issue? Thanks...ahead of time.


    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

    This is what was returned, in its entirety:

    <i>C:\Users\potat\recaptcha\_capv2v3>uvicorn _capv2v3:app --port 9321&nbsp; --workers 8</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Uvicorn running on ←[1mhttp://127.0.0.1:9321←[0m (Press CTRL+C to quit)</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started parent process [←[36m←[1m37872←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m50400←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m1324←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m62204←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m17772←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m12808←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m28008←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m59364←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m24956←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[31mERROR←[0m:&nbsp;&nbsp;&nbsp; Traceback (most recent call last):</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run</i><br><i>&nbsp;&nbsp;&nbsp; return runner.run(main)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run</i><br><i>&nbsp;&nbsp;&nbsp; return self._loop.run_until_complete(task)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete</i><br><i>&nbsp;&nbsp;&nbsp; return future.result()</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\server.py", line 76, in serve</i><br><i>&nbsp;&nbsp;&nbsp; await self.startup(sockets=sockets)</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\server.py", line 127, in startup</i><br><i>&nbsp;&nbsp;&nbsp; server = await loop.create_server(</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1547, in create_server</i><br><i>&nbsp;&nbsp;&nbsp; server._start_serving()</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 315, in _start_serving</i><br><i>&nbsp;&nbsp;&nbsp; sock.listen(self._backlog)</i><br><i>OSError: [WinError 10022] An invalid argument was supplied</i><br><br><i>During handling of the above exception, another exception occurred:</i><br><br><i>Traceback (most recent call last):</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\routing.py", line 686, in lifespan</i><br><i>&nbsp;&nbsp;&nbsp; await receive()</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\lifespan\on.py", line 139, in receive</i><br><i>&nbsp;&nbsp;&nbsp; return await self.receive_queue.get()</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\queues.py", line 158, in get</i><br><i>&nbsp;&nbsp;&nbsp; await getter</i><br><i>asyncio.exceptions.CancelledError</i><br><br><i>Process SpawnProcess-5:</i><br><i>Traceback (most recent call last):</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 314, in _bootstrap</i><br><i>&nbsp;&nbsp;&nbsp; self.run()</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 108, in run</i><br><i>&nbsp;&nbsp;&nbsp; self._target(*self._args, **self._kwargs)</i><br><i>&nbsp;
     File 
    "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\_subprocess.py",
     line 76, in subprocess_started</i><br><i>&nbsp;&nbsp;&nbsp; target(sockets=sockets)</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\server.py", line 59, in run</i><br><i>&nbsp;&nbsp;&nbsp; return asyncio.run(self.serve(sockets=sockets))</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run</i><br><i>&nbsp;&nbsp;&nbsp; return runner.run(main)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run</i><br><i>&nbsp;&nbsp;&nbsp; return self._loop.run_until_complete(task)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete</i><br><i>&nbsp;&nbsp;&nbsp; return future.result()</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\server.py", line 76, in serve</i><br><i>&nbsp;&nbsp;&nbsp; await self.startup(sockets=sockets)</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\server.py", line 127, in startup</i><br><i>&nbsp;&nbsp;&nbsp; server = await loop.create_server(</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1547, in create_server</i><br><i>&nbsp;&nbsp;&nbsp; server._start_serving()</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 315, in _start_serving</i><br><i>&nbsp;&nbsp;&nbsp; sock.listen(self._backlog)</i><br><i>OSError: [WinError 10022] An invalid argument was supplied</i>

  • DeeeeeeeeDeeeeeeee the Americas
    Why does this seem to use a different port each time?

    -33736e281b74 HTTP/1.1" 200 OK
    INFO:     127.0.0.1:55107 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=8f6047e2-0e17-4383-bda2-33736e281b74 HTTP/1.1" 200 OK
    INFO:     127.0.0.1:56534 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=8f6047e2-0e17-4383-bda2-33736e281b74 HTTP/1.1" 200 OK
    Error solving v3 captcha: 'PlainTextResponse' object has no attribute 'startswith'
    INFO:     127.0.0.1:57716 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=8f6047e2-0e17-4383-bda2-33736e281b74 HTTP/1.1" 200 OK
    INFO:     127.0.0.1:57721 - "POST /in.php HTTP/1.1" 200 OK
    INFO:     127.0.0.1:57724 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1e28d225-67db-4618-b253-d29ed8c0cd34 HTTP/1.1" 200 OK
    v3 URL|http://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php
    INFO:     127.0.0.1:59000 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1e28d225-67db-4618-b253-d29ed8c0cd34 HTTP/1.1" 200 OK
    INFO:     127.0.0.1:60341 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1e28d225-67db-4618-b253-d29ed8c0cd34 HTTP/1.1" 200 OK
    INFO:     127.0.0.1:61630 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1e28d225-67db-4618-b253-d29ed8c0cd34 HTTP/1.1" 200 OK
    Error solving v3 captcha: 'PlainTextResponse' object has no attribute 'startswith'
    INFO:     127.0.0.1:63004 - "GET /res.php?key=GSA%21%21%21%21%21%21%21%21%21%21%21&action=get&id=1e28d225-67db-4618-b253-d29ed8c0cd34 HTTP/1.1" 200 OK

  • rastarrrastarr Thailand
    Deeeeeeee said:
    Just getting back to this after a break...

    I changed the port both in the GSA CB webserver 2captcha settings, as well as entered this at command prompt: uvicorn _capv2v3:app --port 9321  --workers 8   to reflect the port I am attempting to use.

    Are these the only two places I needed to change?

    Trying to run this again now, I get this errmsg: OSError: [WinError 10022] An invalid argument was supplied

    Does anyone know what might be of issue? Thanks...ahead of time.


    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

    This is what was returned, in its entirety:

    <i>C:\Users\potat\recaptcha\_capv2v3>uvicorn _capv2v3:app --port 9321&nbsp; --workers 8</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Uvicorn running on ←[1mhttp://127.0.0.1:9321←[0m (Press CTRL+C to quit)</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started parent process [←[36m←[1m37872←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m50400←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m1324←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m62204←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m17772←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m12808←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m28008←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m59364←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Started server process [←[36m24956←[0m]</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Waiting for application startup.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[32mINFO←[0m:&nbsp;&nbsp;&nbsp;&nbsp; Application startup complete.</i><br><i>←[31mERROR←[0m:&nbsp;&nbsp;&nbsp; Traceback (most recent call last):</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run</i><br><i>&nbsp;&nbsp;&nbsp; return runner.run(main)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run</i><br><i>&nbsp;&nbsp;&nbsp; return self._loop.run_until_complete(task)</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp;</i><br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1547, in create_server</i><br><i>&nbsp;&nbsp;&nbsp; server._start_serving()</i><br><i>&nbsp; File "C:\Users\potat\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 315, in _start_serving</i><br><i>&nbsp;&nbsp;&nbsp; sock.listen(self._backlog)</i><br><i>OSError: [WinError 10022] An invalid argument was supplied</i>

    To be honest, I don't use Windows other than GSA stuff.
    I will say I used Python 3.10 to do all this stuff so maybe there's a breaking change with your installed 3.11 version but I'm just guessing.
    Drop the --workers down to 2 as well in case the higher number isn't being handled by your system.

    But these are just guesses. I've installed this many times on virtual machines and been running happily on my GSA VPS for a month now. 
    Sorry, I'm no Windows or Python expert
  • DeeeeeeeeDeeeeeeee the Americas
    edited April 19
    "I will say I used Python 3.10 to do all this stuff so maybe there's a breaking change with your installed 3.11 version but I'm just guessing."
    rastarr: OK. I'm curious. I will see about installing the correct Python version and maybe that could be it. Dropping the workers down to 2, I still got a lot of errors. Is it Python 32 or 64 bit you used successfully? I doubt tit matters, but who knows.
    Thanks, ahead of time.
    ///////////////////////////////////////////////////////////////
    OK...I uninstalled Python...Tried installing the older version you used..both 32 and 64 bit. Forced re-installation of all components. I kept getting various error messages.
    Finally, using the latest version of Python, I installed without a single error, and it seems to work. I'm also not getting any errmsges while running.
    I'll test it and see. For some reason the cmd prompt install didn't work a few times? Either way, this was a cool DLer. Now I see where the files are...how this is done. Never used a utility like that before!
    Getting this now:
    C:\Users\potat\recaptcha\_capv2v3>uvicorn _capv2v3:app --port 9321 --workers 4
    ←[32mINFO←[0m:     Uvicorn running on ←[1mhttp://127.0.0.1:9321←[0m (Press CTRL+C to quit)
    ←[32mINFO←[0m:     Started parent process [←[36m←[1m62472←[0m]
    ←[32mINFO←[0m:     Started server process [←[36m47056←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Started server process [←[36m52332←[0m]
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Started server process [←[36m70548←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Started server process [←[36m23072←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
  • rastarrrastarr Thailand
    Deeeeeeee said:
    "I will say I used Python 3.10 to do all this stuff so maybe there's a breaking change with your installed 3.11 version but I'm just guessing."
    rastarr: OK. I'm curious. I will see about installing the correct Python version and maybe that could be it. Dropping the workers down to 2, I still got a lot of errors. Is it Python 32 or 64 bit you used successfully? I doubt tit matters, but who knows.
    Thanks, ahead of time.
    ///////////////////////////////////////////////////////////////
    OK...I uninstalled Python...Tried installing the older version you used..both 32 and 64 bit. Forced re-installation of all components. I kept getting various error messages.
    Finally, using the latest version of Python, I installed without a single error, and it seems to work. I'm also not getting any errmsges while running.
    I'll test it and see. For some reason the cmd prompt install didn't work a few times? Either way, this was a cool DLer. Now I see where the files are...how this is done. Never used a utility like that before!
    Getting this now:
    C:\Users\potat\recaptcha\_capv2v3>uvicorn _capv2v3:app --port 9321 --workers 4
    ←[32mINFO←[0m:     Uvicorn running on ←[1mhttp://127.0.0.1:9321←[0m (Press CTRL+C to quit)
    ←[32mINFO←[0m:     Started parent process [←[36m←[1m62472←[0m]
    ←[32mINFO←[0m:     Started server process [←[36m47056←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Started server process [←[36m52332←[0m]
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Started server process [←[36m70548←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
    ←[32mINFO←[0m:     Started server process [←[36m23072←[0m]
    ←[32mINFO←[0m:     Waiting for application startup.
    ←[32mINFO←[0m:     Application startup complete.
    OK, so it's now waiting on port 9321 with 4 worker threads. 
  • DeeeeeeeeDeeeeeeee the Americas
    edited April 19
    You know, it's not you, it;'s me, friend! lol I must have COVID-brain. :P lol Seriously, though...

    Besides errors on install using chocolatey, there was also the issue of my own confusion.

    I failed to pay attention to:
    "10. Now it is time to activate them into GSA SER. You can add this to GSA CaptchaBreaker if it is running in webserver mode too."

    I didn't realize I can add the service directly to GSA SER! Why? Not paying attention. :|

    It's working now.  :star:  @rastarr : Thank you so much for the cool wrapper idea, and for the help!!    What are these, though? I know I already asked...sorry...still not sure...
    "Error solving v2 captcha: 'PlainTextResponse' object has no attribute 'startswith'



  • rastarrrastarr Thailand
    Deeeeeeee said:
    You know, it's not you, it;'s me, friend! lol I must have COVID-brain. :P lol Seriously, though...

    Besides errors on install using chocoloatey, there was also the issue of my own confusion.

    I failed to pay attention to:
    "10. Now it is time to activate them into GSA SER. You can add this to GSA CaptchaBreaker if it is running in webserver mode too."

    I didn't realize I can add the serice to GSA SER! Why? Not paying attention. :|

    It's working now.  :star:  @rastarr : Thank you so much for the cool wrapper idea, and for the help!!    What are these, though? I know I already asked...sorry...still not sure...
    "Error solving v2 captcha: 'PlainTextResponse' object has no attribute 'startswith'



    The 'PlainTextResponse' thing is a string manipulation issue but has no bearing on actual captcha solving so don't worry about it. I'd never used or coded in Python before and still very much a baby. Forget that error since it's just an output that I may or may not fix - probably not :)
    Thanked by 1Deeeeeeee
Sign In or Register to comment.