ad-m / python-anticaptcha

Client library for solve captchas with Anticaptcha.com support.
http://python-anticaptcha.readthedocs.io/en/latest/
MIT License
222 stars 51 forks source link

Need help enter token of Funcaptcha #86

Open MacMarde opened 3 years ago

MacMarde commented 3 years ago

I try to create an account with Microsoft. https://login.live.com/

Sometimes I do get a FunCaptcha to solve. I am able to solve the captcha und get a valid token.

I try to enter the token like this from the examples:

script = """
    document.getElementById('FunCaptcha-Token').value = decodeURIComponent('{0}');
    document.getElementById('verification-token').value = decodeURIComponent('{0}');    
    """.format(
        quote(token)
    )
    browser.execute_script(script)

I can see with chrome developer-tools that the elements "FunCaptcha-Token" and "verification-token" are present on the website.

Also the token I do receive from anticaptcha is not empty.

Unfortunately I do get this exception message: selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set property 'value' of null

The elments "FunCaptcha-Token" and "verification-token" are inside of a iframe with id "enforcementFrame" and there is also a "#document" shadow DOM. In selenium this needs a workaround, but I do not know if the above Javascript function can handle this. (See the screenshot)

I really need help to enter the tokens und also to submit the form. It seems to be not trivial.

image

MacMarde commented 3 years ago

I have found a partial solution:

I did use:

browser.switch_to_frame(browser.find_element_by_id('enforcementFrame'))

Afer I have switched to this iframe "enforcementFrame" I can now use the above javascript function to enter the valid tokens and it is working fine.

But I still have no idea how to submit. The button seems to be located on a canvas element and I believe therefore I can not find this button as an element. I guess it is possible to use selenium ActionChains to click the initial "Next" button, but the follwing "Done" button can only be clicked after a click on the arrows to turn the image.

I am not sure if this is possible with ActionChains. Probably there is a better solution possible?

Edit: I have tried to click on the Next button manually and turn the image with another manual click. Then I did enter the received token and after that I did click on the "Done" button. But the result is not working.

Edit2: I did also try to use the official chrome extension for anticaptcha, but it is the same problem that the funcaptcha gets solved, but not submittd. So now it is all about how to submit.

Any help please.

MacMarde commented 3 years ago

I think I have found the relevant website code. But I do not know what to do with it. Any help welcome.

funcaptcha_callback

scullcandyz commented 3 years ago

I think I have found the relevant website code. But I do not know what to do with it. Any help welcome.

funcaptcha_callback

Execute it passing in funcap token.

roborock commented 3 years ago

anyone found solution to resend token to arkose?

Jul187 commented 3 years ago

I have the same problem. Any updates on your side? Have you been able to solve this issue ? @MacMarde

roborock commented 3 years ago

unfortunately not... ı havent have any new. about this.


Gönderen: Jul187 notifications@github.com Gönderildi: 14 Ocak 2021 Perşembe 17:20 Kime: ad-m/python-anticaptcha python-anticaptcha@noreply.github.com Bilgi: roborock bbs61@hotmail.com.tr; Comment comment@noreply.github.com Konu: Re: [ad-m/python-anticaptcha] Need help enter token of Funcaptcha (#86)

I have the same problem. Any updates on your side? Have you been able to solve this issue ? @MacMardehttps://github.com/MacMarde

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ad-m/python-anticaptcha/issues/86#issuecomment-760225829, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF5GLU2YDEK7Y7GDUMJDZ23SZ34RNANCNFSM4SUWZ3UA.

k3lu0mx4c commented 3 years ago

I have a solution

jon-snow1999 commented 3 years ago

I have a solution

ok what is it

k3lu0mx4c commented 3 years ago

Solve outlook captcha without using service. Price 100$

jon-snow1999 commented 3 years ago

I think I have found the relevant website code. But I do not know what to do with it. Any help welcome.

funcaptcha_callback

Also how did u find the relevant code

ngocpxkaopiz commented 3 years ago

@MacMarde Did you find a solution to this problem?

MacMarde commented 3 years ago

I do not have a solution. There is someone who sells a solution: https://gitter.im/python-anticaptcha/ Just ask. I would also want to have a solution but I do not want to pay 100$ for 1 line of code.

FeelsBadMan1 commented 3 years ago

I do not have a solution. There is someone who sells a solution: https://gitter.im/python-anticaptcha/ Just ask. I would also want to have a solution but I do not want to pay 100$ for 1 line of code.

same issue here. if somebody bought it he might want to release it for free ;D

vvazharksi commented 1 year ago

Did anyone find solution ?

rockey170 commented 1 year ago

Yes guys I got , but the problem is captcha coming on loop after completed Let's make a telegram group and all will discuss and find a solution Join here - https://t.me/FuncaptchaBypass ( @funcaptchabypass)