Objection安装教程

**因为Frida的安装通常需要Python3.7及以上,所以这里objection也使用Python3.7进行安装;
如果运气好的话直接使用pip就可以安装**

## pip install objection

**如果有一些报错的话,需要安装依赖再重新编译安装Python3.7,比如:
报错一:**

ModuleNotFoundError: No module named '_sqlite3'

这个报错直接运行:

apt-get install libsqlite3-dev zlib zlib-devel

报错二:

ModuleNotFoundError: No module named '_lzma'

下载xz源码:

https://sourceforge.net/projects/lzmautils/files/xz-5.2.5.tar.gz/download

编译安装:

./configure
make -j8
sudo make install

下载python3.7源码:

wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tar.xz

编译安装:

./configure --prefix=/usr/local/python3.7
make -j8
sudo make install

根据需要建立软连接:

ln -s /usr/local/python3.7/bin/python3.7 /usr/bin/python3.7
ln -s /usr/local/python3.7/bin/pip3.7 /usr/bin/pip3.7

安装好之后重新执行:

pip install objection

成功安装objection后效果:
111.png

Last modification:May 13th, 2021 at 10:02 pm
If you think my article is useful to you, please feel free to appreciate