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

Faster obfuscation updates to match SC? #36

Open
dkisselev opened this issue Nov 9, 2015 · 4 comments
Open

Faster obfuscation updates to match SC? #36

dkisselev opened this issue Nov 9, 2015 · 4 comments

Comments

@dkisselev
Copy link

I noticed that you've had the next set of obfuscation fixes in the repository for around a week now, but haven't updated the module APK so a lot of features don't work for those that has snapprefs installed even if the fixes have been made.

Is there a potential alternative method of handling the obfuscation strings so that they can be released/integrated into the app quicker?

Perhaps an online source (doesn't even have to be an API, toss json files onto github pages and tell the app to check the repo daily) with string names and known-blacklisted features for every supported version of SC, that way you can release those outside of the app lifecycle for faster updates and if a certain snapchat change turns out to crash snapprefs, you have a way of remotely disabling that feature so it keeps working.

I'm not sure if xposed will work with dynamic strings as hook class/method names, but just an idea.

@XspeedPL
Copy link

XspeedPL commented Apr 7, 2016

I think it's actually a decent idea.
It should work, as hooking takes place when SC package is loaded, long after system's. Database could be updated and stored in Snapprefs anyway.

@quorn23
Copy link
Contributor

quorn23 commented Sep 9, 2016

https://github.com/iHelp101/XInsta

The Xinsta (Xposed Instagram module) uses a hook method. Maybe this helps to get an idea how to implement such function.

@marzika
Copy link
Owner

marzika commented Sep 28, 2016

We will work on implementing it, putting it here just a reminder:

  • Use .json format
  • Move every hook into initHook
  • Check for files in /assets/ and /sdcard/Snapprefs/Hooks
  • If found, initialize hooks, if not found query the server for the hooks
  • If the server returns without error save the response and offer to restart SC (force close it), else offer to downgrade

@JaKrIvMa
Copy link

When faster obfuscation is implemented, is it then possible to have all versions of the previous supported snapschat versions listed and then the user could choose the version he/she is using?

Maybe make the hook updater automated at the end so it will automatically create the newest hooks to the newest version of the snapschat.

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

No branches or pull requests

5 participants