Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller 2cbc7712da Avoid duplicating udp payloads in memory
Storing a pointer instead of the whole struct payload enables us to
reuse the same struct for as many ports as the payload defines, saving
memory as well as the time to copy the struct and its std::string
member. This commit also avoids several copy constructions and deletions
of the payload vector for each port defined in the file.
2021-12-12 23:42:38 +00:00
.github/ISSUE_TEMPLATE New issue templates for Github Issues 2020-05-20 20:11:22 +00:00
docs Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
libdnet-stripped Address a few code analysis warnings: uninitialized vars and undefined behavior 2021-08-06 16:17:46 +00:00
liblinear Upgrade to VS 2019 2021-07-19 23:58:02 +00:00
liblua Upgrade to VS 2019 2021-07-19 23:58:02 +00:00
libnetutil Allow cleanup of netutil's interfaces cache 2021-12-12 23:42:38 +00:00
libpcap Document Nmap modifications to libpcap 1.9.1. 2019-11-19 17:53:41 +00:00
libpcre Linker optimizations for all projects (Windows) 2021-07-22 17:19:53 +00:00
libssh2 Linker optimizations for all projects (Windows) 2021-07-22 17:19:53 +00:00
libz Revert local changes to zconf.h. Fixes #2359 2021-08-25 21:36:57 +00:00
macosx Merge changes from 7.92 release branch 2021-08-08 21:20:19 +00:00
mswin32 Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
nbase Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
ncat Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
ndiff Update ndiff copyright header to remove dead link - see nmap#2389 2021-11-23 15:07:14 +00:00
nping Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nselib Add a bit to nsedoc for nmap.list_interfaces 2021-12-12 23:42:35 +00:00
nsock Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scripts Merge changes from 7.92 release branch 2021-08-08 21:20:19 +00:00
tests Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
todo Remove/change some text to describe Npcap, not WinPcap 2021-07-21 22:42:46 +00:00
zenmap Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
.gitignore Remove nmap-update 2020-08-27 19:13:31 +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
acinclude.m4 Remove nmap-update 2020-08-27 19:13:31 +00:00
aclocal.m4
BSDmakefile
CHANGELOG Add BSON handlers for most data types. Fixes #2393 2021-12-07 19:33:40 +00:00
charpool.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
charpool.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
checklibs.sh Add version checks for libssh2 and zlib to checklibs.sh 2018-10-18 03:49:35 +00:00
config.guess
config.sub
configure Remove nmap-update 2020-08-27 19:13:31 +00:00
configure.ac Remove nmap-update 2020-08-27 19:13:31 +00:00
CONTRIBUTING.md
depcomp
FingerPrintResults.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
FingerPrintResults.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
FPEngine.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
FPEngine.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
FPModel.cc Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
FPModel.h
HACKING Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
idle_scan.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
idle_scan.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
INSTALL
LICENSE Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
lpeg.c Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
ltmain.sh
MACLookup.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
MACLookup.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
main.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
Makefile.in Use more structure in defining Nmap version number 2021-07-19 23:06:50 +00:00
missing
NewTargets.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
NewTargets.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap-header-template.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap-mac-prefixes Update nmap-mac-prefixes from IEEE 2021-08-06 05:09:06 +00:00
nmap-os-db Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
nmap-payloads Improve TFTP detection. See #2406 2021-12-12 23:42:35 +00:00
nmap-protocols Update protocol numbers from IANA 2021-08-06 05:09:07 +00:00
nmap-rpc Change Insecure.Com LLC to Nmap Software LLC 2021-11-23 19:01:05 +00:00
nmap-service-probes New fingerprint for Atlassian JIRA in setup mode 2021-06-01 17:29:55 +00:00
nmap-services Merge latest service names from IANA 2021-08-06 05:09:07 +00:00
nmap.cc Avoid duplicating udp payloads in memory 2021-12-12 23:42:38 +00:00
nmap.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap.spec.in Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
nmap_amigaos.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_config.h.in Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_dns.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_dns.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_error.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_error.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_ftp.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_ftp.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_tty.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_tty.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nmap_winconfig.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
NmapOps.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
NmapOps.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
NmapOutputTable.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
NmapOutputTable.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +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 Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_dnet.h
nse_fs.cc Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_fs.h
nse_libssh2.cc Avoid a crash (double-free) when SSH connection fails 2018-11-29 17:42:09 +00:00
nse_libssh2.h
nse_lpeg.cc Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_lpeg.h
nse_lua.h Fixes for Windows build from Lua header rearrangements 2018-11-08 04:55:29 +00:00
nse_main.cc Avoid copying script results; store pointers instead. 2021-04-29 17:52:24 +00:00
nse_main.h Avoid copying script results; store pointers instead. 2021-04-29 17:52:24 +00:00
nse_main.lua Make 'Starting' and 'Finished' debug prints balanced for worker threads 2021-12-12 23:42:36 +00:00
nse_nmaplib.cc Fix #2175: NSE script output now tagged to Target obj, not IP or targetname 2020-11-09 18:49:17 +00:00
nse_nmaplib.h
nse_nsock.cc Allow a socket created/connected in one thread to be used in another. See #1233 2020-02-18 19:41:29 +00:00
nse_nsock.h Fix inclusion of Lua headers. See #1355 2018-10-16 05:18:31 +00:00
nse_openssl.cc Silence LGTM warnings about weak crypto: these are compatibility, not security. 2021-07-21 00:59:42 +00:00
nse_openssl.h
nse_pcrelib.cc Use Lua integers in more places where floats are unexpected. Fixes #1647 2019-06-26 20:13:43 +00:00
nse_pcrelib.h
nse_ssl_cert.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
nse_ssl_cert.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +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 Guard some symbols for ancient (pre-2004) versions of zlib 2019-11-11 14:41:36 +00:00
nse_zlib.h
osscan.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
osscan.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
osscan2.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
osscan2.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
output.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
output.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
payload.cc Avoid duplicating udp payloads in memory 2021-12-12 23:42:38 +00:00
payload.h Avoid duplicating udp payloads in memory 2021-12-12 23:42:38 +00:00
portlist.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
portlist.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
portreasons.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
portreasons.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
probespec.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
protocols.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
protocols.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
README-WIN32
README.md Add LGTM.com badges to README.md 2020-01-15 05:18:27 +00:00
scan_engine.cc Don't init payloads for non-udp scans 2021-12-12 23:42:37 +00:00
scan_engine.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_engine_connect.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_engine_connect.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_engine_raw.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_engine_raw.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_lists.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
scan_lists.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
service_scan.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
service_scan.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
services.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
services.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
shtool
string_pool.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
string_pool.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
struct_ip.h Remove mostly-unused winclude.h 2019-05-29 15:11:13 +00:00
Target.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
Target.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
TargetGroup.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
TargetGroup.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
targets.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
targets.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
tcpip.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
tcpip.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
timing.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
timing.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
traceroute.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
traceroute.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
utils.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
utils.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
xml.cc Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
xml.h Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
zenmap.spec.in

Nmap Build Status Language grade: C/C++ Language grade: Python Total alerts

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.