RuslanUC/RemoteAuthClient

Captcha solving

10kkm opened this issue · 23 comments

10kkm commented

Hello! When i try to grab token, instead of encrypted_token i get captcha. Will there be an update soon to solve this problem?

I will add on_captcha event soon.

10kkm commented

update to dev branch maybe

If this bot using remoteauthclient as dependency - update remoteauthclient to 1.3 (pip install remoteauthclient==1.3). If it uses remoteauthclient's code (like this) - remove RemoteAuthClient and User classes from code, install remoteauthclient==1.3 and add from remoteauthclient import RemoteAuthClient to imports.

10kkm commented

When captcha appears, it says: "Unable to get a token."

10kkm commented

I solved captcha by capmonster then it gives another captcha again and again and again. Then i checked my logs and found this <ClientResponse(https://discord.com/api/v9/users/@me/remote-auth/login) [400 Bad Request]> when i try to get token or to post captcha key

Do you provide captcha_rqdata to capmonster?

10kkm commented

no

I read here, that you must provide captcha_rqdata to capmonster. And install latest version of remoteauthclient (1.4.0b2)

10kkm commented

[ERROR_CAPTCHA_UNSOLVABLE] This type of captchas is not supported by the service or the image does not contain an answer, perhaps it is too noisy. It could also mean that the image is corrupted or was incorrectly rendered.
3 captcha's in a row

Can you show your code part where you sending captcha task to capmonster?

10kkm commented
        url = "https://discord.com"
        task_id = captcha.create_task(
            website_url=url,
            website_key=captcha_data["captcha_sitekey"],
            is_invisible=True,
            custom_data=captcha_data["captcha_rqdata"],
        )

Try to update to 1.4.0b3 and add user agent to task ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36")

10kkm commented

now unable to get token

What is response body in logs?

10kkm commented

nvm i fixed it and j.get("captcha_key") == ["captcha-required"]

10kkm commented

[ERROR_CAPTCHA_UNSOLVABLE] This type of captchas is not supported by the service or the image does not contain an answer, perhaps it is too noisy. It could also mean that the image is corrupted or was incorrectly rendered.

10kkm commented
    @c.event("on_captcha")
    async def on_captcha(captcha_data):
        # Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.167 YaBrowser/22.7.5.1027 Yowser/2.5 Safari/537.36
        user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
        print(f"adsad", captcha_data)
        url = "https://discord.com"
        captcha = HCaptchaTask(APIKEY)
        captcha.set_user_agent(user_agent)
        task_id = captcha.create_task(
            website_url=url,
            website_key=captcha_data["captcha_sitekey"],
            is_invisible=True,
            custom_data=captcha_data["captcha_rqdata"],
        )
        print(
            "# Task created successfully with the following id: {}".format(task_id)
        )
        result = captcha.join_task_result(task_id=task_id)
        print(result)
        return result["gRecaptchaResponse"]
10kkm commented

10km did you get yours working

No

Laqer commented

I need to talk with who's using this system to get tokens.
Please contact me on Discord, Neph#4414
I need an help

I need help, If anyone has this working and can prove it, I will pay you. Jayxen#1225

10kkm commented

i have working, can sell, accept my friend request

hey i would also need help. willing to pay. hit me up on discord Macr0bear22#5340

I need help, If anyone has this working and can prove it, I will pay you. kolen#3851