How To Install hashrat on Kali Linux
Introduction
In this tutorial we learn how to install hashrat on Kali Linux.
What is hashrat
hashrat is:
Hashrat is a hash-generation utility that supports the md5, sha1, sha256, sha512, whirlpool, jh-244, jh256, jh-384 and jh-512 hash functions, and also the HMAC versions of those functions. It can output in ’traditional' format (same as md5sum and shasum and the like), or it’s own format.
Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal or base64.
Hashrat also supports directory recursion, hashing entire devices, generating a hash for an entire directory, operations in remote machines and several other features. It has a ‘CGI’ mode that can be used as a web-page to lookup hashes.
This tool is useful in forensics investigations and network security.
There are three methods to install hashrat on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install hashrat Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install hashrat using apt-get by running the following command:
sudo apt-get -y install hashratInstall hashrat Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install hashrat using apt by running the following command:
sudo apt -y install hashratInstall hashrat Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install hashrat using aptitude by running the following command:
sudo aptitude -y install hashratHow To Uninstall hashrat on Kali Linux
To uninstall only the hashrat package we can use the following command:
sudo apt-get remove hashratUninstall hashrat And Its Dependencies
To uninstall hashrat and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove hashratRemove hashrat Configurations and Data
To remove hashrat configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge hashratRemove hashrat configuration, data, and all of its dependencies
We can use the following command to remove hashrat configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hashratDependencies
hashrat have the following dependencies:
References
Summary
In this tutorial we learn how to install hashrat package on Kali Linux using different package management tools: apt, apt-get and aptitude.