清华主页 - 清华新闻 - 综合时讯 - 正文

Mac OS 安装frida

安装frida和frida-tools。

Python是基础,提前安装Python。

终端执行。

python3 -m pip install frida。

假如error出现了 按提示处理。

信息提示:brew install pipx。

因此,终端执行:

brew install pipx。

安装frida:

pipx install frida。

安装frida-tools。

pipx install frida-tools。

检查xff11是否成功安装a;

frida-ps -U。

如果安装卡住,可以使用国内镜像:

sudo pipx install frida -i 镜像源url。 

注:清华:https://pypi.tuna.tsinghua.edu.cn/simple。

        中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/。

        华中理工大学:http://pypi.hustunique.com/。

        山东理工大学:http://pypi.sdutlinux.org/。

        豆瓣:http://pypi.douban.com/simple/。

安装frida服务端:frida-server。

frida release 传送门。

Android  simulator 的架构都是 x86架构 ,真机 一般是 ARM 架构的。
(注:必须下载版本和虚拟环境 Frida --v 相同)

将frida-server推送到root手机。

下载后解压文件󿀌并将文件重命名为:frida-server ,然后推到手机上。

adb push frida-server /data/local/tmp。

修改权限,运行frida-server。

adb shellsucd /data/local/tmp/chmod 777 frida-server./frida-server。

若要启动frida-server作为后台进程,则可以启用命令。

./frida-server &

正常启动后,另一个终端󿼌使用 frida-ps -U 命令检查frida是否正常工作。

2025-06-24 12:19:04

相关新闻

清华大学新闻中心版权所有,清华大学新闻网编辑部维护,电子信箱: news@tsinghua.edu.cn
Copyright 2001-2020 news.tsinghua.edu.cn. All rights reserved.