wlancap2wpasec command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wlancap2wpasec: command not found
or when using sudo you get the following error message
sudo: wlancap2wpasec: command not found
Solutions to wlancap2wpasec: command not found
How To Fix wlancap2wpasec: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wlancap2wpasec is provided by hcxtools package.
hcxtools is:
Portable solution for capturing wlan traffic and conversion to hashcat formats (recommended by hashcat) and to John the Ripper formats.
hcx stands for:
- h = hash
- c = capture, convert and calculate candidates
- x = different hashtypes
To fix this problem, we can install more using the command below.
sudo apt-get -y install hcxtools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hcxtools.
sudo apt -y install hcxtools
Or if you have aptitude installed you can use the following command.
sudo aptitude install hcxtools
Summary
In this tutorial we learn how to fix wlancap2wpasec command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.