RootCheck_Pro
RootCheck_Pro is a comprehensive library designed to detect root access and jailbreak status on Android devices. It helps developers ensure their applications run securely on devices without unauthorized modifications.
Features
- Root Detection: Identifies if the device has been rooted.
- Jailbreak Detection: Checks for signs of jailbreak on Android devices.
- Root Cloaking Detection: Detects apps and methods that attempt to hide root status.
- Dangerous Apps Detection: Identifies potentially harmful apps installed on the device.
- SuperUser Path Detection: Checks for the presence of common superuser paths.
Installation
Based on RootBeer , RootInspector , DetectMagiskHide for Android, and IOSSecuritySuite for iOS. I'm developing a Flutter package where I've copied and modified some code to create the 'root_jailbreak_sniffer' package. root_jailbreak_sniffer,
Getting Started
Install
$ flutter pub add root_jailbreak_sniffer
or add the below line to your package's pubspec.yaml:
dependencies:
root_jailbreak_sniffer: ^1.0.6
Platform Based Configurations
Android
No Configurations Needed.
iOS
Add following lines to the Info.plist file in /ios/Runner/ folder.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>undecimus</string>
<string>sileo</string>
<string>zbra</string>
<string>filza</string>
<string>activator</string>
</array>
Usage
import 'package:root_jailbreak_sniffer/rjsniffer.dart';
bool amICompromised = await Rjsniffer.amICompromised() ?? false; //Detect JailBreak and Root
bool amIEmulator = await Rjsniffer.amIEmulator() ?? false; //Detect Emulator Environment
bool amIDebugged = await Rjsniffer.amIDebugged() ?? false; //Detect being Debugged