Frida 常见问题

2,065 阅读1分钟

错误一:安卓模拟器运行frida-server时出现如图所示异常

建议更换其他模拟器或直接使用真机

错误二:Python运行含有frida包时出现:frida.ServerNotRunningError: unable to connect to remote frida-server 异常

在 frida、frida-server 版本都对应,权限赋予的情况下, cmd 命令:adb forward tcp:27042 tcp:27042

错误三:版本问题导致的各种异常bug

frida 12.8.0为例,frida-tools则为5.3.0objection则为1.8.4

pip install frida==12.8.0
pip install frida-tools==5.3.0
pip install objection==1.8.4

附国内镜像源(网络问题尝试切换至国内镜像):
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

错误四:无法正常运行frida-server

检查frida-server版本是否与安卓手机的cpu类型一致

检查手机cpu类型
adb shell getprop ro.product.cpu.abi