cordova-plugin-iroot
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -5,2 +5,6 @@ # Cordova Jailbreak/Root Detection Plugin | ||
### v2.1.0 | ||
- Add Check by Methods and Remove Check isRunningOnEmulator by default (https://github.com/WuglyakBolgoink/cordova-plugin-iroot/pull/43) | ||
### v2.0.0 | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "cordova-plugin-iroot", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Cordova Jailbreak/Root Detection Plugin for Apache Cordova", | ||
@@ -37,3 +37,3 @@ "types": "./types/index.d.ts", | ||
], | ||
"author": "Wuglyak Bolgoink (info@cyberkatze.de)", | ||
"author": "Elderov Ali (info@cyberkatze.de)", | ||
"license": "MIT", | ||
@@ -40,0 +40,0 @@ "bugs": { |
@@ -94,2 +94,4 @@ ![version][version-shield] | ||
- https://github.com/Stericson/RootTools/tree/master/src/main/java/com/stericson/RootTools | ||
5. Frida detect | ||
5. Magestic detect | ||
@@ -96,0 +98,0 @@ [license-shield]:https://img.shields.io/github/license/WuglyakBolgoink/cordova-plugin-iroot?style=flat |
@@ -9,4 +9,62 @@ /** | ||
isRootedWithBusyBox(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
detectRootManagementApps(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
detectPotentiallyDangerousApps(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
detectTestKeys(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkForBusyBoxBinary(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkForSuBinary(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkSuExists(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkForRWPaths(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkForDangerousProps(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkForRootNative(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
detectRootCloakingApps(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isSelinuxFlagInEnabled(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isExistBuildTags(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
doesSuperuserApkExist(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isExistSUPath(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkDirPermissions(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkExecutingCommands(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkInstalledPackages(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkforOverTheAirCertificates(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isRunningOnEmulator(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
simpleCheckEmulator(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
simpleCheckSDKBF86(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
simpleCheckQRREFPH(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
simpleCheckBuild(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkGenymotion(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkGeneric(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
checkGoogleSDK(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
togetDeviceInfo(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isRootedWithEmulator(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
isRootedWithBusyBoxWithEmulator(onSuccess: (boolean) => void, onError: (any) => void): void; | ||
} | ||
declare var IRoot: IRootPlugin; |
@@ -9,3 +9,90 @@ var exec = require('cordova/exec'); | ||
exec(onSuccess, onError, 'IRoot', 'isRootedWithBusyBox', []); | ||
}, | ||
detectRootManagementApps: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'detectRootManagementApps', []); | ||
}, | ||
detectPotentiallyDangerousApps: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'detectPotentiallyDangerousApps', []); | ||
}, | ||
detectTestKeys: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'detectTestKeys', []); | ||
}, | ||
checkForBusyBoxBinary: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkForBusyBoxBinary', []); | ||
}, | ||
checkForSuBinary: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkForSuBinary', []); | ||
}, | ||
checkSuExists: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkSuExists', []); | ||
}, | ||
checkForRWPaths: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkForRWPaths', []); | ||
}, | ||
checkForDangerousProps: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkForDangerousProps', []); | ||
}, | ||
checkForRootNative: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkForRootNative', []); | ||
}, | ||
detectRootCloakingApps: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'detectRootCloakingApps', []); | ||
}, | ||
isSelinuxFlagInEnabled: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isSelinuxFlagInEnabled', []); | ||
}, | ||
isExistBuildTags: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isExistBuildTags', []); | ||
}, | ||
doesSuperuserApkExist: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'doesSuperuserApkExist', []); | ||
}, | ||
isExistSUPath: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isExistSUPath', []); | ||
}, | ||
checkDirPermissions: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkDirPermissions', []); | ||
}, | ||
checkExecutingCommands: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkExecutingCommands', []); | ||
}, | ||
checkInstalledPackages: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkInstalledPackages', []); | ||
}, | ||
checkforOverTheAirCertificates: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkforOverTheAirCertificates', []); | ||
}, | ||
isRunningOnEmulator: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isRunningOnEmulator', []); | ||
}, | ||
simpleCheckEmulator: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'simpleCheckEmulator', []); | ||
}, | ||
simpleCheckSDKBF86: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'simpleCheckSDKBF86', []); | ||
}, | ||
simpleCheckQRREFPH: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'simpleCheckQRREFPH', []); | ||
}, | ||
simpleCheckBuild: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'simpleCheckBuild', []); | ||
}, | ||
checkGenymotion: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkGenymotion', []); | ||
}, | ||
checkGeneric: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkGeneric', []); | ||
}, | ||
checkGoogleSDK: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'checkGoogleSDK', []); | ||
}, | ||
togetDeviceInfo: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'togetDeviceInfo', []); | ||
}, | ||
isRootedWithEmulator: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isRootedWithEmulator', []); | ||
}, | ||
isRootedWithBusyBoxWithEmulator: function(onSuccess, onError) { | ||
exec(onSuccess, onError, 'IRoot', 'isRootedWithBusyBoxWithEmulator', []); | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106973
134
109