Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Exploit World
Advertising
About/Contact
Credits
Sponsors:







Introduction Reference Guide Install Guide
Download Changelog Documentation
Propaganda In The News Related Projects
Downloading Nmap

Nmap and NmapFE (the graphical X Window front end) are available in several versions and formats. Recent source releases and binary packages are described below. Older version (and sometimes newer test releases) are available from the dist directory (and really old ones are in dist-old) For the more security-paranoid (smart) users, GPG detached signatures and MD5/SHA-1 hashes for each release are available in the sigs directory (verification instructions). Before downloading, be sure to read the relevant sections for your platform from the Nmap Install Guide. The most important changes (features, bugfixes, etc) in each Nmap version are described in the Changelog. Using Nmap is covered in the Reference Guide, and don't forget to read the other available documentation!

Nmap users are encouraged to subscribe to the Nmap-hackers mailing list. It is a low volume, moderated list for announcements about Nmap, Insecure.org, and related projects. You can join more than 30,000 current subscribers by submitting your email address here:


(or subscribe with custom options from the Nmap-hackers list info page

Nmap is distributed with source code under the terms of the GNU General Public License, with certain clarifications and exceptions noted in the copyright page. It includes a modified versions of the Libpcap packet capturing library, Libdnet low-level networking library, and the PCRE Perl-compatible regular expression library. It can optionally link to the OpenSSL Encryption Toolkit for SSL-enhanced service/version detection.

Source Code Distribution (For compilation on Linux, Windows, Mac OS X, etc.)

This is the traditional compile-it-yourself format. The Nmap tarball compiles under UNIX (including Linux, Solaris, Free/Net/OpenBSD, and Mac OS X) and Windows. It includes NmapFE, the UNIX X Window frontend. Nmap is now offered in bzip2 format as well as traditional gzip.

Detailed compilation instructions and options are provided here, though this usually does the trick for Linux/BSD/Solaris systems:

bzip2 -cd nmap-4.21ALPHA4.tar.bz2 | tar xvf -
cd nmap-4.21ALPHA4
./configure
make
su root
make install

Instructions are also available for Windows source code compilation.

Latest development Nmap release tarball (recommended): nmap-4.21ALPHA4.tar.bz2 (or gzip compressed
Latest stable Nmap tarball: nmap-4.20.tar.bz2 (or gzip compressed)

Troubleshooting:
Mac OS X users: If you wish to compile from source (as opposed to binaries later on this page), you need the Apple Developer Tools. See the Mac OS X Nmap Install page. If the normal "./configure" line above does not work for you, try "./configure CPP=/usr/bin/cpp". If you think the "configure" script is looping, be sure your computer's clock/date is set correctly and wait at least 10 minutes for completion before reporting it. If you still have trouble, let me know.

Suse 9.0 users: See this note for a workaround to a Suse kernel bug. You will need to upgrade your kernel to 2.4.21-199 or higher, or compile Nmap using special instructions in the email.

Linux RPM Source and Binaries

Many popular Linux distributions (Redhat, Mandrake, Suse, etc) use the RPM package management system for quick and easy binary package installation. These may not work with Redhat 9 or earlier due to Libc incompatability issues. We have written a detailed guide to installing our RPM packages, though these simple commands (the second is only necessary if you want the NmapFE GUI too) usually do the trick:

rpm -vhU http://download.insecure.org/nmap/dist/nmap-4.21ALPHA4-1.i386.rpm
rpm -vhU http://download.insecure.org/nmap/dist/nmap-frontend-4.21ALPHA4-1.i386.rpm
You can also download and install the RPMs yourself:

Latest development release (recommended):
i386 Nmap RPM: nmap-4.21ALPHA4-1.i386.rpm
i386 Optional NmapFE GUI: nmap-frontend-4.21ALPHA4-1.i386.rpm
Source RPM (includes NmapFE): nmap-4.21ALPHA4-1.src.rpm

Latest stable release:
i386 Nmap RPM: nmap-4.20-1.i386.rpm
i386 Optional NmapFE GUI: nmap-frontend-4.20-1.i386.rpm
Source RPM (includes NmapFE): nmap-4.20-1.src.rpm

x86_64 (Opteron/Athlon 64 in 64-bit mode only) binaries are available from the dist directory.

Windows (95/98/NT/ME/2K/XP)

Windows is now well-supported by Nmap. Note that versions 3.90 and later require WinPcap 3.1 or later. Also note that McAfee VirusScan improperly labels Nmap as a "potentially unwanted program". We have pestered McAfee for almost 2 years and they still haven't fixed the problem. We recommend using other virus scanners instead, such as Trend Micro's PC-cillin. Microsoft intentionally broke tools such as Nmap with their Service Pack 2 for Windows XP, though recent versions of Nmap include a workaround that (mostly) resolves the problem.

Please read the Windows section of the Install Guide for limitations and installation instructions for the Windows version of Nmap. Every stable Nmap release comes with Windows command-line binaries and associated files in a Zip archive. No graphical interface is included, so you need to run nmap.exe from a DOS/command window. See the screen shot above. Or you can download and install a superior command shell such as those included with the free Cygwin system.

Nmap now has an executable Windows installer which can handle WinPcap installation, registry performance tweaks, and decompressing the executables and data files into your preferred location. Skip all the complexity of the Windows zip files with a self-installer:

Latest development release self-installer (recommended): nmap-4.21ALPHA4-setup.exe
Latest stable release self-installer: nmap-4.20-setup.exe

We have written post-install usage instructions). Please notify us if you encounter any problems or have suggestions for the installer.

For those who prefer the command-line zip files (Installation Instructions; Usage Instructions), they are still available:
Latest development command-line zipfile: nmap-4.21ALPHA4-win32.zip
Latest stable command-line zipfile: nmap-4.20-win32.zip

Nmapwin installer:

Nmapwin has been removed from this download page because it is obsolete. Try the command-line version instead. By the way, eEye NmapNT is even more obsolete, don't use that.

Troubleshooting

If you have trouble using the Windows version of Nmap (strange error/compile/install/runtime messages) (and you have read the instructions, try the following:

  • Does the error say "INSTMSIA.EXE not found"? Then download and run it from here. If the error asks for "InstMsiW.exe" instead, get it here.
  • You might want to try installing the Windows Network Monitor Driver Protocol.
  • Check for error messages in the Windows event log (On at least WinXP, the Event Viewer can be opened by running "eventvwr").
  • Ensure that you have the latest version of WinPcap installed.
  • Perhaps someone else has reported the problem. Try reading recent Nmap-dev list archives.

If Nmap still doesn't work for you, please mail nmap-dev@insecure.org with a thorough description of the problem as well as the Windows flavor and Nmap version your are using.

Other Operating Systems

Many other operating systems support Nmap so well that I have no need to create and distribute binary packages myself. You can choose to use the packages below, or compile the source distribution, which is often newer. We have created installation pages for the following platforms:

Linux (all distributions)
Microsoft Windows
Mac OS X
FreeBSD, OpenBSD, and NetBSD
Sun Solaris
Amiga, HP-UX, and Other Platforms

Nmap Site Navigation

Introduction Reference Guide Install Guide
Download Changelog Documentation
Propaganda In The News Related Projects
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]