Yara 学习笔记

Posted by API Caller on August 20, 2019

Yara-python build on Windows

Unable to build on Windows #88

设置 set PYTHONLEGACYWINDOWSSTDIO=true 即可.

所以 rednaga/APKiD 在 windows 上安装步骤如下:

1
2
3
4
5
6
7
8
set PYTHONLEGACYWINDOWSSTDIO=true
git clone --recursive -b "v3.10.0" https://github.com/VirusTotal/yara-python.git tmp/yara-python
cd tmp/yara-python/yara 
curl https://patch-diff.githubusercontent.com/raw/VirusTotal/yara/pull/1073.patch | git am
cd ..
python3 setup.py build --enable-dex
python3 setup.py install
pip3 install apkid