Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Java.perform(function() {
- var RootBeer = Java.use('com.scottyab.rootbeer.RootBeer');
- RootBeer.isRooted.implementation = function() {
- console.log('[+] Overriding RootBeer.isRooted');
- return false;
- };
- RootBeer.detectRootManagementApps.implementation = function() {
- console.log('[+] Overriding RootBeer.detectRootManagementApps');
- return [];
- };
- RootBeer.detectPotentiallyDangerousApps.implementation = function() {
- console.log('[+] Overriding RootBeer.detectPotentiallyDangerousApps');
- return [];
- };
- RootBeer.checkForBusyBoxBinary.implementation = function() {
- console.log('[+] Overriding RootBeer.checkForBusyBoxBinary');
- return false;
- };
- RootBeer.checkForSuBinary.implementation = function() {
- console.log('[+] Overriding RootBeer.checkForSuBinary');
- return false;
- };
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement