Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller d5645bf76d
Some checks failed
nmap multiplatform autobuilds / build (arm64, gcc, ubuntu-latest-gcc-arm64, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, freebsd-15-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, macos-15-clang, macos-15) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, macos-26-clang, macos-26) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, netbsd-10-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, openbsd-7-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, solaris-11-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, ubuntu-latest-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (egcc, openbsd-7-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, freebsd-15-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, netbsd-10-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, solaris-11-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, ubuntu-latest-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (msvc, windows-latest-msvc, windows-latest) (push) Has been cancelled
ncat-test.pl: make reading stderr easier
2026-07-31 20:57:28 +00:00
.github Update build workflow actions for Node24 2026-07-16 19:14:31 +00:00
docs Remove vestiges of Nping's alpha version number. See #2862 2026-06-25 21:58:51 +00:00
libdnet-stripped Avoid semicolon after do{}while(0) macro definition 2026-07-15 23:35:13 +00:00
liblinear Restore rule to build liblinear.a 2026-02-16 18:40:21 +00:00
liblua Update liblua to 5.4.8 2025-08-07 16:20:19 +00:00
libnetutil Fix signedness and strncpy truncation warnings 2026-07-30 21:29:05 +00:00
libpcap Update libpcap to 1.10.6 2026-01-27 21:01:16 +00:00
libpcre Fix libpcre2 build on Windows 2026-02-16 21:26:02 +00:00
libssh2 Backport libssh2/libssh2#1508 on recommendation from kumama_nui 2026-07-30 21:29:08 +00:00
libz Restore deleted Windows build files for zlib 2026-02-17 21:44:17 +00:00
macosx Reintegrate Nmap 7.99 release branch 2026-03-27 13:52:02 +00:00
mswin32 Add missing macro definition 2026-07-20 15:48:56 +00:00
nbase Update Strncpy implementation 2026-07-16 19:14:31 +00:00
ncat ncat-test.pl: make reading stderr easier 2026-07-31 20:57:28 +00:00
ndiff Bump version to 7.99SVN 2026-03-27 13:56:38 +00:00
nping Fix signedness and strncpy truncation warnings 2026-07-30 21:29:05 +00:00
nselib Report error enumerating shares. Fixes #2272 2026-07-23 21:55:44 +00:00
nsock Nsock: treat bind failure as connect failure. Fixes #1939 2026-07-20 19:11:42 +00:00
scripts Add 's' service names to portrules 2026-07-23 18:06:50 +00:00
tests guard ptrToIp against out-of-bounds read for short names. Closes #3414 2026-07-22 16:51:57 +00:00
zenmap Safely handle errors when adding/editing profiles. Fixes #3347 2026-07-24 22:24:03 +00:00
.gitignore One more gitignore entry from Windows build 2026-05-08 20:29:54 +00:00
.lgtm.yml Fix a config issue with LGTM (libverbs not linked in libpcap) 2020-09-15 23:29:05 +00:00
.travis.yml Fix flags for Travis CI build. --without-ssl was incorrect. 2016-07-06 22:24:51 +00:00
acinclude.m4 Have configure check for PyPA build. Fixes #3115 2025-05-21 20:47:38 +00:00
aclocal.m4 Update aclocal.m4 2017-09-19 17:01:40 +00:00
BSDmakefile Merged -r13793:HEAD from nmap-exp/dev/nmap branch now that we're opening up trunk development 2009-06-29 23:48:19 +00:00
CHANGELOG Fix infinite loop with memory consumption 2026-07-30 21:29:07 +00:00
charpool.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
charpool.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
checklibs.sh Upgrade liblinear to 2.47 2024-02-28 18:18:35 +00:00
config.guess Update config.guess and config.sub from the latest source 2015-02-14 20:19:59 +00:00
config.sub
configure Compatibility fixes and Github autobuilds. Closes #3214 2026-01-12 16:59:25 +00:00
configure.ac Compatibility fixes and Github autobuilds. Closes #3214 2026-01-12 16:59:25 +00:00
CONTRIBUTING.md Removes trailing spaces in 69 files. Closes #971. 2017-08-23 08:52:40 +00:00
depcomp Delete auxiliary scripts config.guess, config.sub, depcomp, install-sh, 2007-11-27 06:22:46 +00:00
FingerPrintResults.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
FingerPrintResults.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
FPEngine.cc Use TCPOptions class for IPv6 vectorization 2026-06-24 20:21:57 +00:00
FPEngine.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
FPModel.cc Update IPv6 OS model based on new submissions 2026-03-19 17:40:00 +00:00
FPModel.h Add ICMPV6_TYPE and ICMPV6_CODE features for IPv6 OS detection. http://seclists.org/nmap-dev/2015/q3/232 #224 2015-10-09 23:58:00 +00:00
HACKING Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
idle_scan.cc Combine logic from IPv4/6 2026-06-26 22:06:03 +00:00
idle_scan.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
INSTALL Fixes broken URL. Updates http://nmap.org/install to https://nmap.org/book/install.html 2015-05-11 01:44:13 +00:00
LICENSE Add paragraph break for easier reading 2023-01-11 22:26:08 +00:00
lpeg.c Lua 5.4 change: userdata created with 1 uservalue by default. Set to 0 when possible 2024-06-20 20:47:10 +00:00
ltmain.sh
MACLookup.cc Fix missing include for PRIX64 2026-07-22 19:17:18 +00:00
MACLookup.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
main.cc Replace repeated strcat with Snprintf 2026-07-17 21:56:29 +00:00
Makefile.in Simplify cstring_unescape and add tests 2026-07-08 20:23:12 +00:00
missing Removes trailing spaces in 69 files. Closes #971. 2017-08-23 08:52:40 +00:00
NewTargets.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
NewTargets.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap-header-template.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap-mac-prefixes Update mac prefixes 2026-02-23 16:39:08 +00:00
nmap-os-db Integrate some OS fingerprint submissions 2026-03-19 17:40:02 +00:00
nmap-protocols Add new protocols 2026-04-07 19:59:49 +00:00
nmap-rpc Update RPC numbers and services from IANA 2026-02-23 16:39:09 +00:00
nmap-service-probes Clarify escapes that resemble octal escapes in Probe lines 2026-07-08 20:23:11 +00:00
nmap-services Update RPC numbers and services from IANA 2026-02-23 16:39:09 +00:00
nmap.cc Get libssh2 version at runtime 2026-07-27 15:55:35 +00:00
nmap.h Bump version to 7.99SVN 2026-03-27 13:56:38 +00:00
nmap.spec.in Merge Nmap 7.96 release branch 2025-05-07 13:22:40 +00:00
nmap_amigaos.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap_config.h.in Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap_dns.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
nmap_dns.h Move mass_dns from nmap_dns to libnetutil/massdns 2026-06-10 21:39:39 +00:00
nmap_error.cc Replace instances of sprintf with Snprintf 2026-07-17 21:56:29 +00:00
nmap_error.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap_ftp.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
nmap_ftp.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nmap_tty.cc Ensure vars updated by signal handlers are volatile and atomic. Fixes #2245 2026-07-17 21:56:23 +00:00
nmap_tty.h Use RAII for terminal settings 2026-06-18 23:26:07 +00:00
nmap_winconfig.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
NmapOps.cc Unify checks for source sock addr validity 2026-07-20 15:48:55 +00:00
NmapOps.h Always release memory 2026-05-26 01:52:16 +00:00
NmapOutputTable.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
NmapOutputTable.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nse_db.cc Add missing LUALIB_API declaration to nse_db 2022-12-12 21:01:35 +00:00
nse_db.h New C backend for datafiles.lua; avoid copies of large data sets 2022-09-29 22:19:28 +00:00
nse_debug.cc Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_debug.h
nse_dnet.cc More alignment fixes 2026-04-22 01:01:19 +00:00
nse_dnet.h
nse_fs.cc Replace instances of sprintf with Snprintf 2026-07-17 21:56:29 +00:00
nse_fs.h Add newlines at the EOF in conformance to Daniel's coding standards 2014-06-18 10:18:58 +00:00
nse_libssh2.cc Avoid dereferencing freed pointer 2025-07-15 18:22:27 +00:00
nse_libssh2.h Convert a few files to Unix line endings 2017-07-18 18:46:02 +00:00
nse_lpeg.cc Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_lpeg.h Merged Lpeg branch 2014-06-26 20:12:54 +00:00
nse_lua.h Update Lua to 5.4.4 2023-05-01 17:44:45 +00:00
nse_main.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
nse_main.h Use existing Lua strings for script output; avoid creating copies. 2022-11-16 15:55:54 +00:00
nse_main.lua Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
nse_nmaplib.cc Check for valid source addr 2026-07-20 19:11:42 +00:00
nse_nmaplib.h Use lua_createtable to prealloc some tables, saving time & memory 2018-06-28 03:43:25 +00:00
nse_nsock.cc Bind to source with -e, not only -S. Fixes #2122 2026-07-20 15:48:57 +00:00
nse_nsock.h Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_openssl.cc Check return from OpenSSL allocation functions. Fixes #2721 2026-06-18 23:26:06 +00:00
nse_openssl.h Properly guard an openssl header inclusion 2024-03-11 15:51:49 +00:00
nse_ssl_cert.cc Fix incorrect year offset in struct tm. Close #3422 2026-07-31 18:59:56 +00:00
nse_ssl_cert.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
nse_utility.cc Fix #2175: NSE script output now tagged to Target obj, not IP or targetname 2020-11-09 18:49:17 +00:00
nse_utility.h Fix #2175: NSE script output now tagged to Target obj, not IP or targetname 2020-11-09 18:49:17 +00:00
nse_zlib.cc Fix signedness and strncpy truncation warnings 2026-07-30 21:29:05 +00:00
nse_zlib.h Add zlib binding for NSE. Fixes #532 2017-09-13 01:54:19 +00:00
osscan.cc Use safer macro for copying string literals into buffers 2026-07-15 23:35:12 +00:00
osscan.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
osscan2.cc Check for tcp th_off < 5 2026-06-26 22:06:05 +00:00
osscan2.h Avoid extra parsing/copying 2026-06-25 16:33:13 +00:00
output.cc Fix signedness and strncpy truncation warnings 2026-07-30 21:29:05 +00:00
output.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
payload.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
payload.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
portlist.cc Fix use-after-free in CPE list introduced in r39435 2026-07-15 23:35:14 +00:00
portlist.h Fix use-after-free in CPE list introduced in r39435 2026-07-15 23:35:14 +00:00
portreasons.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
portreasons.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
probespec.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
protocols.cc Use safer macro for copying string literals into buffers 2026-07-15 23:35:12 +00:00
protocols.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
README-WIN32 Bump version and regen docs for 7.31 maintenance release. 2016-10-21 20:12:59 +00:00
README.md Replace outdated build badges in README.md 2026-02-16 18:44:17 +00:00
scan_engine.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
scan_engine.h Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
scan_engine_connect.cc Bind to source with -e, not only -S. Fixes #2122 2026-07-20 15:48:57 +00:00
scan_engine_connect.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
scan_engine_raw.cc Add checks for ip_hl < 5 2026-06-26 22:06:04 +00:00
scan_engine_raw.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
scan_lists.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
scan_lists.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
service_scan.cc increase line buffer, add truncation error. Fixes #3201. Closes #3367 2026-07-22 18:08:14 +00:00
service_scan.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
services.cc Replace last instances of strcpy 2026-07-15 23:35:14 +00:00
services.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
shtool Compatibility fixes and Github autobuilds. Closes #3214 2026-01-12 16:59:25 +00:00
string_pool.cc Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
string_pool.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
struct_ip.h Remove mostly-unused winclude.h 2019-05-29 15:11:13 +00:00
Target.cc Unify checks for source sock addr validity 2026-07-20 15:48:55 +00:00
Target.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
TargetGroup.cc Defensive checks for null or corrupt structures 2026-06-10 21:39:43 +00:00
TargetGroup.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
targets.cc Consolidate inet_ntop_ez-like code from throughout 2026-06-11 23:28:26 +00:00
targets.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
tcpip.cc Fix signedness and strncpy truncation warnings 2026-07-30 21:29:05 +00:00
tcpip.h Reuse raw socket for IPv6 when possible 2026-06-16 17:32:12 +00:00
timing.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
timing.h Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
traceroute.cc Use exponential moving average for timing estimates 2026-07-01 02:06:12 +00:00
traceroute.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
utils.cc Simplify cstring_unescape and add tests 2026-07-08 20:23:12 +00:00
utils.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
xml.cc Correctly decode numeric entities 2026-05-26 01:52:15 +00:00
xml.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
zenmap.spec.in Declare Python version support in RPM. See #3182 2026-01-20 22:33:15 +00:00

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.