Ever since the release of the Windows Subsystem for Linux, a years long unfulfilled hope of using Nmap in this environment still lingers. You can install Nmap (sudo apt-install nmap) in Bash but when you attempt to run it you’ll be met with a slew of errors. The way that the shell interacts with the system just simply isn’t quite right yet, even after a couple of years of developments on this feature, it still can’t run Nmap.
This is the error that appears when running Nmap in WSL:
But now you can "fix it" typing this command on WSL:
Stay tuned on the path of your Windows file.
Now you can type NMAP commands without any problem:
Comments