From charlesreid1

Revision as of 10:45, 6 September 2017 by Admin (talk | contribs) (→‎Installing)

Overview

What is MITMf?

Link: https://github.com/byt3bl33d3r/MITMf

MITMf is the man in the middle framework.

This is a really nice tool written in Python, and capable of carrying out man in the middle attacks using multiple methods (think Bettercap but implemented in Python instead of Ruby, yay!).

The best part of MITMf is that you can process packets using Scapy - so you can capitalize on all that knowledge you already have of that library.

Installing

Check it out from github, and you can use it straight away as a script, without having to install it.

You will need to install a bunch of aptitude packages first:

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

Now you need to install a bunch of python packages (execute this from the git repository of the MITMf that you checked out):

$ pip install -r requirements.txt

If you still run into problems, run with the update flag:

$ pip install --update -r requirements.txt

This will ensure you install the latest and greatest of everything.

Testing and Getting Help

To get some help:

$ python mitmf.py --help


Flags