Code Monkey home page Code Monkey logo

heguichecker's Introduction

HeGuiChecker

合规检测器-基于工信部最新标准

下面是我基于工信部文件整理出来已经hook了的方法,如有其他的可以提个issue

包名 方法名
android.telephony.TelephonyManager getDeviceId,getImei,getSubscriberId
android.net.wifi.WifiInfo getMacAddress
java.net.NetworkInterface getHardwareAddress
android.provider.Settings.Secure getString(AndroidId)
LocationManager getLastKnownLocatio,requestLocationUpdates
PackageManager getInstalledPackages,getInstalledApplications,getInstallerPackageName,getPackageInfo
ClipboardManager hasPrimaryClip,getPrimaryClip
待新增

导入依赖

maven { url 'https://jitpack.io' }
def checkerV = "v1.0.3"

pine版本

基于pine,适配4.4-12.1版本,感谢大佬的无私奉献。

debugImplementation "com.github.simplepeng.HeGuiChecker:checker-pine:$checkerV"
releaseImplementation "com.github.simplepeng.HeGuiChecker:checker-no-op:$checkerV"

使用

基于ContentProvider自动初始化,无需引入初始化代码

输出:

显示:

当然你也可以关闭输出显示

HeGuiChecker.SHOW_LOG = false
HeGuiChecker.SHOW_TOAST = false

或者在同意授权后不再显示任何信息

HeGuiChecker.allow(true)

版本

  • v1.0.3: 新增ClipboardManager,hook方法
    • hasPrimaryClip
    • getPrimaryClip
  • v1.0.2:新增PackageManagerHooker,hook方法
    • getInstalledPackages
    • getInstalledApplications
    • getInstallerPackageName
    • getPackageInfo
  • v1.0.1:基于pine重写
  • v1.0.0:首次上传

heguichecker's People

Contributors

simplepeng 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.