Frida+python3.9+雷电模拟器

1.安装frida+frida-tools

1
2
pip install frida
pip install frida-tools

2.查看模拟器android的系统时64还是32的

1
2
3
adb shell getprop ro.product.cpu.abi
adb shellps |grep zygote”
adb shellps |grep 1244(进程id)” 列出系统运行的app

https://blog.csdn.net/achirandliu/article/details/123967450

3.下载frida-server

打开github,搜索到frida,
https://github.com/frida/frida/releases/tag/15.1.1

修改自己的版本号,找到对应的server即可

1

4.frida安装与配置

1
adb push xxx\frida-server /data/local/tmp/

将下载的server导入模拟器中

修改文件的读写权限

1
2
3
4
adb shell
su
cd /data/local/tmp/
chmod 777 frida-server

运行程序

1
./frida-server

转发接口

1
2
adb forward tcp:27042 tcp:27042
adb forward tcp:27043 tcp:27043

测试

1
frida-ps -U

2