How To Install bully on Ubuntu 22.04

In this tutorial we learn how to install bully on Ubuntu 22.04. bully is Implementation of the WPS brute force attack, written in C

Introduction

In this tutorial we learn how to install bully on Ubuntu 22.04.

What is bully

bully is:

Bully is a new implementation of the WPS brute force attack, written in C. It is conceptually identical to other programs, in that it exploits the (now well known) design flaw in the WPS specification. It has several advantages over the original reaver code. These include fewer dependencies, improved memory and cpu performance, correct handling of endianness, and a more robust set of options.

There are three methods to install bully on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bully Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install bully using apt-get by running the following command:

sudo apt-get -y install bully

Install bully Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install bully using apt by running the following command:

sudo apt -y install bully

Install bully Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install bully using aptitude by running the following command:

sudo aptitude -y install bully

How To Uninstall bully on Ubuntu 22.04

To uninstall only the bully package we can use the following command:

sudo apt-get remove bully

Uninstall bully And Its Dependencies

To uninstall bully and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove bully

Remove bully Configurations and Data

To remove bully configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge bully

Remove bully configuration, data, and all of its dependencies

We can use the following command to remove bully configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge bully

References

Summary

In this tutorial we learn how to install bully package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.