前言全局说明
Frida server 和 python client下载安装
一、相关连接
server下载:
最新版: https://github.com/frida/frida/releases
15.2.2版:https://github.com/frida/frida/releases/tag/15.2.2
16.0.1版:https://github.com/frida/frida/releases/tag/16.0.1
Python client下载:
全部历史版本:https://pypi.org/project/frida/#history
15.2.2:https://pypi.org/project/frida/15.2.2/
注意:
1. server 和 python client 版本要一样
2. 如果 Python 之前安装过 frida ,换其他版本一定要卸载掉frida和frida-tools
3. 安装过程中遇到卡住,需要多等会
二、安装 frida
1.安装最新
pip install frida
或
pip3 install frida
2.安装指定版本 frida
pip install frida==15.2.2
或
pip3 install frida==15.2.2
15.2.2 是版本号
如果下载速度慢,可以指定国内源:
pip3 install frida==15.2.2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
其他源:
PyPI 镜像使用帮助
阿里:https://developer.aliyun.com/mirror/pypi/
清华:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
网易163:https://mirrors.163.com/.help/pypi.html
华为:https://mirrors.huaweicloud.com/home
pypi 源列表(校园网联合镜像站):
https://mirrors.cernet.edu.cn/list/pypi
三、安装 frida-tools
1.安装最新版
pip install frida
或
pip3 install frida
2.安装指定版本 frida-tools
pip install frida-tools==11.0.0
或
pip3 install frida-tools==11.0.0
11.0.0 是版本号
如果下载速度慢,可以指定国内源:
pip3 install frida-tools==11.0.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
3.查询 frida 和 frida-tools 版本对应关系
查询网址:https://github.com/frida/frida/releases
在对应版本Frida中查找Frida-tools版本即可
Server 版本 | Python client 版本 |
---|---|
14.2.18 | 9.2.5 |
15.2.2 | 11.0.0 |
16.0.1 | 未知 |
四、错误解决
pip3 install frida==15.2.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
以下是安装信息
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting frida==15.2.2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c5/71/e01da10bfd7eee48e8688e40263d6e53c6536d33eeef7e5ae9d215ad735a/frida-15.2.2.tar.gz (11 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: setuptools in c:\python\python38\lib\site-packages (from frida==15.2.2) (56.0.0)
Building wheels for collected packages: frida
Building wheel for frida (pyproject.toml) ... done
Created wheel for frida: filename=frida-15.2.2-cp38-cp38-win_amd64.whl size=23660003 sha256=a136a81741548bf67cdb355bbf328d30c020870c33cf6bf1f14049edb9d706fd
Stored in directory: c:\users\tq-hp-ab2\appdata\local\pip\cache\wheels\67\38\90\267e738cac43266a928249393a453995e83c90d71656c1b5c0
Successfully built frida
Installing collected packages: frida
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
frida-tools 9.2.5 requires frida<15.0.0,>=14.2.9, but you have frida 15.2.2 which is incompatible.
Successfully installed frida-15.2.2
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR 提示frida 和 frida-tool 不匹配。
是因为之前装过 14.2.18 版本,所以才由上面错误提示, 所以卸载要 frida 和 frida-tools 一起卸载
frida 14.2.18
frida-tools 9.2.5
免责声明:本号所涉及内容仅供安全研究与教学使用,如出现其他风险,后果自负。
参考、来源:
https://www.cnblogs.com/pcat/p/12501850.html
https://www.cnblogs.com/gqv2009/p/13612157.html
https://blog.csdn.net/qq_41179280/article/details/120013608 (Frida与Frida-tools对应关系)