Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recaptcha #285

Open
darkforcesjedi opened this issue Oct 5, 2016 · 11 comments
Open

Recaptcha #285

darkforcesjedi opened this issue Oct 5, 2016 · 11 comments

Comments

@darkforcesjedi
Copy link
Contributor

See here:

https://www.reddit.com/r/pokemongodev/comments/561kdg/this_is_how_recaptcha_looks_like_ingame/

This is why scanning is failing for everyone.

@seikur0
Copy link
Owner

seikur0 commented Oct 5, 2016

I see. Guess it's over for us, ey :/

@rafsawicki
Copy link

I guess it depends on how often this captcha request would appear. Implementing api of https://2captcha.com/ might be a viable option and there are already working implementations that use it to resolve captcha on PTC accounts creation page.

@ChromeHearts
Copy link

If there is a way to find out which account is required to solve a recaptcha from the API,
then we could get the googlekey and submit to 2captcha.com to solve it,
then use the returned key to solve the recaptcha and unlock the account

@seikur0
Copy link
Owner

seikur0 commented Oct 6, 2016

They added more than the captchas though. I wish they only added captchas!

See this

@chelming
Copy link
Contributor

chelming commented Oct 6, 2016

@ChromeHearts you can tell which account is returning empty cells by changing line 1495 of main0.py to lprint('[{}] Non-empty cell returned as empty from user {}'.format(self.account['num'],self.account['user']))

@ChromeHearts
Copy link

ChromeHearts commented Oct 7, 2016

Looks like the challegeURL will lead to a reCaptcha link, and one can solve it through a browser
i found in the API, there is a verifyChallege message which takes a string token. Does anyone know how to send this message in Python to reply the solved reCaptcha key?

I am hopping this is the way to solve the reCaptcha programmatically

@darkforcesjedi
Copy link
Contributor Author

There is a thread on r/pokemongodev that says how to do it. It will probably get rolled into the open source API soon at which point a captcha solving service can be employed, or the challenged threads can be idled and the captcha forwarded to the web interface.

@seikur0
Copy link
Owner

seikur0 commented Oct 7, 2016

That's easy to do and not the problem. @ChromeHearts you know that "url" you get redirected too after solving the captcha? The one that starts with unity:? You take that without that first unity:-part and send it in a VerifyChallengeMessage as token string. I just did some tests and it's working. The problem is more how to make it accessible/easy to apply.

@dikkedeur
Copy link

http://imgur.com/a/H7OIi looks like something...
if this could be on the website frontend that you first need to solve captha before you get access to the website part, then this could be a nice thing.
you can then share your website with your local community, and together we solve the captha and benefit from it.

more information > https://www.reddit.com/r/pokemongodev/comments/56856v/made_this_for_my_maps_to_avoid_captcha/

@ChromeHearts
Copy link

@seikur0 Could you show me the code how to send the verifyChallenge? Sorry, I am new to protobuf. I figured how to create the message, but I am not too sure how to put it in a request, and reply back to the server. I am testing if we can use Flask to provide an restful api. One could solve the captcha and curl the key back to the worker.

I believe this is the VerifyChallenge message


msg = POGOProtos.Networking.Requests.Messages_pb2.VerifyChallengeMessage()
msg.token = "<some key>"

@ChromeHearts
Copy link

Just saw your new commit. That's helpful. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants