1、查询手机cpu版本
adb shell getprop ro.product.cpu.abi
下载frida-server(对应的arm64 andriod)
https://github.com/frida/frida/releases
2、adb push frida-server /data/local/tmp
magisk 授权 adb shell超级权限
adb shell
su
cd /data/local/tmp
chmod +x frida-server(或chmod 777 frida-server)
./data/local/tmp/frida-server & 后台执行
查看进程 adb shell ps | findstr frida-server
杀掉进程 adb shell kill 进程号id
3、安装frida客户端
建议本地下载frida包安装
https://pypi.org/project/frida/#files(选择frida-14.2.8-py3.8-win-amd64.egg),
然后执行python -m easy_install xxx.egg,其中,easy_install需要安装setuptools库,且版本有要求,
为pip install "setuptools==45.2.0"。
(python3.8)将frida-12.11.9-py3.8-win-amd64.egg(在pypi官网下载)复制到C:\Users\james\Envs\Spider_env\Lib\site-packages
进入C:\Users\james\Envs\Spider_env\Lib\site-packages
easy_install frida-12.11.9-py3.8-win-amd64.egg
在执行:pip install frida-tools==8.1.3
ps::::::> frida 12.8.14(python3.7,frida-tools==7.1.0)
4、验证
frida --version
frida-ps -U
其他请关注《爬虫小詹》公众号
公众号链接