{"id":13843137,"url":"https://github.com/simplepeng/HeGuiChecker","last_synced_at":"2025-07-11T18:30:32.402Z","repository":{"id":37321389,"uuid":"436210209","full_name":"simplepeng/HeGuiChecker","owner":"simplepeng","description":"🔥🔥🔥  基于Hook方案的合规化检测器","archived":false,"fork":false,"pushed_at":"2025-06-10T07:33:22.000Z","size":689,"stargazers_count":206,"open_issues_count":0,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-10T08:32:27.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplepeng.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-08T10:44:17.000Z","updated_at":"2025-06-10T07:33:25.000Z","dependencies_parsed_at":"2025-06-10T08:36:27.227Z","dependency_job_id":null,"html_url":"https://github.com/simplepeng/HeGuiChecker","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/simplepeng/HeGuiChecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplepeng%2FHeGuiChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplepeng%2FHeGuiChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplepeng%2FHeGuiChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplepeng%2FHeGuiChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplepeng","download_url":"https://codeload.github.com/simplepeng/HeGuiChecker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplepeng%2FHeGuiChecker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264869913,"owners_count":23676129,"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":[],"created_at":"2024-08-04T17:01:55.930Z","updated_at":"2025-07-11T18:30:32.371Z","avatar_url":"https://github.com/simplepeng.png","language":"Java","readme":"# HeGuiChecker\n\n合规检测器-基于工信部[最新标准](http://www.gov.cn/zhengce/zhengceku/2020-08/02/content_5531975.htm)\n\n下面是我基于`工信部文件`整理出来已经`hook`了的方法，如有其他的可以提个`issue`。\n\n| 包名                               | 方法名                                                       |\n| ---------------------------------- | ------------------------------------------------------------ |\n| android.telephony.TelephonyManager | getDeviceId,getImei,getSubscriberId                          |\n| android.net.wifi.WifiInfo          | getMacAddress                                                |\n| java.net.NetworkInterface          | getHardwareAddress                                           |\n| android.provider.Settings.Secure   | getString(AndroidId)                                         |\n| LocationManager                    | getLastKnownLocatio,requestLocationUpdates                   |\n| PackageManager                     | getInstalledPackages,getInstalledApplications,getInstallerPackageName,getPackageInfo |\n| ClipboardManager                   | hasPrimaryClip,getPrimaryClip                                |\n| 待新增                             |                                                              |\n\n## 导入依赖\n\n[![](https://jitpack.io/v/simplepeng/HeGuiChecker.svg)](https://jitpack.io/#simplepeng/HeGuiChecker)\n\n```groovy\nmaven { url 'https://jitpack.io' }\n```\n\n```groovy\ndef checkerV = \"1.1.1\"\n```\n\n### pine版本\n\n基于[pine](https://github.com/canyie/pine)，适配`Android 4.4(ART only) ~ 15 Beta 4 with thumb-2/arm64`版本，感谢大佬的无私奉献。\n\n```groovy\ndebugImplementation \"com.github.simplepeng.HeGuiChecker:checker-pine:$checkerV\"\nreleaseImplementation \"com.github.simplepeng.HeGuiChecker:checker-no-op:$checkerV\"\n```\n\n## 使用\n\n基于`ContentProvider`自动初始化，无需引入初始化代码\n\n输出：\n\n![](imgs/img_log.png)\n\n显示：\n\n![](imgs/img_toast.png)\n\n当然你也可以关闭`输出`或`显示`\n\n```kotlin\nHeGuiChecker.SHOW_LOG = false\nHeGuiChecker.SHOW_TOAST = false\n```\n\n或者在`同意授权后`不再显示任何信息\n\n```kotlin\nHeGuiChecker.allow(true)\n```\n\n## 感谢各位大佬打赏🙇🙇🙇！\n\n您的支持是作者努力更新的动力。万水千山总是情，10.24我看行！\n\n| ![](https://raw.githubusercontent.com/simplepeng/merge_pay_code/refs/heads/master/qrcode_alipay.jpg) | ![](https://raw.githubusercontent.com/simplepeng/merge_pay_code/refs/heads/master/qrcode_wxpay.png) | ![](https://raw.githubusercontent.com/simplepeng/merge_pay_code/refs/heads/master/qrcode_qqpay.png) |\n| ------------------------------------------------------------ | ----- | ----- |\n\n[打赏链接](https://simplepeng.com/merge_pay_code/) | [赞助列表](https://simplepeng.com/Sponsor/)\n\n## 版本\n\n* 1.1.1：un include `checker` module\n* 1.1.0：升级pine版本到0.3.0\n* 1.0.4：新增`WifiInfoHooker`的hook方法\n  * getConnectionInfo\n  * hookGetSSID\n* v1.0.3: 新增`ClipboardManager`，hook方法\n  * hasPrimaryClip\n  * getPrimaryClip\n* v1.0.2：新增`PackageManagerHooker`，hook方法\n  * getInstalledPackages\n  * getInstalledApplications\n  * getInstallerPackageName\n  * getPackageInfo\n* v1.0.1：基于`pine`重写\n* v1.0.0：首次上传","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplepeng%2FHeGuiChecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplepeng%2FHeGuiChecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplepeng%2FHeGuiChecker/lists"}