Git Product home page Git Product logo

easyprotector's Introduction

EasyProtector Download

EasyProtector,a simple way to check root/virtual app/emulator/xposed framework/tracer/debugger.

很多朋友是通过郭霖老师的公众号推送 或者陈宇明老师的公众号推送了解到这个库的。

既然来都来了,欢迎大家star/fork,哪怕提个issue都好,我希望这是一个好用的库(省去application的初始化操作,避免更多的权限要求,尽可能的懒加载)

更新细节点这里

主要是修复了一堆bug,适配情况看image文件夹里的图,

腾讯乐固旧版的XposedCheck代码,是有copy SecurityCheckUtil里的部分代码的,新版已经看不到了,

毕竟模拟器是公司级别的产品,个人能力有限,希望大家多提pr。

Document

Download

You can download a jar from GitHub's releases page.

Or use Gradle:

repositories {
  jcenter()
  maven()
  google()
}

dependencies {
  implementation 'com.lahm.library:easy-protector-release:latest.release'
}

Or maven

<dependency>
  <groupId>com.lahm.library</groupId>
  <artifactId>easy-protector-release</artifactId>
  <version>1.1.0</version>
  <type>pom</type>
</dependency>

How do I use it?

EasyProtectorLib.checkIsRoot();

EasyProtectorLib.checkIsDebug();

EasyProtectorLib.checkIsPortUsing();

EasyProtectorLib.checkXposedExistAndDisableIt();

EasyProtectorLib.checkIsBeingTracedByC();

EasyProtectorLib.checkIsRunningInVirtualApk();

EasyProtectorLib.checkIsRunningInEmulator();

......

More function see

SecurityCheckUtil.class

EmulatorCheckUtil.class

VirtualApkCheckUtil.class

AccessibilityServicesCheckUtil.class

Proguard

no need

Compatibility

  • Minimum Android SDK: requires a minimum API level of 16.
  • CPU: support x86 & arm

Test

Phone SDK ROM
RedMi 3s Android 6.0 google eng
Huawei P9 Android 7.0 EMUI 5.1 root
Mix 2 Android 8.0 MIUI 9 stable
OnePlus 5T Android 8.1 H2OS 5.1 stable

License

Apache 2.0. See the LICENSE file for details.

About Emulator Detecting

自2018/6/13集成并上线自己的项目里,至10/24已经收集了11w+疑似模拟器的检测数据, 如果各位需要在业务里做非常细致的模拟器鉴别,可以在自行增加判断条件。

各位老铁提有关xx模拟器检测不出的issue的时候,请尽量附上emulatorInfo信息哈,我的demo里专门给你们打印了,这样方便调试。

PS:各版本检测结果可以去image查看

demo capture

easyprotector's People

Contributors

jasonlian2020 avatar lamster2018 avatar goodong avatar

Watchers

James Cloos 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.