As you may know, Nmap is a command-line network exploration tool that supports ping scanning to determine the online hosts, port scanning techniques and TCP/IP fingerprinting for remote device identification.
The latest version available is Nmap 7.11, which brings the below changes:
- Added support for diffie-hellman-group-exchange-* SSH key exchange methods to ssh2.lua, allowing ssh-hostkey to run on servers that only support custom Diffie-Hellman groups.
- Added support in sslcert.lua for Microsoft SQL Server’s TDS protocol, so you can now grab certs with ssl-cert or check ciphers with ssl-enum-ciphers.
- Fix a crash when setting default window geometry:
- Fix a crash when displaying the date from an Nmap XML file due to an empty or unknown locale.
- Fix a crash due to incorrect file paths when installing to /usr/local prefix.
In order to install Nmap on Ubuntu, you need to do is add the PPA to your system, update the local repository index and install the nmap package:
$ sudo add-apt-repository ppa:pi-rho/security
$ sudo apt-get update
$ sudo apt-get install nmap
Optional, to remove nmap,do:
$ sudo apt-get remove nmap
The installation instructions should work on Ubuntu 15.10 Wily Werewolf, Ubuntu 14.04 Trusty Tahr, Linux Mint 17.x and Elementary OS 0.3 Freya.