【Frida】安装篇
【Frida】安装篇
说明
本篇文章使用的环境为Mac
序号 | 说明 | 地址 |
1 | brew官网 | https://brew.sh/index_zh-cn.html |
2 | frida源码 | https://github.com/frida/frida |
3 | frida官网 | https://www.frida.re/ |
安装 pip
因为pip
是Python的一部分,所以想安装得直接安装Python,执行下面代码
$ brew install python # 安装最新的python
$ brew install pip # 安装pip
安装 frida
# 使用系统默认源安装
$ python3 -m pip install frida frida-tools
# 使用国内清华源进行安装
$ python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ frida frida-tools
如果遇到这种情况就耐心等待,这个过程还是比较慢的,是frida在下载他的依赖。
需要在pythonhosted.org
中下载frida大约需要35m,得确信自己的网络能访问,我这里大约等了半个小时才下载完成。
Building wheel for frida (setup.py) ...
代理安装
经过上面的等待,着实无法安装,可以尝试使用本代理方法试一下。
# 安装代理软件
$ python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pysocks
# 使用代理下载
$ python3 -m pip install frida frida-tools --proxy='socks5://127.0.0.1:1080'
安装成功
安装成功,查看版本号。
$ frida --version
12.7.22