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

Help on other API #247

Open
tconn87 opened this issue Aug 6, 2022 · 2 comments
Open

Help on other API #247

tconn87 opened this issue Aug 6, 2022 · 2 comments

Comments

@tconn87
Copy link

tconn87 commented Aug 6, 2022

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?

@tejado
Copy link
Owner

tejado commented Aug 7, 2022

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

@tconn87
Copy link
Author

tconn87 commented Aug 8, 2022

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.

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

No branches or pull requests

2 participants