mitmdump command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mitmdump: command not found
or when using sudo you get the following error message
sudo: mitmdump: command not found
Solutions to mitmdump: command not found
How To Fix mitmdump: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mitmdump is provided by mitmproxy package.
mitmproxy is:
mitmproxy is an SSL-capable man-in-the-middle HTTP proxy. It provides a console interface that allows traffic flows to be inspected and edited on the fly.
Also shipped is mitmdump, the command-line version of mitmproxy, with the same functionality but without the frills. Think tcpdump for HTTP.
Features:
- intercept and modify HTTP traffic on the fly
- save HTTP conversations for later replay and analysis
- replay both HTTP clients and servers
- make scripted changes to HTTP traffic using Python
- SSL interception certs generated on the fly
To fix this problem, we can install more using the command below.
sudo apt-get -y install mitmproxy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mitmproxy.
sudo apt -y install mitmproxy
Or if you have aptitude installed you can use the following command.
sudo aptitude install mitmproxy
Summary
In this tutorial we learn how to fix mitmdump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.