How do I install bully and mdk3 on Ubuntu 16.04 (Xenial Xerus)?
Solution 1:
Bully can be installed from the default Ubuntu repositories in Ubuntu 21.10 and later by running these commands:
sudo apt update
sudo apt install bully
Bully can be installed in Ubuntu 21.04 and earlier by running the following commands:
sudo apt -y install libpcap-dev libssl-dev aircrack-ng unzip
wget https://salsa.debian.org/pkg-security-team/bully/-/archive/debian/master/bully-debian-master.zip
unzip bully-debian-master.zip
cd bully-*/
cd src
make # makes a file named bully
sudo make install
mdk3_6.0-4_amd64.deb can be downloaded from Ubuntu — Package Download Selection — mdk3_6.0-4_amd64.deb. Open a terminal, use cd
to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using the command:
sudo dpkg -i mdk3_6.0-4_amd64.deb
mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:
sudo apt install mdk3
Solution 2:
If you are unable to install them with apt, katoolin will also will not work. That's what happened to me.
You need add kali repository and then install it. It worked for me.
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
sudo echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
sudo echo "deb http://repo.kali.org/kali kali-bleeding-edge main' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install bully mdk3