Before we start, ensure your system is up to date and you have a wireless adapter that supports and Packet Injection . sudo apt update && sudo apt upgrade -y Use code with caution. Method 1: The Fast Way (Using APT)
Most versions of the Kali repositories include MDK3. This is the cleanest way to install it as it handles all dependencies automatically. Run the install command: sudo apt install mdk3 -y Use code with caution. Verify the installation: mdk3 --help Use code with caution.
Although Kali Linux comes pre-loaded with many tools, MDK3 isn't always installed by default in the lighter versions. Here is exactly how to get it running on your system. Prerequisites
MDK3 is a powerful tool capable of disrupting local networks. Only use this tool on networks you own or have explicit written permission to test. Unauthorized use against public or private networks is illegal.