之前想着在msys2里面安装python,
但其实这个不是很好,比如装pip install -U objection的时候就报错了
跟 Cygwin 一样的问题 ,MSYS2的Python被识别为 mingw64_nt-10.0-26200-x86_64 平台,Frida 没有提供该平台的预编译 toolchain。
最好是安装windows原生python。
从官网下载standalone installer,注意不要使用python installer manager,那个是windows store用的,不能自定义安装路径。
https://www.python.org/downloads/
下载版本python-3.14.6-amd64.exe
安装的时候,选择自定义安装到C:\python\python3
并且勾选,添加到环境变量,这样就可以直接在Powershell里面执行python、pip了。
安装objection非常简单。
Windows PowerShell 版权所有(C) Microsoft Corporation。保留所有权利。 安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows PS C:\Users\袁建鹏> pip install -U objection Collecting objection Using cached objection-1.12.5-py3-none-any.whl.metadata (3.0 kB) Collecting click>=8.2.0 (from objection) Using cached click-8.4.2-py3-none-any.whl.metadata (2.6 kB) Collecting delegator-py>=0.1.1 (from objection) Using cached delegator.py-0.1.1-py2.py3-none-any.whl.metadata (3.9 kB) Collecting flask>=3.0.0 (from objection) Using cached flask-3.1.3-py3-none-any.whl.metadata (3.2 kB) Collecting frida>=16.0.0 (from objection) Using cached frida-17.15.4-cp37-abi3-win_amd64.whl.metadata (2.3 kB) Collecting frida-tools>=10.0.0 (from objection) Using cached frida_tools-14.10.4-py3-none-any.whl Collecting litecli>=1.3.0 (from objection) Using cached litecli-1.17.1-py3-none-any.whl.metadata (2.6 kB) Collecting packaging>=23.0 (from objection) Using cached packaging-26.2-py3-none-any.whl.metadata (3.5 kB)