Git Product home page Git Product logo

iosjailbreakdetection's Introduction

iOSJailbreakDetection

最后更新:20221106

iOS的ObjC的app,实现越狱检测功能

项目源码

https://github.com/crifan/iOSJailbreakDetection

git clone https://github.com/crifan/iOSJailbreakDetection.git

功能介绍

主要分2部分=2个页面:

  • 文件类的越狱检测 = JbDetectOpenFileViewController
  • 其他方面的越狱检测 = JbDetectOtherViewController

检测效果举例

此处有一个越狱手机,iPhone7,下面是检测结果:

没开启反越狱

文件类的:JbDetectOpenFileViewController

初始化默认显示:

file_default_1

file_default_2

分别点击一些按钮,对应的检测出的结果,即越狱文件路径的个数:

  • stat: 43
    • file_result_43_stat
  • lstat: 8
    • file_result_8_lstat
  • statfs: 77
    • file_result_77_statfs
  • opendir: 0
    • file_result_0_opendir

其他的:JbDetectOtherViewController

初始化默认显示:

other_default_1

other_default_2

分别点击一些按钮,对应的检测出的结果,即是否是越狱手机,以及异常的越狱手机才会有的动态库dylib文件的个数:

  • cydia:是越狱手机
    • other_result_cydia
  • dlopen+dlsym:是越狱手机,4个
    • other_result_dl_4
  • _dyld_image_count() + _dyld_get_image_name():是越狱手机,5个
    • other_result_dyld_5
  • LSApplication:是越狱手机,123个异常的app
    • other_result_lsapplication
  • objc_copyImageNames:是越狱手机,1个
    • other_result_objcCopy_1

开启反越狱

开启反越狱后的测试效果,详见:

iOSBypassJailbreak = iOS反越狱检测

iosjailbreakdetection's People

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.