re-python
Installation
SKILL.md
Python 打包样本分析(PyInstaller / PyArmor / pyc)
何时使用 / 何时不用
- 用:PyInstaller 单文件/目录 exe、PyArmor 加固样本、.pyc 文件、Nuitka/Cython 编译产物、Python 恶意软件打包样本
- 不用:纯 .py 源码混淆(base64/编码包装)→ 转 [[re-script-deob]];Python 模型权重(pkl/onnx)→ [[re-ai-model]]
工具准备
参考 [[re-analyze/platform-tips]]——解包/反编译为静态步骤,免沙箱;动态取明文([[re-sandbox]])按最高原则进沙箱。
python3(基础运行时,必备)
- Linux:
apt install python3/dnf install python3/pacman -S python - macOS:
brew install python(系统自带) - Windows: 官网安装包或
choco install python - 验证:
python3 --version