Nmap - the Network Mapper. Github mirror of official SVN repository.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
docs Deprecate/disable -PR option as it was not really being checked. Oct 24, 2018
libdnet-stripped Move Npcap headers and lib stuff to nmap-mswin32-aux Oct 18, 2018
liblinear Update platform toolset to remove XP compatibility Jun 4, 2016
liblua Update included Lua to 5.3.5 Oct 17, 2018
libnetutil Move Npcap headers and lib stuff to nmap-mswin32-aux Oct 18, 2018
libpcap Add libpcap/grammar.h to avoid build problems. Fixes #1275 Jul 22, 2018
libpcre Update platform toolset to remove XP compatibility Jun 4, 2016
libssh2 Fix Windows build for zlib update: use DLL instead of static Nov 8, 2018
libz Restore unconfigured zconf.h, needed on Windows. Nov 8, 2018
macosx Fix build of macOS dependencies Mar 16, 2018
mswin32 Copy zlib DLL during staging. Avoid building nmap-update Nov 8, 2018
nbase Change for-loop initial declarations not allowed in C89 Nov 13, 2018
ncat Fixes for Windows build from Lua header rearrangements Nov 8, 2018
ndiff Merge 7.70 release branch into trunk Mar 20, 2018
nmap-update Check in latest generated default_channel.h Jul 31, 2017
nping Move Npcap headers and lib stuff to nmap-mswin32-aux Oct 18, 2018
nselib Add permissions to openscmanagerw() in msrpc.lua, allowing the caller… Oct 22, 2018
nsock Move Npcap headers and lib stuff to nmap-mswin32-aux Oct 18, 2018
scripts Fix wrong library typo Nov 6, 2018
tests Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
todo Fix some http->https urls Oct 9, 2018
zenmap Avoid crashing when PATH contains non-ascii/utf-8. Decode if possible Nov 15, 2018
.gitignore Add some exceptions for Makefiles that are not generated Jan 25, 2018
.travis.yml Fix flags for Travis CI build. --without-ssl was incorrect. Jul 6, 2016
BSDmakefile Merged -r13793:HEAD from nmap-exp/dev/nmap branch now that we're open… Jun 29, 2009
CHANGELOG Avoid crashing when PATH contains non-ascii/utf-8. Decode if possible Nov 15, 2018
CONTRIBUTING.md Removes trailing spaces in 69 files. Closes #971. Aug 23, 2017
COPYING Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
FPEngine.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
FPEngine.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
FPModel.cc Process 36 IPv6 OS fingerprint submissions Feb 23, 2018
FPModel.h Add ICMPV6_TYPE and ICMPV6_CODE features for IPv6 OS detection. http:… Oct 9, 2015
FingerPrintResults.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
FingerPrintResults.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
HACKING Fixes #579 Nov 21, 2016
INSTALL Fixes broken URL. Updates http://nmap.org/install to https://nmap.org… May 11, 2015
MACLookup.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
MACLookup.h Make functions static where possible Nov 6, 2018
Makefile.in Fix inclusion of Lua headers. See #1355 Oct 16, 2018
NewTargets.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
NewTargets.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
NmapOps.cc Update Npcap URL to new SSL version Sep 28, 2018
NmapOps.h Limit -v and -d to 10 max. Oct 8, 2018
NmapOutputTable.cc Corrects a few issues related to snprintf return values Aug 26, 2018
NmapOutputTable.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
README-WIN32 Bump version and regen docs for 7.31 maintenance release. Oct 21, 2016
README.md Some formatting fixups for README.md Apr 30, 2017
Target.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
Target.h Move probespec to its own header to reduce includes of scan_engine.h Jul 13, 2018
TargetGroup.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
TargetGroup.h Straighten out some headers and the (struct) addrset type Nov 1, 2018
acinclude.m4 Removes trailing spaces in 69 files. Closes #971. Aug 23, 2017
aclocal.m4 Update aclocal.m4 Sep 19, 2017
charpool.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
charpool.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
checklibs.sh Add version checks for libssh2 and zlib to checklibs.sh Oct 18, 2018
config.guess Update config.guess and config.sub from the latest source Feb 14, 2015
config.sub Update config.guess and config.sub from the latest source Feb 14, 2015
configure Fix inclusion of Lua headers. See #1355 Oct 16, 2018
configure.ac Fix inclusion of Lua headers. See #1355 Oct 16, 2018
depcomp Delete auxiliary scripts config.guess, config.sub, depcomp, install-sh, Nov 27, 2007
idle_scan.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
idle_scan.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
lpeg.c Fix inclusion of Lua headers. See #1355 Oct 16, 2018
ltmain.sh Update ltmain.sh to version 2.2.6 for libdnet. Aug 7, 2009
main.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
missing Removes trailing spaces in 69 files. Closes #971. Aug 23, 2017
nmap-header-template.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap-mac-prefixes Update nmap-mac-prefixes from IEEE Aug 18, 2017
nmap-os-db Remove a duplicate Class/CPE pair. Sep 27, 2018
nmap-payloads New payload and improved version matches for memcached Mar 2, 2018
nmap-protocols Update http urls for nmap.org to https Nov 5, 2015
nmap-rpc Removes trailing spaces in 69 files. Closes #971. Aug 23, 2017
nmap-service-probes Reorder some probes to better match RDP and TLS Nov 6, 2018
nmap-services Merge latest service names from IANA Feb 8, 2018
nmap.cc Fall back to TCP connect ping on Windows without pcap Nov 8, 2018
nmap.h Deprecate/disable -PR option as it was not really being checked. Oct 24, 2018
nmap.spec.in Update URLs to https://nmap.org/ Sep 25, 2018
nmap_amigaos.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_config.h.in Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nmap_dns.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_dns.h Use standard way of including nbase.h Nov 6, 2018
nmap_error.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_error.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_ftp.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_ftp.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_tty.cc Avoid double-printing stats-every in an effort to 'catch up' Oct 11, 2018
nmap_tty.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nmap_winconfig.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nse_debug.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_debug.h Corrected many #includes for header files (where they are included). Mar 10, 2009
nse_dnet.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_dnet.h Add newlines at the EOF in conformance to Daniel's coding standards Jun 18, 2014
nse_fs.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_fs.h Add newlines at the EOF in conformance to Daniel's coding standards Jun 18, 2014
nse_libssh2.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_libssh2.h Convert a few files to Unix line endings Jul 18, 2017
nse_lpeg.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_lpeg.h Merged Lpeg branch Jun 26, 2014
nse_lua.h Fixes for Windows build from Lua header rearrangements Nov 8, 2018
nse_main.cc Don't script-scan targets that are already timed out Aug 13, 2018
nse_main.h Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_main.lua New tableaux library containing table auxiliary functions. Oct 17, 2018
nse_nmaplib.cc Expose nbase's get_random_bytes as an alternative random source for N… Oct 17, 2018
nse_nmaplib.h Use lua_createtable to prealloc some tables, saving time & memory Jun 28, 2018
nse_nsock.cc Add more assertions and checks for cross-thread socket use. See #1233 Jul 7, 2018
nse_nsock.h Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_openssl.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_openssl.h Add newlines at the EOF in conformance to Daniel's coding standards Jun 18, 2014
nse_pcrelib.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_pcrelib.h Revert r5485. This changes the pcre Lua module back to statically linked Oct 23, 2007
nse_ssl_cert.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_ssl_cert.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
nse_utility.cc Track NSE targets by IP first, then by targetname. Aug 7, 2017
nse_utility.h Merged gsoc-ssh branch. Closes #910 Jun 29, 2017
nse_zlib.cc Fix inclusion of Lua headers. See #1355 Oct 16, 2018
nse_zlib.h Add zlib binding for NSE. Fixes #532 Sep 13, 2017
osscan.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
osscan.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
osscan2.cc Start timeout clocks closer to first probe, not in batches. Closes #1150 Aug 13, 2018
osscan2.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
output.cc Spelling corrections. Fixes #1160 Mar 26, 2018
output.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
payload.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
payload.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
portlist.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
portlist.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
portreasons.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
portreasons.h Remove unneeded header include Jul 13, 2018
probespec.h Move probespec to its own header to reduce includes of scan_engine.h Jul 13, 2018
protocols.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
protocols.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
scan_engine.cc ultrascan: bail early if there are no probes in the current scan Oct 22, 2018
scan_engine.h Move probespec to its own header to reduce includes of scan_engine.h Jul 13, 2018
scan_engine_connect.cc Move probespec to its own header to reduce includes of scan_engine.h Jul 13, 2018
scan_engine_connect.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
scan_engine_raw.cc Move probespec to its own header to reduce includes of scan_engine.h Jul 13, 2018
scan_engine_raw.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
scan_lists.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
scan_lists.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
service_scan.cc Corrects a few issues related to snprintf return values Aug 26, 2018
service_scan.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
services.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
services.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
shtool Upgrade shtool to version 2.0.8. This is supposed to fix NLS problems… Aug 19, 2008
struct_ip.h Add newlines at the EOF in conformance to Daniel's coding standards Jun 18, 2014
targets.cc Rearrange declarations to put all addrset functions in nbase.h, hide … Nov 1, 2018
targets.h Straighten out some headers and the (struct) addrset type Nov 1, 2018
tcpip.cc Fix TCP option checking, which could be fooled by unknown kind into f… May 1, 2018
tcpip.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
timing.cc Print a partial taskprogress when perc_done is less than 1%. Fixes #1351 Oct 11, 2018
timing.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
traceroute.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
traceroute.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
utils.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
utils.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
xml.cc Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
xml.h Bump copyright dates to 2018 and slightly improve wording (doesn't ch… Jan 28, 2018
zenmap.spec.in Update URLs to https://nmap.org/ Sep 25, 2018

README.md

Nmap Build Status

Nmap is released under a custom license, which is based on (but not compatible with) GPLv2. The Nmap license allows free usage by end users, and we also offer a commercial license for companies that wish to redistribute Nmap technology with their products. See Nmap Copyright and Licensing for full details.

The latest version of this software as well as binary installers for Windows, macOS, and Linux (RPM) are available from Nmap.org

Full documentation is also available on the Nmap.org website.

Questions and suggestions may be sent to the Nmap-dev mailing list.

Installing

Ideally, you should be able to just type:

./configure
make
make install

For far more in-depth compilation, installation, and removal notes, read the Nmap Install Guide on Nmap.org.

Using Nmap

Nmap has a lot of features, but getting started is as easy as running nmap scanme.nmap.org. Running nmap without any parameters will give a helpful list of the most common options, which are discussed in depth in the man page. Users who prefer a graphical interface can use the included Zenmap front-end.

Contributing

Information about filing bug reports and contributing to the Nmap project can be found in the HACKING and CONTRIBUTING.md files.