Overcoming Compatibility Hurdles for Successful Man-In-The-Middle Attacks

MITMF (Man In The Middle Framework)

MITMF (Man In The Middle Framework) is a penetration testing tool whose function is for Man-In-The-Middle attacks. Many who install this one tool on kali linux 2020 are unsuccessful, because some of the official MITMF install tutorials do not adjust to the latest kali linux updates. Please follow the steps below to install MITMF on kali linux 2020 and above.

Noted : If you have done the installation below, you can access the mitmf tool with the command :

$ . ~/.virtualenvs/MITMF/bin/activate 

$ cd MITMF

1. Do an update on the linux system first.

sudo apt update

2. Install required packages.

apt install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone3 libcapstone-dev libffi-dev file

3. Install python virtual environments.

pip install virtualenvwrapper

4. Install PIP2 to be separate from the default pip (courtesy of python3).

wget https://bootstrap.pypa.io/get-pip.py

5. Install get-pip.py by using python2.

python2 get-pip.py

6.Edit .bashrc and add the following source command to the end of the code.



export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh

7. Log in as root on the terminal.

sudo su

8. Type the source command virtualevnwrapper.

 source /usr/local/bin/virtualenvwrapper.sh

9. Buatlah folder virtual envirotmentnya.

mkvirtualenv MITMf -p /usr/bin/python2.7

10. Clone file tools MITMF.

git clone https://github.com/byt3bl33d3r/MITMf

11. Go to the MITMF directory and install and clone the submodule.

cd MITMf && git submodule init && git submodule update --recursive

12. Install requirements.

pip2 install -r requirements.txt

13. Now running the file.

python mitmf.py --help