Adding CVE information to Nmap scans

Last week I stumbled across a nice nmap script that adds CVE information from to the results of nmap scans. Since it relies on version information from services it requires you scan the host with -sV

Example:  nmap -sV --script vulners host 

The github repository is 
You can add the script to your nmap installation with dir=/usr/share/nmap/scripts/ ; curl -ksL >> ${dir}vulners.nse && chmod 0644 ${dir}vulners.nse 
(or wherever your nmap script directory is, e.g. /usr/local/share/nmap/scripts/ ).

How to install the latest Nmap for Debian/Ubuntu

A quick & dirty script to download the latest version of nmap (sourcecode) and generate a deb and install it (so that it’s correctly in the package management). Yes, I know this is not much more than a glorified configure && make && checkinstall