ncrack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ncrack: command not found
or when using sudo you get the following error message
sudo: ncrack: command not found
Solutions to ncrack: command not found
How To Fix ncrack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ncrack is provided by ncrack package.
ncrack is:
Ncrack is a high-speed network authentication cracking tool. It was built to help companies secure their networks by proactively testing all their hosts and networking devices for poor passwords. Security professionals also rely on Ncrack when auditing their clients. Ncrack was designed using a modular approach, a command-line syntax similar to Nmap and a dynamic engine that can adapt its behaviour based on network feedback. It allows for rapid, yet reliable large-scale auditing of multiple hosts.
Ncrack’s features include a very flexible interface granting the user full control of network operations, allowing for very sophisticated bruteforcing attacks, timing templates for ease of use, runtime interaction similar to Nmap’s and many more. Protocols supported include RDP, SSH, http(s), SMB, pop3(s), VNC, FTP, and telnet.
Be sure to read the Ncrack man page (https://nmap.org/ncrack/man.html) to fully understand Ncrack usage.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ncrack
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ncrack.
sudo apt -y install ncrack
Or if you have aptitude installed you can use the following command.
sudo aptitude install ncrack
Summary
In this tutorial we learn how to fix ncrack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.