pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

Help on other API

Open tconn87 opened this issue 3 years ago • 2 comments

I'm wanting to reverse an API for a different game. I found your code in auth_google.py and was hopeful I could either re-use the python library or do something similar. Does this login method still work? #What is the source of the variable data to login to google? Where do the values come from and how can I find them for this other game?

tconn87 avatar Aug 06 '22 06:08 tconn87

You need the oauth2 information inside the app. My code used gpsoauth for the authentication to google: https://github.com/simon-weber/gpsoauth

tejado avatar Aug 07 '22 14:08 tejado

Sorry, I meant where inside the app did you find the information? I pulled an older version of the app (before it was compiled with il2cpp), and I can see the C# source with dnSpy. In the latest version I can see Java source with dex2jar and jd-gui. In the Java I've found a variable set to a "...apps.googleusercontent.com". I've found a couple others in the AndroidManifest.xml that I don't think I need. I know the package name of my app. I'm not sure where the GOOGLE_ANDROID_ID and GOOGLE_ANDROID_SIG information is found. When you did this for PoGo was that information in the Java code or in the Unity Assembly-CSharp.dll, or somewhere else? Is there some other software you used besides dnSpy and dex2jar?

Thank you for your response, I'll look through that link and their info today.

tconn87 avatar Aug 08 '22 14:08 tconn87