
how to update your NMAP Scripting engine database
Time needed: 2 minutes.
If you have added new NSE scripts or if you have removed some, it is needed to update the script database like the following
- Download your NSE script with wget
download the desired and missing script with the following command:
wget https://svn.nmap.org/nmap/scripts/http-shellshock.nse - Copy the script in the NSE folder
Copy the script in the folder /usr/share/nmap/scripts/ with the command with sudo:
cp ./http-shellshock.nse /usr/share/nmap/scripts/
if wou have a different folder you may find it with the command locate .nse - Update nmap scripting engine database
Run the following command with sudo to update the database with the existing script in your folder: