Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller 026cd801d7 NSE nsock event handling improvements
If an event is canceled, report it to the waiting thread as an error.
Previous behavior left a waiting thread waiting forever, so NSE never
stopped.

If the event is killed, that means Nsock is being shut down, so this is
coming from the garbage collection handler and we don't want to restore
anything. Just return instead.
2022-01-04 18:10:44 +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 NSIS: disable Npcap install if installed version is newer or same. 2021-12-13 20:51:08 +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 Check the correct var for 413 error (was masked as 400) 2021-12-14 18:36:54 +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 Change how ms-sql NSE scripts run 2022-01-03 21:08:52 +00:00
nsock Don't rely on -1 return value from SSL_read, just check SSL_get_error() directly 2021-12-14 18:36:55 +00:00
scripts Change how ms-sql NSE scripts run 2022-01-03 21:08:52 +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 Fix TDS7 password encoding. Fixes #2388. 2021-12-14 22:35:57 +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
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
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 Parsing improvements for udp payloads 2021-12-12 23:42:39 +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 Update deprecated IIS CPEs. Fixes #2401. Closes #2402 2021-12-13 20:27:39 +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
nse_debug.h
nse_dnet.cc
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 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 NSE: quit if all remaining threads are abandoned workers 2022-01-04 18:10:43 +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 NSE nsock event handling improvements 2022-01-04 18:10:44 +00:00
nse_nsock.h
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
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
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 Parsing improvements for udp payloads 2021-12-12 23:42:39 +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
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 Suggest a reason why '-' cannot be resolved 2021-12-16 23:29:15 +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 Remove function prototype that has since moved to libnetutil 2021-12-14 01:56:24 +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.