psk-crack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
psk-crack: command not found
or when using sudo you get the following error message
sudo: psk-crack: command not found
Solutions to psk-crack: command not found
How To Fix psk-crack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu psk-crack is provided by ike-scan package.
ike-scan is:
ike-scan discovers IKE hosts and can also fingerprint them using the retransmission backoff pattern.
ike-scan does two things:
a) Discovery: Determine which hosts are running IKE. This is done by displaying those hosts which respond to the IKE requests sent by ike-scan.
b) Fingerprinting: Determine which IKE implementation the hosts are using. This is done by recording the times of the IKE response packets from the target hosts and comparing the observed retransmission backoff pattern against known patterns.
The retransmission backoff fingerprinting concept is discussed in more
detail in the UDP backoff fingerprinting paper which should be included
in the ike-scan kit as udp-backoff-fingerprinting-paper.txt.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ike-scan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ike-scan.
sudo apt -y install ike-scan
Or if you have aptitude installed you can use the following command.
sudo aptitude install ike-scan
Summary
In this tutorial we learn how to fix psk-crack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.