5

How do I find and install the Bully and Mdk3 tools from Kali Linux on Ubuntu 16.04?

0

2 Answers 2

11

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 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:

sudo apt install mdk3 

In Ubuntu 17.04 and earlier 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 following command:

sudo dpkg -i mdk3_6.0-4_amd64.deb
4
  • 1
    Who is aanarchyy? Has anyone audited that "bully" code? Who knows what's in it. Why is the repo linked from tools.kali.org/wireless-attacks/bully dead? How about gitlab.com/kalilinux/packages/bully instead? Nov 22, 2019 at 0:42
  • @DanDascalescu The owner of the bully repo linked from tools.kali.org/wireless-attacks/bully has deleted his GitHub and GitlLab accounts, which raises the question if that person is still a package maintainer of that project.
    – karel
    Nov 22, 2019 at 0:46
  • 1
    You should probably clone and build the official source that Kali is using: salsa.debian.org/pkg-security-team/bully
    – jiroch
    Feb 12, 2022 at 7:40
  • 1
    @jiroch Thanks for posting a very helpful comment. In fact this entire answer needed to be updated. bully is currently a package in the official Debian bullseye repositories, and it's also in the default repositories of Ubuntu 21.10 and later.
    – karel
    Feb 12, 2022 at 8:32
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .