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

检查是否安装成功:

复制代码
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 shell
su
cd /data/local/tmp/
chmod 777 frida-server
./frida-server

如果要启动frida-server作为后台进程可启用命令

复制代码
./frida-server &

正常启动后,另开一个终端,使用 frida-ps -U 命令检查frida是否正常运行

相关推荐
Benny的老巢10 小时前
Mac上用XAMPP搭建局域网可访问的开发环境,让局域网内其他设备通过域名访问
nginx·macos·apache·xampp·php开发环境
2501_9418814017 小时前
在墨西哥城复杂流量环境下构建高稳定性API网关的架构设计与实现实践分享
macos·golang·xcode
wadesir18 小时前
macOS Sequoia与macOS Tahoe全面对比:功能、性能与升级教程(新手入门指南)
macos
FreeBuf_21 小时前
新型TCC绕过漏洞:macOS面临自动化攻击风险
macos·自动化·策略模式
Alice21 小时前
Remote control Mac ios
macos
huaiyanchen21 小时前
mac Navicat 下载及安装
macos
人生何处不修行1 天前
iOS 自定义视频播放器实战:全屏旋转 + 画中画(PiP)+ 多页面切换不中断播放
macos·objective-c·cocoa
梁辰兴1 天前
计算机网络基础:MAC 地址
计算机网络·macos·计算机·mac地址·计算机网络基础·梁辰兴·物理地址
酒书2 天前
mac电脑idea更改git用户名和密码
git·macos·intellij-idea
科技智驱2 天前
格式化数据分区会清除哪些数据?Windows/Mac如何正确格式化
windows·macos·电脑