POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

[QUESTION] Other ways to connect to the server

Open coolnickname opened this issue 9 years ago • 6 comments

Isn't it possible to use an app that doesn't require root to start a local VPN service that would change all requests to the Niantic servers to my custom one?

coolnickname avatar Oct 14 '16 17:10 coolnickname

I don't think so. I'm sure the app has security measures to prevent that.

Rendaman13 avatar Oct 15 '16 12:10 Rendaman13

It is possible to make a Proxy/MITM thing, that will forward the requests from Niantic's servers to your POGOserver.

The only problem is the certificate-pinning in Pokemon Go, so would require people you want to join, to install an APK of Pokemon Go 0.35 without certificate-pinning.

Cronick avatar Oct 15 '16 12:10 Cronick

That's what I meant actually, and I think it's possible to modify the APK in that way, but it would disable Google login

coolnickname avatar Oct 15 '16 14:10 coolnickname

Its pretty easy to disable certificate pinning actually. But the problem is that disabling it also prevents you from logging in with google accounts.

Currently I dont know any way of decoding PTC auth tokens that could be implemented here. So its a dead point until we find out how to decode PTC auth tokens.

Check this also: https://github.com/rastapasta/pokemon-go-xposed/issues/16 I am trying to hardcode an endpoint in the pogo apk

vankxr avatar Oct 16 '16 01:10 vankxr

Can't you also emulate the PTC auth servers and make all request go there (like logging in)? That way you also have a custom authentication system. If you're modifying the APK anyway you could also intercept the PTC login details before they are encrypted.

coolnickname avatar Oct 16 '16 17:10 coolnickname

If the requests to PTC oauth are made through the same function (doSyncRequest) it should not be hard.

vankxr avatar Oct 17 '16 06:10 vankxr