oneroot 0.0.7 oneroot: ^0.0.7 copied to clipboard
Introducing our innovative root & jailbreak detection plugin called OneRoot, a powerful tool that allows you to check the part of your device security.
oneroot #
Introducing our innovative root & jailbreak detection plugin called OneRoot, a powerful tool that allows you to check the part of your device security.
As per the OWAPS standard, we have to create a way for programmatic detection.
- File Existence Checks
- Executing Su And Other Commands
- Checking Running Processes
- Checking Installed App Packages
- Checking For Writable Partitions And System Directories
- Checking The Debuggable Flag In Application info
- Timer Checks
- Messing With Jdwp Related Data structures
- Checking Tracer pid
Features #
- Android Root Detection
- IOS JailBreak Detection (coming soon)
Getting started #
To use this package, add oneroot as a dependency in your pubspec.yaml file.
Usage #
- On pubspeck.yaml
oneroot: ^0.0.6
- On Dart Import
import 'package:oneroot/oneroot.dart';
- On implementation of Root Detection
//init plugin object
final _onerootPlugin = Oneroot();
//Method will return "ROOTED" as a string value if you are running on a rooted environment.
String platformRootStatus = await _onerootPlugin.getRootChecker();
//Method will return the OS version.
String platformVersion = await _onerootPlugin.getRootChecker();
One Root - Android Root Detection | One Root - IOS JailBreak Detection |
Coming Soon |
-
See also from Developer