Code Monkey home page Code Monkey logo

checkjailbreakdevice's Introduction

CheckJailBreakDevice - jailbreak-detection

Detect Jail break device| iOS| Avoid Attackers to intrude in your application by all means possible in a single page| Supported to Swift (world first Protocol Oriented Language ๐Ÿค˜)

Build Status License CocoaPods Compatible
Platform

CheckJailBreakDevice is a framework with a lot of access to detect if the iOS device is a Jail Break in your iOS App.

Features

  • Protocol Oriented based Implementation
  • Light Weigth code

Requirements

  • iOS 10.0+
  • Xcode 10.0+
  • Swift 5.0+

Instructions

Download the file DetectJailBreakDevice.swift and add it into your project.

Usage example

// Step 1:- Include Delegate "Check_Method_Of_JailBreak" in your particular ViewController/ AppDelegate.
class ViewController: UIViewController, Check_Method_Of_JailBreak {
// Delegate Method to take necessary action
    func sendTheStatusOfJailBreak(value: Bool) {
        if value{
            UIControl().sendAction(#selector(URLSessionTask.suspend), to: UIApplication.shared, for: nil)
            // exit(-1)
        }
    }
   override func viewDidLoad() {
        super.viewDidLoad()
        // Step 2:-
        // What type of check one need to do either by 'readAndWriteFiles' on system or by calling API of system to check if it can run child process
        // preferable is 'readAndWriteFiles'
        assignJailBreakCheckType(type: .readAndWriteFiles)
     }
}

Also add cydia in your info.plist under LSApplicationQueriesSchemes.

    <key>LSApplicationQueriesSchemes</key>
    <array>
    <string>cydia</string>
    </array>

Tutorial

Medium

Contribute

We would love you for the contribution to CheckJailBreakDevice, check the LICENSE file for more info.

Meta

Sachin Sabat โ€“ LinkedIn โ€“ [email protected]

Distributed under the MIT license. See LICENSE for more information.

GitHub

checkjailbreakdevice's People

Contributors

sachinsabat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.