Frida 安装

python 环境

一、安装 Frida

pip3 install frida

指定版本:pip3 install frida==15.10.12

pip3 install frida-tools

 

二、安装frida-server

下载地址:https://github.com/frida/frida/releases

adb push frida-server /sbin/

1、把frida-server 上传到手机 sbin 目录下

adb push .\frida-server /sbin

2、给文件添加可执行权限

adb shell

chmod +x /sbin/frida-server

3、运行服务

frida-server

 

 

三、Frida 命令

1、Frida-ps -Ua 列出USB设备上运行的app列表

2、Frida -U -f/p 包名 -no-pause -I 脚本

-U 指定USB设备

-f 指定app包名,通过spwn方式启动

-p 指定app的pid

--no-pause 不暂停

-I 加载hook脚本

 

posted on 2022-03-24 10:42  Haha.chen  阅读(1206)  评论(0编辑  收藏  举报

导航