1.pc端安装
pip3 install frida
pip3 install frida-tools
2.手机端安装
- 现在PC端下载Frida-server。直接去官网下载对应的版本即可
下载链接 - 版本要与pc端对应,夜神模拟器的一般为X86结尾
- 查询模拟器版本
adb shell getprop ro.product.cpu.abi
- 将frida-server的压缩包解压并push到夜神模拟器中,结尾frida-server相当于重命名
adb push /Users/用户名/Desktop/frida-server-10.7.7-android-arm data/local/tmp/frida-server
3.运行frida-server
$adb shell
$su
$cd /data/local/tmp
$chmod 755 frida-server
$./frida-server
4.检查是否正常
- 在安装frida的scripts文件下,另启cmd窗口,执行命令。(不然会报错-----‘Frida-ps’ 不是内部或外部命令,也不是可运行的程序)
Frida-ps -U
- 出现PID,Name为成功