• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    Java
  • Created over 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

监控隐私权限的方法调用,like小米应用行为记录

PermissionMonitor

通过hook监控APP的隐私权限方法调用

install

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

implementation 'com.github.huage2580:PermissionMonitor:1.0.1'

how to use

//com.hua.permissionmonitor.PermissionMonitor#start
PermissionMonitor.start(false);
//在application中使用
class App{
    onCreate(){
    //------
        PermissionMonitor.start(false);
    }
}

logcat output

 I/PermissionMonitor: ########################################
 I/PermissionMonitor: #                                      #
 I/PermissionMonitor: #      *PermissionMonitor 已启用*       #
 I/PermissionMonitor: #          请不要在正式环境使用!          #
 I/PermissionMonitor: #                                      #
 I/PermissionMonitor: ########################################

 I/PermissionMonitor: **检测到风险调用函数-> android.app.ApplicationPackageManager#getInstalledPackagesAsUser
 D/PermissionMonitor: android.app.ApplicationPackageManager.getInstalledPackages(ApplicationPackageManager.java:886)
    cn.jiguang.ar.d.c(Unknown Source:13)
    cn.jiguang.ar.d.a(Unknown Source:0)
    cn.jiguang.ar.d$1.b(Unknown Source:6)
    cn.jiguang.s.d.a(Unknown Source:105)
    cn.jiguang.ar.d.b(Unknown Source:70)
    cn.jiguang.ar.a.a(Unknown Source:16)
    cn.jiguang.ar.f.b(Unknown Source:14)
    cn.jiguang.ar.e.c(Unknown Source:83)
    cn.jiguang.o.a.e(Unknown Source:34)
    cn.jiguang.o.a.a(Unknown Source:0)
    cn.jiguang.o.a$b.a(Unknown Source:15)
    cn.jiguang.o.e.run(Unknown Source:9)
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
    java.util.concurrent.FutureTask.run(FutureTask.java:266)
    java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    java.lang.Thread.run(Thread.java:929)

More Repositories

1

leeks

idea插件,查看基金,股票,虚拟币
Java
1,057
star
2

ZuiMeiTAG

仿最美应用的底栏,使用recyclerView实现
Java
315
star
3

yuedu_hd

阅读hd_flutter
Dart
130
star
4

scrcpy-android

scrcpy-android 修改到平板上使用
Java
90
star
5

PswInputViewDemo

仿支付宝六位密码输入框
Java
87
star
6

arouter-idea-plugin-x

support kotlin & Android studio4.1
Java
22
star
7

v2ex_emoji

v2ex emoji support
JavaScript
15
star
8

reader_parser

阅读的书源解析库
Dart
12
star
9

WoShu

结合豆瓣读书api,扫描条形码获取书籍详情,豆瓣评价等。
Java
11
star
10

reader_parser2

golang实现的阅读解析库
Dart
8
star
11

PullToRefreshDemo

仿微信朋友圈下拉刷新
Java
8
star
12

WeChatDanmaku

微信消息弹幕滚动~用于一些宣传活动,晚会等的互动
Java
6
star
13

sinaSpider

新浪微博人际网络分析
JavaScript
6
star
14

huage2580.github.io

huage2580.github.io
HTML
5
star
15

CanvasShape

use canvas like view&viewgroup
Java
5
star
16

hua-print-agent

网页打印代理,可视化编辑demo;Web page printing agent, visual editing demo
JavaScript
5
star
17

MigrateToAndroidX

迁移到Androidx的辅助脚本
Python
3
star
18

lockp

一键锁屏
Java
3
star
19

reader_ev_parser

yuedu parser with golang
Go
3
star
20

TxBLE

ble test
Java
3
star
21

multi

组件化,模块化的demo
Java
1
star
22

FlutterPluginHost

flutter混合工程demo宿主
Java
1
star
23

mynotebook

Python
1
star
24

txtSplit

小说章节切割
Java
1
star
25

mvpTest

dataBinding 模板工程
Java
1
star
26

NetEaseMusic

Python
1
star
27

mockServer

JavaScript
1
star
28

apps_ad

友情推广联盟
JavaScript
1
star
29

Stick_test

淘宝左划跳转demo
Java
1
star
30

LoadingWrap

为textview,button,添加loading效果
Kotlin
1
star
31

howToNavigation

swiftui ios16+
Swift
1
star