Native Device security checks, Rooted/Jailbroken, Not real device, Developer mode is on, On external drive.

Overview

palestine_trusted_device

Native Device security checks, Rooted/Jailbroken, Not real device, Developer mode is on, On external drive.

License Pub Example

Part of PalestineDevelopers project

Fork Star Watch

Features

  • Android/IOS security checks

Getting started

To start, import package

import 'package:palestine_trusted_device/palestine_trusted_device.dart';

Usage

Just as easy as this

PalTrustedDevice.check(
      onFail: () {
        // Not Secure Env Detected
      },
    );

Customizing checks available too

PalTrustedDevice.check(
      checkRealDevice: true, // Android + IOS
      checkDevMode: false, // Android
      checkOnExternalStorage: false, // Android
      checkRooted: true, // Android + IOS
      onFail: () {
        // Not Secure Env Detected
      },
    );

It's possible to await until the check is done

await PalTrustedDevice.check(
      onFail: () {
        // Not Secure Env Detected
      },
    );
You might also like...
SpringBoot-Security-Kotlin - JPA, MraiaDB , Security, 인증 및 권한(Role여러개)

SpringBoot-Security-Kotlin 프로젝트 생성시 java 11 , SpringBoot 2.6.2 , jar-gradle 기본환경 mariadb 잘 안됐던 내용 참고 권한 여러개 설정시 interface UserDetails를 implements할때 ge

Find Security Bugs is the SpotBugs plugin for security audits of Java web applications
Find Security Bugs is the SpotBugs plugin for security audits of Java web applications

The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)

Sources for the LiveBoot app for rooted Android devices

This is the sauce for the LiveBoot app. License Copyright © 2011-2020 Jorrit Chainfire Jongma This code is released under the GPLv3. LICENSE, COPYING.

A Basic Call Recorder for rooted Android devices
A Basic Call Recorder for rooted Android devices

Basic Call Recorder BCR is a simple Android call recording app for rooted devices or devices running custom firmware. Once enabled, it stays out of th

EduApp is a mini e-learning platform based on udemy's public api. It has 4 main navigation destinations (Home, Search, Wishlist, Cart). Users can search courses from different categories and get real-time results from the api using Chips for a smooth filtering experience. It has different theme for dark mode. Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.
Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.

Secure-preferences - Deprecated Please use EncryptedSharedPreferences from androidx.security in preferenced to secure-preference. (There are no active

[] Android library that provides a file explorer to let users select files on external storage.
[] Android library that provides a file explorer to let users select files on external storage.

aFileChooser - Android File Chooser aFileChooser is an Android Library Project that simplifies the process of presenting a file chooser on Android 2.1

Unified API Library for: Cloud Storage, Social Log-In, Social Interaction, Payment, Email, SMS, POIs, Video & Messaging. Included services are Dropbox, Google Drive, OneDrive, OneDrive for Business, Box, Egnyte, PayPal, Stripe,  Google Places, Foursquare, Yelp, YouTube, Vimeo, Twitch, Facebook Messenger, Telegram, Line, Viber, Facebook, GitHub, Google+, LinkedIn, Slack, Twitter, Windows Live, Yahoo, Mailjet, Sendgrid, Twilio, Nexmo, Twizo. Open-source telematics app for Android. The application is suitable for UBI (Usage-based insurance), shared mobility, transportation, safe driving, tracking, family trackers, drive-coach, and other driving mobile applications
Open-source telematics app for Android. The application is suitable for UBI (Usage-based insurance), shared mobility, transportation, safe driving, tracking, family trackers, drive-coach, and other driving mobile applications

TelematicsApp-Android with Firebase© integration Description This Telematics App is created by DATA MOTION PTE. LTD. and is distributed free of charge

Free & Open-Source External Scripting Platform
Free & Open-Source External Scripting Platform

LeagueOfJire Free & Open-Source External Scripting Platform What features does this have? All of the feature's source-code can be found in the userscr

Sync floder from drive to local storage

GDrive #refrence and steps to upload - https://developers.google.com/drive/api/v3/manage-uploads to download - https://developers.goo

A mobile application developed for *Android* devices, aimed at 11th grade students in which they can take some basic training tests for presentation of external tests.

ApliKTest11 Application with Kit of questions and Knowledge Test for the preparation of the Saber Test. Description A mobile application developed for

An easy-to-use Android library that will help you to take screenshots of specif views of your app and save them to external storage (Including API 29 Q+ with Scope Storage)

🇺🇸 English | 🇧🇷 Português (pt-br) 🇺🇸 English: An easy to use Library that will help you to take screenshots 📸 of the views in your app Step 1.

To-Do-List - Create a To Do List-style App from scratch and drive the entire development process using Kotlin
To-Do-List - Create a To Do List-style App from scratch and drive the entire development process using Kotlin

To-Do-List! Crie um App no estilo "To Do List" do zero e conduza todo o processo

An Android app to stream and download your media stored in Google Drive in an Awesome way !!
An Android app to stream and download your media stored in Google Drive in an Awesome way !!

⚡ Thunder : An Android app to stream and download your media stored in Google Drive in an Awesome way !! (Just Movies for now) 🔘 Getting Started : Le

Android Phishing Application.This Project is for Educational purposes only.The Developer of this application is not responsible of any bad usage
Android Phishing Application.This Project is for Educational purposes only.The Developer of this application is not responsible of any bad usage

Android Phishing Application.This Project is for Educational purposes only.The Developer of this application is not responsible of any bad usage

An Android app that scans images or human faces in real time and detects whether the mask is worn or not, with the ability to set an audible alert
An Android app that scans images or human faces in real time and detects whether the mask is worn or not, with the ability to set an audible alert

Swift Mask Real time face mask detection Brief overview Swift Mask scans images or human faces in real time and detects whether the mask is worn or no

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.

AppUpdater Android Library Android Library that checks for updates on Google Play, GitHub, Amazon, F-Droid or your own server. This library notifies y

A collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack.

slack-lints This repository contains a collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack. This repo

Comments
  • realDevice check fails on android emulator, reported by Mohamed Hussien

    realDevice check fails on android emulator, reported by Mohamed Hussien

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Version [e.g. 22]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Version [e.g. 22]

    Additional context Add any other context about the problem here.

    opened by msayed-net 1
  • Tried an emulator and it didn't work (Nox)

    Tried an emulator and it didn't work (Nox)

    import 'package:flutter/material.dart'; import 'package:carrier_info/carrier_info.dart'; import 'package:palestine_trusted_device/palestine_trusted_device.dart'; class TestSim extends StatefulWidget { const TestSim({Key? key}) : super(key: key);

    @override _TestSimState createState() => _TestSimState(); }

    class _TestSimState extends State { String issafe="true"; // Platform messages are asynchronous, so we initialize in an async method. Future checkemulator() async { await PalTrustedDevice.check( checkRealDevice: true, // Android + IOS checkDevMode: false, // Android checkOnExternalStorage: false, // Android checkRooted: false, onFail: () { // Not Secure Env Detected setState(() { issafe="Not Secure Env Detected"; }); print("Not Secure Env Detected"); }, ); } @override void initState() { // TODO: implement initState super.initState(); checkemulator(); } @override Widget build(BuildContext context) { return Scaffold( body: SafeArea( child: Center( child: Container( child: Center( child: Text( issafe ), ), ), ), ), ); } } Screenshot (57) Screenshot (58)

    bug good first issue 
    opened by mohu2212 14
Releases(v0.1.1)
Owner
Palestine Developers
Palestine Developers
Tiny app to enforce security policies of your device

Sentry Enforce security policies. Tiny app to enforce security policies of your device. It can: limit the maximum number of failed password attempts d

lucky 43 Dec 24, 2022
A collection of android security related resources

android-security-awesome A collection of android security related resources. Tools Academic/Research/Publications/Books Exploits/Vulnerabilities/Bugs

Ashish Bhatia 6.6k Jan 5, 2023
Simple API to perform AES encryption on Android. This is the Android counterpart to the AESCrypt library Ruby and Obj-C (with the same weak security defaults :( ) created by Gurpartap Singh. https://github.com/Gurpartap/aescrypt

AESCrypt-Android Simple API to perform AES encryption on Android with no dependancies. This is the Android counterpart to the AESCrypt library Ruby an

Scott Alexander-Bown 636 Dec 18, 2022
Secure your REST APIs with Spring Security, Resource and Authorization Server from zero to JWT

Secure REST APIs with Spring ./mvnw RTFM YouTube: Spring Security Patterns YouTube: Spring Security 5.5 From Taxi to Takeoff Official Apache Maven doc

Maksim Kostromin 1 Dec 5, 2021
Mobile Security Framework (MobSF)

Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.

Mobile Security Framework 13.2k Jan 4, 2023
CLI tool for decompiling Android apps to Java. It does resources! It does Java! Its real easy!

Easy-as-pie Android Decompiler Why One stop shop I got pretty tired of decompiling Android apps with a bunch of steps that I had to remember all the t

Alex Davis 619 Dec 27, 2022
BlackDex is an Android unpack tool, it supports Android 5.0~12 and need not rely to any environment. BlackDex can run on any Android mobile phones or emulators, you can unpack APK File in several seconds.

BlackDex is an Android unpack tool, it supports Android 5.0~12 and need not rely to any environment. BlackDex can run on any Android mobile phones or emulators, you can unpack APK File in several seconds.

null 4.3k Jan 2, 2023
Unlock an Android phone (or device) by bruteforcing the lockscreen PIN.

Unlock an Android phone (or device) by bruteforcing the lockscreen PIN. Turn your Kali Nethunter phone into a bruteforce PIN cracker for Android devices! (no root, no adb)

Andrew Horton 2.7k Jan 1, 2023
External plugins for use with OpenOSRS, this is a seperate entity, not OpenOSRS

ExternalPlugins External plugins for use with OpenOSRS, this is a seperate entity, not OpenOSRS. Add this repo to your external plugins manager by cli

null 0 Nov 18, 2021
Maintenance mode library for spring boot web and security projects.

spring-boot-starter-maintenance spring-boot-starter-maintenance is a maintenance mode library for spring boot web and security projects. Download Grad

Viascom 3 Nov 3, 2022