Hello Linux Geeksters. 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 4.47, which has been recently released, coming with the below features:
- Integrated all of your IPv4 OS fingerprint submissions since June 2013.
- Added 366 fingerprints, bringing the new total to 4485.
- Additions include Linux 3.10 – 3.14
- Removed the External Entity Declaration from the DOCTYPE in Nmap’s XML. This was added in 6.45, and resulted in trouble for Nmap XML parsers without network access, as well as increased traffic to Nmap’s servers.
- Fixed SOCKS5 username/password authentication. The password length was being written in the wrong place, so authentication could not succeed.
- Avoid formatting NULL as “%s” when running nmap –iflist. GNU libc converts this to the string “(null)”, but it caused segfault on Solaris.
- Avoid crashing when users have the antiquated PyXML package installed. Python tries to be nice and loads it when we import xml, but it isn’t compatible. Instead, we force Python to use the standard library xml module.
- Handle ICMP admin-prohibited messages when doing service version detection. Crash reported by Nathan Stocks was: Unexpected error in NSE_TYPE_READ callback.
- Fix a bug causing http.head to not honor redirects.
In this article I will show you how to install Nmap 6.47 on Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2.0 and other Ubuntu 14.04 derivative systems.
Because it is available via PPA, installing Nmap 6.47 on the listed Ubuntu, Linux Mint, Elementary OS, Deepin, Peppermint, Pinguy OS, LXLE and Linux Lite systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the nmap package. Like this:
$ 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