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是否正常运行

相关推荐
凤山老林1 天前
在 Apple 芯片的 Mac 上通过 VMware Fusion 使用 Windows 11
windows·macos·vmware·虚拟机
c&0xff002 天前
mac通过网线连接树莓派
macos
孙启超2 天前
Token太贵自己写了一个mac版开源AI编程工具
人工智能·macos·开源·llm·agent·ai编程·ai应用开发
2601_965798472 天前
Launch Your Wellness App Fast: The Truth About Meditation Source Code
前端·macos·ios·objective-c·cocoa
2501_915909063 天前
全面解析iOS应用上架到App Store的完整流程与关键注意事项
android·macos·ios·小程序·uni-app·cocoa·iphone
2501_915918414 天前
免 Xcode 开发 iOS,工具链替代方案与编译、签名、安装
ide·vscode·macos·ios·个人开发·xcode·敏捷流程
Architect_Lee4 天前
mac安装多个tomcat
macos
ty_xiumud4 天前
以太网 MAC 详解:帧格式、位序、FCS 与收发流程
开发语言·macos·php
营养充电站4 天前
C++23 新特性在 CLion 中的实战体验
macos·docker·jupyter·正则表达式