Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller 4568fbc1b8
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
Keep softmatch on connect error. Fixes #3602. Closes #3487
2026-11-24 17:18:05 +00:00
.github
docs Bump version to 7.993SVN 2026-10-29 17:44:01 +00:00
fuzz Fuzzer for various hex-related utility functions 2026-08-21 01:14:27 +00:00
libdnet-stripped
liblinear
liblua
libnetutil Do not set port number in output of route_dst. Fixes #3603 2026-11-23 23:36:05 +00:00
libpcap
libpcre Update to libpcre 10.49 2026-10-05 17:57:46 +00:00
libssh2
libz
m4
macosx Reintegrate Nmap 7.993 release branch 2026-10-29 17:43:59 +00:00
mswin32 Reintegrate Nmap 7.992 release branch 2026-10-15 22:30:27 +00:00
nbase Correctly supersede same-prefix CIDR nodes. Fixes #3565. Closes #3573 2026-10-29 17:49:14 +00:00
ncat Correctly supersede same-prefix CIDR nodes. Fixes #3565. Closes #3573 2026-10-29 17:49:14 +00:00
ndiff Bump version to 7.993SVN 2026-10-29 17:44:01 +00:00
nping Do not assume that int is of the same size as size_t. Close #3614 2026-11-17 22:20:49 +00:00
nselib Simplify pcall to avoid creating closures 2026-11-23 19:01:53 +00:00
nsock
scripts Simplify pcall to avoid creating closures 2026-11-23 19:01:53 +00:00
tests
zenmap Fix unit tests for Nmap executable. Fix #3470, close #3477, close #3506 2026-11-18 00:32:21 +00:00
.gitignore
.lgtm.yml
.travis.yml
acinclude.m4
aclocal.m4
BSDmakefile
CHANGELOG Keep softmatch on connect error. Fixes #3602. Closes #3487 2026-11-24 17:18:05 +00:00
charpool.cc
charpool.h
checklibs.sh
config.guess
config.sub
configure
configure.ac
CONTRIBUTING.md
depcomp
FingerPrintResults.cc
FingerPrintResults.h
FPEngine.cc
FPEngine.h
FPModel.cc Update IPv6 OS model based on new submissions 2026-03-19 17:40:00 +00:00
FPModel.h
HACKING
idle_scan.cc Rectify use-after-free of the raw packet data buffer. Close #3619 2026-11-20 19:16:48 +00:00
idle_scan.h
INSTALL
LICENSE
lpeg.c
ltmain.sh
MACLookup.cc
MACLookup.h
main.cc
Makefile.in Reintegrate Nmap 7.992 release branch 2026-10-15 22:30:27 +00:00
missing
NewTargets.cc
NewTargets.h
nmap-header-template.cc
nmap-mac-prefixes
nmap-os-db
nmap-protocols
nmap-rpc
nmap-service-probes Improve service detection for Microsoft Terminal Services. Close #3485 2026-10-12 23:32:09 +00:00
nmap-services
nmap.cc
nmap.h Bump version to 7.993SVN 2026-10-29 17:44:01 +00:00
nmap.spec.in
nmap_amigaos.h
nmap_config.h.in
nmap_dns.cc
nmap_dns.h
nmap_error.cc
nmap_error.h
nmap_ftp.cc
nmap_ftp.h
nmap_tty.cc Remove obsolete AC_HEADER_TIME 2026-08-14 17:16:15 +00:00
nmap_tty.h Use RAII for terminal settings 2026-06-18 23:26:07 +00:00
nmap_winconfig.h
NmapOps.cc
NmapOps.h
NmapOutputTable.cc
NmapOutputTable.h
nse_db.cc
nse_db.h
nse_debug.cc 'require' nmap rather than global access 2026-10-19 19:49:47 +00:00
nse_debug.h
nse_dnet.cc
nse_dnet.h
nse_fs.cc Replace instances of sprintf with Snprintf 2026-07-17 21:56:29 +00:00
nse_fs.h
nse_libssh2.cc Cache needed library functions nmap.new_socket, base64.dec 2026-10-19 19:49:48 +00:00
nse_libssh2.h
nse_lpeg.cc
nse_lpeg.h
nse_lua.h
nse_main.cc Short-circuit load failure for known-missing modules 2026-10-09 21:55:22 +00:00
nse_main.h
nse_main.lua Clarify silent_require load failures 2026-10-09 21:55:21 +00:00
nse_nmaplib.cc Ensure version_intensity() can access nmap.registry. Fixes #3557 2026-10-19 18:19:27 +00:00
nse_nmaplib.h
nse_nsock.cc Avoid global access in nmap.receive_buf 2026-10-19 19:49:47 +00:00
nse_nsock.h
nse_openssl.cc
nse_openssl.h
nse_ssl_cert.cc
nse_ssl_cert.h
nse_utility.cc
nse_utility.h
nse_zlib.cc Do not assume that int is of the same size as size_t. Close #3614 2026-11-17 22:20:49 +00:00
nse_zlib.h
osscan.cc
osscan.h
osscan2.cc
osscan2.h
output.cc
output.h
payload.cc
payload.h
portlist.cc
portlist.h
portreasons.cc
portreasons.h
probespec.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
protocols.cc
protocols.h
README-WIN32
README.md
scan_engine.cc
scan_engine.h
scan_engine_connect.cc
scan_engine_connect.h Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
scan_engine_raw.cc
scan_engine_raw.h
scan_lists.cc
scan_lists.h
service_scan.cc Keep softmatch on connect error. Fixes #3602. Closes #3487 2026-11-24 17:18:05 +00:00
service_scan.h
services.cc
services.h
shtool
string_pool.cc Silence some compiler warnings from the NetBSD build 2026-08-20 17:40:54 +00:00
string_pool.h
struct_ip.h Remove mostly-unused winclude.h 2019-05-29 15:11:13 +00:00
Target.cc
Target.h
TargetGroup.cc
TargetGroup.h
targets.cc
targets.h
tcpip.cc
tcpip.h
timing.cc
timing.h Remove obsolete AC_HEADER_TIME 2026-08-14 17:16:15 +00:00
traceroute.cc
traceroute.h
utils.cc
utils.h
xml.cc
xml.h
zenmap.spec.in

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.