ubuntu 15.04 安装 mitmf 在使用时 MITMf.py –help 安装使用错误
apt-get install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone3 libcapstone-dev
安装是提示找不到libcapstone3 可以从这里下载,编译安装,不然会出现下面的错误
安装方法:
sudo git clone https://github.com/aquynh/capstone.git
sudo ./make.sh
可能会出现的错误:
Traceback (most recent call last): File "./mitmf.py", line 36, in <module> from plugins import * File "/opt/MITMf/plugins/filepwn.py", line 72, in <module> from libs.bdfactory import pebin File "/opt/MITMf/libs/bdfactory/pebin.py", line 49, in <module> from intel.intelCore import intelCore File "/opt/MITMf/libs/bdfactory/intel/intelCore.py", line 38, in <module> from capstone import * File "/home/yang/.virtualenvs/MITMf/local/lib/python2.7/site-packages/capstone/__init__.py", line 286, in <module> ctypes.c_uint64, ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(_cs_insn))) File "/home/yang/.virtualenvs/MITMf/local/lib/python2.7/site-packages/capstone/__init__.py", line 281, in _setup_prototype getattr(lib, fname).restype = restype File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib/libcapstone.so: undefined symbol: cs_disasm (MITMf)yang@IPad:/opt/MITMf$ |