How To Install ruby-ntlm on Kali Linux
Introduction
In this tutorial we learn how to install ruby-ntlm on Kali Linux.
What is ruby-ntlm
ruby-ntlm is:
NTLM (NT LAN Manager) is an authentication protocol used in various Microsoft network protocol implementations. It employs a challenge-response mechanism for authentication, in which clients are able to prove their identities without sending a password to the server. This Ruby library provides message creator and parser for the NTLM authentication. It supports NTLM v1 only.
There are three methods to install ruby-ntlm 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 ruby-ntlm Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-ntlm using apt-get by running the following command:
sudo apt-get -y install ruby-ntlmInstall ruby-ntlm Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-ntlm using apt by running the following command:
sudo apt -y install ruby-ntlmInstall ruby-ntlm 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 ruby-ntlm using aptitude by running the following command:
sudo aptitude -y install ruby-ntlmHow To Uninstall ruby-ntlm on Kali Linux
To uninstall only the ruby-ntlm package we can use the following command:
sudo apt-get remove ruby-ntlmUninstall ruby-ntlm And Its Dependencies
To uninstall ruby-ntlm and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-ntlmRemove ruby-ntlm Configurations and Data
To remove ruby-ntlm configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-ntlmRemove ruby-ntlm configuration, data, and all of its dependencies
We can use the following command to remove ruby-ntlm configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-ntlmDependencies
ruby-ntlm have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-ntlm package on Kali Linux using different package management tools: apt, apt-get and aptitude.