How To Install lcrack on Ubuntu 18.04

In this tutorial we learn how to install lcrack on Ubuntu 18.04. lcrack is A generic password cracker

Introduction

In this tutorial we learn how to install lcrack on Ubuntu 18.04.

What is lcrack

lcrack is:

Lepton’s Crack is a generic password cracker, easily customizable with a simple plug-in system. It can perform a dictionary-based (wordlist) attack, as well as a brute-force (incremental) password scan.

For the incremental scan, the user can provide a regex-like expression that will be enumerated, thus checking every possible combination. This powerful feature effectively combines `shoulder-surfing’ with standard brute-forcing.

By default it comes with the following modules: * md4 : standard MD4 hash * md5 : standard MD5 hash * nt4 : NT MD4/Unicode * dom : Lotus Domino HTTP password * sha1 : standard SHA-1 hash * null : trivial 1-byte hash

There are three methods to install lcrack on Ubuntu 18.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 lcrack Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lcrack

Install lcrack Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lcrack

Install lcrack 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 lcrack using aptitude by running the following command:

sudo aptitude -y install lcrack

How To Uninstall lcrack on Ubuntu 18.04

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

sudo apt-get remove lcrack

Uninstall lcrack And Its Dependencies

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

sudo apt-get -y autoremove lcrack

Remove lcrack Configurations and Data

To remove lcrack configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge lcrack

Remove lcrack configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lcrack

References

Summary

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