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

Update RootCloak against RootBeer checks #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prattpratt
Copy link

  • Remove tool-checker library hook as it cause crash.
  • Add hook for RootBeerNative.checkForRoot() native method.
  • Add hook for exec 'getprop' command.
  • Update hook for SystemProperties.get("ro.build.selinux").

- Remove tool-checker library hook as it cause crash.
- Add hook for RootBeerNative.checkForRoot() native method.
- Add hook for exec 'getprop' command.
- Update hook for SystemProperties.get("ro.build.selinux").
@rowandh
Copy link

rowandh commented Jan 24, 2017

RootBeer also exposes a few public methods, which some apps call directly instead of using RootBeerNative.checkForRoot().

Using this PR as a basis, I added some hooks to override these methods in rowandh@28ae8f9

I'll submit a new PR with these additions.

@bluee
Copy link

bluee commented Mar 22, 2017

Examples of these checks are:

        RootBeer rootBeer = new RootBeer(this);
        boolean checkForBinary = rootBeer.checkForBinary("su");
        boolean checkForDangerousProps = rootBeer.checkForDangerousProps();
        boolean checkForRWPaths = rootBeer.checkForRWPaths();
        boolean detectTestKeys = rootBeer.detectTestKeys();
        boolean checkSuExists = rootBeer.checkSuExists();
        boolean checkForRootNative = rootBeer.checkForRootNative();

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.

None yet

3 participants