Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller 7f2cf3a815
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
Fix heap limit: off by 3 orders of magnitude
2026-05-26 18:58:21 +00:00
.github
docs Always release memory 2026-05-26 01:52:16 +00:00
libdnet-stripped
liblinear
liblua
libnetutil Avoid static buffer for protocol hdrinfo functions 2026-05-12 18:09:00 +00:00
libpcap
libpcre
libssh2
libz
macosx
mswin32
nbase Avoid timeout on STDIN socket. Fixes #3291. 2026-05-15 16:23:46 +00:00
ncat Document Ncat's -z option. Closes #2242 2026-05-18 14:31:05 +00:00
ndiff
nping Only enforce havePcap if necessary. Fixes #564 2026-05-14 19:35:29 +00:00
nselib Add a todo note. Closes #302 2026-05-04 19:56:22 +00:00
nsock Use 1-byte alignment/packing for socks4. Fixes #2595 2026-05-26 01:52:17 +00:00
scripts Add a todo comment. Closes #552 2026-05-12 21:00:42 +00:00
tests
zenmap Fix zenmap packaging to include translations 2026-04-20 17:03:42 +00:00
.gitignore One more gitignore entry from Windows build 2026-05-08 20:29:54 +00:00
.lgtm.yml
.travis.yml
acinclude.m4
aclocal.m4
BSDmakefile
CHANGELOG Use 1-byte alignment/packing for socks4. Fixes #2595 2026-05-26 01:52:17 +00:00
charpool.cc
charpool.h
checklibs.sh
config.guess
config.sub
configure
configure.ac
CONTRIBUTING.md
depcomp
FingerPrintResults.cc
FingerPrintResults.h
FPEngine.cc Fix memory leak in FPEngine: unused heap object 2026-04-22 01:01:17 +00:00
FPEngine.h
FPModel.cc
FPModel.h
HACKING
idle_scan.cc Ensure null termination on copied strings 2026-04-30 22:02:00 +00:00
idle_scan.h
INSTALL
LICENSE
lpeg.c
ltmain.sh
MACLookup.cc
MACLookup.h
main.cc
Makefile.in
missing
NewTargets.cc
NewTargets.h
nmap-header-template.cc
nmap-mac-prefixes
nmap-os-db
nmap-protocols
nmap-rpc
nmap-service-probes Match line for iperf2 >= 2.0.10. Closes #3350 2026-05-13 20:44:37 +00:00
nmap-services
nmap.cc Always release memory 2026-05-26 01:52:16 +00:00
nmap.h
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
nmap_tty.h
nmap_winconfig.h
NmapOps.cc Always release memory 2026-05-26 01:52:16 +00:00
NmapOps.h Always release memory 2026-05-26 01:52:16 +00:00
NmapOutputTable.cc
NmapOutputTable.h
nse_db.cc
nse_db.h
nse_debug.cc
nse_debug.h
nse_dnet.cc More alignment fixes 2026-04-22 01:01:19 +00:00
nse_dnet.h
nse_fs.cc
nse_fs.h
nse_libssh2.cc
nse_libssh2.h
nse_lpeg.cc
nse_lpeg.h
nse_lua.h
nse_main.cc
nse_main.h
nse_main.lua
nse_nmaplib.cc
nse_nmaplib.h
nse_nsock.cc Also handle immediate callback for pcap read, in case that ever happens. 2026-05-05 20:58:57 +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
nse_zlib.h
osscan.cc
osscan.h
osscan2.cc Use existing aligned header structs in osscan functions 2026-04-22 16:13:08 +00:00
osscan2.h Use existing aligned header structs in osscan functions 2026-04-22 16:13:08 +00:00
output.cc Remove unused variable 2026-05-04 17:42:09 +00:00
output.h
payload.cc
payload.h
portlist.cc Use serviceDeductions::erase() and not constructor to reset the object. 2026-04-16 23:36:49 +00:00
portlist.h
portreasons.cc
portreasons.h
probespec.h
protocols.cc
protocols.h
README-WIN32
README.md
scan_engine.cc Fix clang warnings about braces in initialization 2026-04-20 15:21:53 +00:00
scan_engine.h
scan_engine_connect.cc
scan_engine_connect.h
scan_engine_raw.cc Ensure packet buffers are long enough for headers 2026-04-22 16:13:10 +00:00
scan_engine_raw.h
scan_lists.cc
scan_lists.h
service_scan.cc Fix heap limit: off by 3 orders of magnitude 2026-05-26 18:58:21 +00:00
service_scan.h
services.cc
services.h
shtool
string_pool.cc
string_pool.h
struct_ip.h
Target.cc
Target.h
TargetGroup.cc
TargetGroup.h
targets.cc Resolve names in exclude lists in parallel 2026-04-22 21:46:45 +00:00
targets.h
tcpip.cc Ensure packet buffers are long enough for headers 2026-04-22 16:13:10 +00:00
tcpip.h Avoid undefined behavior from unaligned accesses 2026-04-20 15:21:55 +00:00
timing.cc
timing.h
traceroute.cc Don't perform traceroute on timed-out targets. Fixes #410 2026-05-07 20:12:47 +00:00
traceroute.h
utils.cc
utils.h
xml.cc Correctly decode numeric entities 2026-05-26 01:52:15 +00:00
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.