MacOS安装IDA插件keypatch

macOS 安装官方介绍的安装方式不太行。网上参考后记录一下。

cmake

brew install cmake

git

git clone https://github.com/fjh658/keystone-engine.git

cd keystone-engine

git submodule update --init --recursive

sudo python2 setup.py install --verbose

此时在安装后的最后几段代码中,找到类似:

/Library/Python/2.7/site-packages/keystone

这是本地python2.7的路径。

cp

cp -r /Library/Python/2.7/site-packages/keystone /Applications/IDA\ Pro\ 7.0/ida.app/Contents/MacOS/python/lib/python2.7/lib-dynload/
sudo  curl -L https://raw.githubusercontent.com/keystone-engine/keypatch/master/keypatch.py > keypatch.py

现实拒绝的话,可以

vim /etc/hosts

199.232.68.133 raw.githubusercontent.com
cp -r ./keypatch.py /Applications/IDA\ Pro\ 7.0/ida64.app/Contents/MacOS/plugins/

cp -r ./keypatch.py /Applications/IDA\ Pro\ 7.0/ida.app/Contents/MacOS/plugins/

然后进入ida使用即可。



杂项

本博客所有文章除特别声明外,均采用 CC BY-SA 3.0协议 。转载请注明出处!