For those getting started these commands will help.
sudo apt-get update
sudo apt-get upgrade nmap
Installing vulners/vulscan:
cd /usr/share/nmap/scripts/
sudo git clone
GitHub - vulnersCom/nmap-vulners: NSE script based on Vulners.com API
sudo git clone
GitHub - scipag/vulscan: Advanced vulnerability scanning with Nmap NSE
Vulscan utilizes preconfigured databases that are stored locally on our computer. We can view these databases in the root of the vulscan directory. Run the below ls command to list the available databases.
ls vulscan/*.csv
To ensure that the databases are fully up to date, we can use the updateFiles.sh script found in the vulscan/utilities/updater/ directory. Change into the updater directory by typing the below command into a terminal.
cd vulscan/utilities/updater/
Then, make sure the file has the proper permissions to execute on your computer with the below chmod command.
sudo chmod +x updateFiles.sh