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

Automatically obtain license #5

Closed
rehmatworks opened this issue Sep 20, 2021 · 13 comments
Closed

Automatically obtain license #5

rehmatworks opened this issue Sep 20, 2021 · 13 comments

Comments

@rehmatworks
Copy link

Is this possible that this script automatically obtains a license by simulating the purchase? For free apps only. If you can add that feature, that'd be super cool. Thank you so much for your great contribution.

@NyaMisty
Copy link
Owner

If Apple Configurator can, then I can, if it cannot, then I cannot achieve it either.
And I don't own a Mac, please tell me the which one is the real case and I'll give it a try ;)

@rehmatworks
Copy link
Author

Thank you for you replying :) I can analyze the code and I can let you know more if I succeed in finding details. I have tried using Charles proxy but looks like the Apple Store Mac app is using SSL pinning and I am not getting it to work. If I succeed, I'll be able to contribute to this project.

@vadimszzz
Copy link

vadimszzz commented Nov 11, 2021

If Apple Configurator can, then I can, if it cannot, then I cannot achieve it either.

No you're wrong ;)
Take a look at this please
https://github.com/gergul/xhASOios/blob/996956aca9/xhiTunes/xhiTunes.cpp#L2805
https://github.com/gergul/xhASOios/blob/996956aca9ad8b49a0fb03826466eb69ff237bb7/xhwork/xhwork.cpp#L5288
https://github.com/gergul/xhASOios/blob/996956aca9ad8b49a0fb03826466eb69ff237bb7/xhwork/viewpage.cpp#L9924

I'll do license obtaining in a while and decrypting IPA payload with derived AES keys from pongoOS.

@NyaMisty
Copy link
Owner

NyaMisty commented Nov 11, 2021 via email

@vadimszzz
Copy link

vadimszzz commented Nov 11, 2021

What? It doesn't need windows, it's depends on iTunes.dll but they have their own xhiTunes.cpp independent implementation which can be rewrote in python.

@vadimszzz
Copy link

vadimszzz commented Nov 11, 2021

DLL application.

Oh sorry I was wrong, it's dependent library.
I'll do some reverse engineering research to achieve absolutely independent algorithm without iTunes. It's very hard work.

@NyaMisty
Copy link
Owner

NyaMisty commented Nov 11, 2021 via email

@DarielHG89
Copy link

hi, any news obtaining the app license?

@langkhach270389
Copy link

ipatool release support obtain license. Please update features. Thanks

To obtain a license for an app, use the purchase command.

OVERVIEW: Obtain a license for the app from the App Store.

USAGE: ipatool purchase --bundle-ide

@R1p4eg
Copy link

R1p4eg commented Apr 10, 2022

+1 for this feature from ipatool.

Thank you!

@NyaMisty
Copy link
Owner

Now it have this feature, thanks for letting me know!

@vadimszzz
Copy link

In short: you can't As no one really successfully reverse engineered the FairPlay FIRST_NAME LAST_NAME @.***> 于2021年11月11日周四 下午10:47写道:

Their algorithm is not obfuscated or something. Looks like just nobody have tried.

@vadimszzz
Copy link

ipatool release support obtain license. Please update features. Thanks

To obtain a license for an app, use the purchase command.

OVERVIEW: Obtain a license for the app from the App Store.

USAGE: ipatool purchase --bundle-ide

Wow, I thought it would never happen if I wouldn’t do that
Very nice

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

6 participants