Android隐私协议检测python3,frida,camile

1.安装python

下载地址:Download Python | Python.org

具体安装流程可自行百度

查看python是否安装成功,执行python命令

2.安装pip

下载地址:pip · PyPI

压缩文件解压到某个目录,进入解压目录,执行python setup.py install

执行pip命令看pip是否安装成功

3.安装 frida,frida-tool,下载frida-server

建议使用镜像下载frida

镜像地址:

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/

豆瓣:http://pypi.douban.com/simple/

1)命令行执行pip install frida -i https://pypi.tuna.tsinghua.edu.cn/simple
2)命令行执行pip install frida-tools -i https://pypi.tuna.tsinghua.edu.cn/simple
3)查看版本 frida --version
4)下载对应版本号的 frida-server,并在手机上运行

电脑连接手机或者模拟器,执行以下命令获取cpu版本

adb shell

getprop ro.product.cpu.abi

下载地址:Releases · frida/frida (github.com)下载自己所需要对应的frida版本号一致,cpu型号一致的server包,并解压到本地

模拟器或者手机需要root

进入该文件夹,将解压后的文件传到模拟器或者手机

adb push frida-server-16.0.8-android-x86_64 /data/local/tmp

执行以下命令,在手机上运行(手机或者模拟器必须root)

adb shell

su

cd /data/local/tmp&&ls

给frida-server文件复制权限

chmod 755 frida-server-16.0.8-android-x86_64

运行frida-server文件

./frida-server-16.0.8-android-x86_64

4. 下载安装camile,启动监测

另外打开个cmd窗口执行命令,启动frida-server的(github下载可能需要科学上网)

git clone https://github.com/zhengjim/camille

cd camille

pip install -r requirements.txt

python camille.py -h

执行命令python camille.py com.taobao.taobao -t 3(黑体替换为需要监测的包名)

运行的包名可以使用命令行frida-ps -Ua查看包名

通过点击页面,可以看到使用的权限,以及调用的类

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值