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

feat(NU.nl): Add Hide ads and Spoof Certificate patch #4368

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

jabbink
Copy link

@jabbink jabbink commented Jan 29, 2025

Adds two patches:

  1. Remove several entry points for ads in nl.sanomamedia.android.nu
  2. Spoof the certificate to the original one from the Play Store to restore the remote firebase functionality

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat(nu.nl): add remove ads patch feat(nu.nl): Add Hide ads patch Jan 29, 2025
@jabbink jabbink force-pushed the feat/nu-nl-remove-ads branch from 93ec15d to ed84ad6 Compare January 29, 2025 09:38
@jabbink jabbink changed the title feat(nu.nl): Add Hide ads patch feat(nu.nl): Add Hide ads and Spoof Certificate patch Jan 30, 2025
@oSumAtrIX oSumAtrIX changed the title feat(nu.nl): Add Hide ads and Spoof Certificate patch feat(NU.nl): Add Hide ads and Spoof Certificate patch Feb 6, 2025
@LisoUseInAIKyrios
Copy link
Contributor

Is this ready to merge?

returns("Ljava/lang/String;")

custom { methodDef, classDef ->
classDef.type.startsWith("Lcom/google/firebase/") && methodDef.name == "getFingerprintHashForPackage"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

classDef already extends CharSequence, you can just call startsWith on it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was always intended to match 3 methods; adjusted to now have 3 signatures in separate classes and patch all 3

still relies on classDef.type now to check for equality of full class name, as many other fingerprints in this project do
that said, the documentation implies that one could check that as well without the .type which I think is incorrect or I'm doing something wrong

…3 methods

- fix patches.api reference after previous rename
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

Successfully merging this pull request may close these issues.

3 participants