{"id":13537426,"url":"https://github.com/lamster2018/easyprotector","last_synced_at":"2025-05-15T09:08:13.200Z","repository":{"id":40669449,"uuid":"133365517","full_name":"lamster2018/EasyProtector","owner":"lamster2018","description":"一行代码检测XP/调试/多开/模拟器/root","archived":false,"fork":false,"pushed_at":"2023-08-31T06:30:08.000Z","size":1050,"stargazers_count":2245,"open_issues_count":40,"forks_count":452,"subscribers_count":52,"default_branch":"master","last_synced_at":"2025-05-15T09:08:04.205Z","etag":null,"topics":["android","emulator","hook","security-tools","xposed"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamster2018.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-14T13:33:42.000Z","updated_at":"2025-05-14T17:03:06.000Z","dependencies_parsed_at":"2022-07-14T05:00:35.279Z","dependency_job_id":"d9db56ed-ff32-4805-aba8-fd18591964bf","html_url":"https://github.com/lamster2018/EasyProtector","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamster2018%2FEasyProtector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamster2018%2FEasyProtector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamster2018%2FEasyProtector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamster2018%2FEasyProtector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamster2018","download_url":"https://codeload.github.com/lamster2018/EasyProtector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310520,"owners_count":22049470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","emulator","hook","security-tools","xposed"],"created_at":"2024-08-01T09:00:58.938Z","updated_at":"2025-05-15T09:08:08.185Z","avatar_url":"https://github.com/lamster2018.png","language":"Java","funding_links":[],"categories":["\u003ca id=\"9eee96404f868f372a6cbc6769ccb7f8\"\u003e\u003c/a\u003e新添加的"],"sub_categories":["\u003ca id=\"31185b925d5152c7469b963809ceb22d\"\u003e\u003c/a\u003e新添加的"],"readme":"# 之前托管在bintray，然后这个仓库关停了，我也没空转移维护，个人力量搞不过厂商，暂时不维护了。\n\n# EasyProtector  [ ![Download](https://api.bintray.com/packages/lamster2018/maven/easy-protector-release/images/download.svg) ](https://bintray.com/lamster2018/maven/easy-protector-release/_latestVersion)\n\nEasyProtector，a simple way to check root/virtual app/emulator/xposed framework/tracer/debugger.\n\n很多朋友是通过[郭霖老师的公众号推送](https://mp.weixin.qq.com/s/XvqUc3drJhdJ9hOuCcfdkg) 或者[陈宇明老师的公众号推送](https://mp.weixin.qq.com/s/7I_vGV77TWqhQR9Myc5FQg)了解到这个库的。\n\n既然来都来了，欢迎大家star/fork,哪怕提个issue都好，我希望这是一个好用的库（省去application的初始化操作，避免更多的权限要求，尽可能的懒加载）\n\n\n更新细节点[这里](https://github.com/lamster2018/EasyProtector/releases)\n\n主要是修复了一堆bug，适配情况看image文件夹里的图，\n\n腾讯乐固旧版的XposedCheck代码，是有copy SecurityCheckUtil里的部分代码的，新版已经看不到了，\n\n毕竟模拟器是公司级别的产品，个人能力有限，希望大家多提pr。\n\n\n# Document\n\n- [中国人猛戳这里](https://www.jianshu.com/p/c37b1bdb4757)\n- English （not yet）\n\n\n\n# Download\n\n\n\nYou can download a jar from GitHub's [releases page](https://github.com/lamster2018/EasyProtector/releases).\n\n\n\nOr use Gradle:\n\n```\nrepositories {\n  jcenter()\n  maven()\n  google()\n}\n\ndependencies {\n  implementation 'com.lahm.library:easy-protector-release:latest.release'\n}\n```\n\n\n\nOr maven\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.lahm.library\u003c/groupId\u003e\n  \u003cartifactId\u003eeasy-protector-release\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n\n\n# How do I use it？\n\nEasyProtectorLib.checkIsRoot();\n\nEasyProtectorLib.checkIsDebug();\n\nEasyProtectorLib.checkIsPortUsing();\n\nEasyProtectorLib.checkXposedExistAndDisableIt();\n\nEasyProtectorLib.checkIsBeingTracedByC();\n\nEasyProtectorLib.checkIsRunningInVirtualApk();\n\nEasyProtectorLib.checkIsRunningInEmulator();\n\n......\n\nMore function see\n\nSecurityCheckUtil.class\n\nEmulatorCheckUtil.class\n\nVirtualApkCheckUtil.class\n\nAccessibilityServicesCheckUtil.class\n\n\n# Proguard\n\nno need\n\n\n\n# Compatibility\n\n- Minimum Android SDK: requires a minimum API level of 16.\n- CPU: support x86 \u0026 arm\n\n\n\n# Test\n\n| Phone      | SDK         | ROM             |\n| ---------- | ----------- | --------------- |\n| RedMi 3s   | Android 6.0 | google eng      |\n| Huawei P9  | Android 7.0 | EMUI 5.1 root   |\n| Mix 2      | Android 8.0 | MIUI 9 stable   |\n| OnePlus 5T | Android 8.1 | H2OS 5.1 stable |\n\n\n\n# License\nApache 2.0. See the [LICENSE](https://github.com/lamster2018/EasyProtector/blob/master/LICENSE) file for details.\n\n\n# About Emulator Detecting\n\n自2018/6/13集成并上线自己的项目里，至10/24已经收集了11w+疑似模拟器的检测数据，\n如果各位需要在业务里做非常细致的模拟器鉴别，可以在自行增加判断条件。\n\n各位老铁提有关xx模拟器检测不出的issue的时候，请尽量附上emulatorInfo信息哈，我的demo里专门给你们打印了，这样方便调试。\n\n**PS：各版本检测结果可以去[image](https://github.com/lamster2018/EasyProtector/tree/dev_v1.1.1/image)查看**\n\n\n\n![demo capture](https://upload-images.jianshu.io/upload_images/2554175-0bc24eb8a302c766.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamster2018%2Feasyprotector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamster2018%2Feasyprotector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamster2018%2Feasyprotector/lists"}