环境,win+小米手机python
1,python安装frida模块,pip install frida 而后注意查看版本号:>pip list |findstr /i fridaandroid
2,我这里为11.0.13,而后https://github.com/frida/frida/releases中下载对应版本的server和手机cpu型号,放在安卓下运行git
若是查看本身手机是arm仍是x64呢?查看/proc/cpuinfo信息,详见https://blog.csdn.net/qq_37858386/article/details/78905342github
个人下载的frida-server-11.0.13-android-arm.xz
3,adb把文件放到手机,运行frida-server.
shell
adb shell
su
cd /data/local/tmp
ls -al frida-server //能够查看有没有
chmod 777 frida-server //赋予运行权限
./frida-servertcp
//转发android TCP端口到本地
adb forward tcp:27042 tcp:27042
adb forward tcp:27043 tcp:27043ui
验证:.net
frida-ps -R
出现进程就是能够了code
主要遇到的问题,就是手机内核版本,和python 安装frida版本 对应 须要下载的frida-server 不符致使server
Failed to enumerate processes: unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use