mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Reintegrate Nmap 7.90 release branch
This commit is contained in:
150
CHANGELOG
150
CHANGELOG
@@ -8,10 +8,88 @@ o [NSE] Script mysql-audit now defaults to the bundled mysql-cis.audit for
|
|||||||
|
|
||||||
Nmap 7.90 [2020-10-03]
|
Nmap 7.90 [2020-10-03]
|
||||||
|
|
||||||
o [GH#2126] Fix the "iocp" Nsock engine for Windows to be able to correctly
|
o [Windows] Upgraded Npcap, our Windows packet capturing (and sending)
|
||||||
handle PCAP read events. This engine is now the default for Windows, which
|
library to the milestone 1.00 release! It's the culmination of 7 years of
|
||||||
should greatly improve performance over the previous default, the "poll"
|
development with 170 public pre-releases. This includes dozens of
|
||||||
engine. [Daniel Miller]
|
performance improvements, bug fixes, and feature enhancements described
|
||||||
|
at https://npcap.org/changelog.
|
||||||
|
|
||||||
|
o Integrated over 800 service/version detection fingerprints submitted since
|
||||||
|
August 2017. The signature count went up 1.8% to 11,878, including 17 new
|
||||||
|
softmatches. We now detect 1237 protocols from airmedia-audio, banner-ivu,
|
||||||
|
and control-m to insteon-plm, pi-hole-stats, and ums-webviewer. A
|
||||||
|
significant number of submissions remain to be integrated in the next
|
||||||
|
release.
|
||||||
|
|
||||||
|
o Integrated over 330 of the most-frequently-submitted IPv4 OS fingerprints
|
||||||
|
since August 2017. Added 26 fingerprints, bringing the new total to 5,678.
|
||||||
|
Additions include iOS 12 & 13, macOS Catalina & Mojave, Linux 5.4, FreeBSD
|
||||||
|
13, and more.
|
||||||
|
|
||||||
|
o Integrated all 67 of your IPv6 OS fingerprint submissions from August 2017 to
|
||||||
|
September 2020. Added new groups for FreeBSD 12, Linux 5.4, and Windows 10,
|
||||||
|
and consolidated several weak groups to improve classification accuracy.
|
||||||
|
|
||||||
|
o [NSE] Added 3 NSE scripts, from 2 authors, bringing the total up to 601!
|
||||||
|
They are all listed at https://nmap.org/nsedoc/, and the summaries are
|
||||||
|
below:
|
||||||
|
|
||||||
|
+ dicom-brute attempts to brute force the called Application Entity Title
|
||||||
|
of DICOM servers. [Paulino Calderon]
|
||||||
|
|
||||||
|
+ dicom-ping discovers DICOM servers and determines if any Application
|
||||||
|
Entity Title is allowed to connect. [Paulino Calderon]
|
||||||
|
|
||||||
|
+ uptime-agent-info collects system information from an Idera Uptime
|
||||||
|
Infrastructure Monitor agent. [Daniel Miller]
|
||||||
|
|
||||||
|
o [GH#1834] Addressed over 250 code quality issues identified by LGTM.com,
|
||||||
|
improving our code quality score from "C" to "A+"
|
||||||
|
|
||||||
|
o Released Npcap OEM Edition. For more than 20 years, the Nmap Project has
|
||||||
|
been funded by selling licenses for companies to distribute Nmap with
|
||||||
|
their products, along with commercial support. Hundreds of commercial
|
||||||
|
products now use Nmap for network discovery tasks like port scanning,
|
||||||
|
host discovery, OS detection, service/version detection, and of course
|
||||||
|
the Nmap Scripting Engine (NSE). Until now they have just used standard
|
||||||
|
Nmap, but this new OEM Edition is customized for use within other Windows
|
||||||
|
software. Nmap OEM contains the OEM version of our Npcap driver, which
|
||||||
|
allows for silent installation. It also removes the Zenmap GUI, which
|
||||||
|
cuts the installer size by more than half. And it reports itself as Nmap
|
||||||
|
OEM so customers know it's a properly licensed Nmap. See
|
||||||
|
https://nmap.org/oem for more details. We will be reaching out to all
|
||||||
|
existing licensees with Nmap OEM access credentials, but any licensees
|
||||||
|
who wants it quicker should see https://nmap.org/oem.
|
||||||
|
|
||||||
|
o Upgraded the Nmap license form a sort of hacked-up version of GPLv2 to a
|
||||||
|
cleaner and better organized version (still based on GPLv2) now called the
|
||||||
|
Nmap Public Source License to avoid confusion. See https://nmap.org/npsl/
|
||||||
|
for more details and annotated license text. This NPSL project was started
|
||||||
|
in 2006 (community discussion here:
|
||||||
|
https://seclists.org/nmap-dev/2006/q4/126) and then it lost momentum for 7
|
||||||
|
years until it was restarted in 2013
|
||||||
|
(https://seclists.org/nmap-dev/2013/q1/399) and then we got distracted by
|
||||||
|
development again. We still have some ideas for improving the NPSL, but
|
||||||
|
it's already much better than the current license, so we're applying NPSL
|
||||||
|
Version 0.92 to the code now and can make improvements later if
|
||||||
|
needed. This does not change the license of previous Nmap releases.
|
||||||
|
|
||||||
|
o Removed nmap-update. This program was intended to provide a way to update
|
||||||
|
data files and NSE scripts, but the infrastructure was never fielded. It
|
||||||
|
depended on Subversion version control and would have required maintaining
|
||||||
|
separate versions of NSE scripts for compatibility.
|
||||||
|
|
||||||
|
o Removed the silent-install command-line option (/S) from the Windows
|
||||||
|
installer. It causes several problems and there were no objections when we
|
||||||
|
proposed removing it in 2016 (https://seclists.org/nmap-dev/2016/q4/168).
|
||||||
|
It will remain in Nmap OEM since its main use was for customers who
|
||||||
|
redistribute Nmap with other software. If anyone else has a strong need
|
||||||
|
for an Nmap silent installer, please contact sales@nmap.com and we'll see
|
||||||
|
what we can do.
|
||||||
|
|
||||||
|
o [GH#1860] 23 new UDP payloads and dozens more default ports for existing
|
||||||
|
payloads developed for Rapid7's InsightVM scan engine. These speed up and
|
||||||
|
ensure detection of open UDP services. [Paul Miseiko, Rapid7]
|
||||||
|
|
||||||
o [GH#2051] Restrict Nmap's search path for scripts and data files.
|
o [GH#2051] Restrict Nmap's search path for scripts and data files.
|
||||||
NMAPDATADIR, defined on Unix and Linux as ${prefix}/share/nmap, will not be
|
NMAPDATADIR, defined on Unix and Linux as ${prefix}/share/nmap, will not be
|
||||||
@@ -19,34 +97,33 @@ o [GH#2051] Restrict Nmap's search path for scripts and data files.
|
|||||||
Additionally, the --script option will not interpret names as directory names
|
Additionally, the --script option will not interpret names as directory names
|
||||||
unless they are followed by a '/'. [Daniel Miller]
|
unless they are followed by a '/'. [Daniel Miller]
|
||||||
|
|
||||||
o Removed nmap-update. This program was intended to provide a way to update
|
o [GH#1764] Fix an assertion failure when unsolicited ARP response is received:
|
||||||
data files and NSE scripts, but the infrastructure was never fielded. It
|
nmap: Target.cc:503: void Target::stopTimeOutClock(const timeval*): Assertion `htn.toclock_running == true' failed.
|
||||||
depended on Subversion version control and would have required maintaining
|
|
||||||
separate versions of NSE scripts for compatibility.
|
|
||||||
|
|
||||||
o [GH#2050] Reduced CPU usage of OS scan by 50% by avoiding string copy
|
o [NSE] New outlib library consolidates functions related to NSE output,
|
||||||
operations and removing undocumented fingerprint syntax unused in nmap-os-db
|
both string formatting conventions and structured output. [Daniel Miller]
|
||||||
('&' and '+' in expressions). [Daniel Miller]
|
|
||||||
|
o [NSE] New dicom library implements the DICOM protocol used for
|
||||||
|
storing and transfering medical images. [Paulino Calderon]
|
||||||
|
|
||||||
o [GH#92] Fix a regression in ARP host discovery left over from the move from
|
o [GH#92] Fix a regression in ARP host discovery left over from the move from
|
||||||
massping to ultra_scan in Nmap 4.22SOC8 (2007) that sometimes resulted in
|
massping to ultra_scan in Nmap 4.22SOC8 (2007) that sometimes resulted in
|
||||||
missing ARP responses from targets near the end of a scan. Accuracy and speed
|
missing ARP responses from targets near the end of a scan. Accuracy and speed
|
||||||
are both improved. [Daniel Miller]
|
are both improved. [Daniel Miller]
|
||||||
|
|
||||||
o [GH#1834] Addressed over 250 code quality issues identified by LGTM.com,
|
o [GH#2126] Fix the "iocp" Nsock engine for Windows to be able to correctly
|
||||||
improving our code quality score from "C" to "A+"
|
handle PCAP read events. This engine is now the default for Windows, which
|
||||||
|
should greatly improve performance over the previous default, the "poll"
|
||||||
|
engine. [Daniel Miller]
|
||||||
|
|
||||||
o [GH#1764] Fix an assertion failure when unsolicited ARP response is received:
|
o [GH#2050] Reduced CPU usage of OS scan by 50% by avoiding string copy
|
||||||
nmap: Target.cc:503: void Target::stopTimeOutClock(const timeval*): Assertion `htn.toclock_running == true' failed.
|
operations and removing undocumented fingerprint syntax unused in nmap-os-db
|
||||||
|
('&' and '+' in expressions). [Daniel Miller]
|
||||||
|
|
||||||
o [GH#1859] Allow multiple UDP payloads to be specified for a port in
|
o [GH#1859] Allow multiple UDP payloads to be specified for a port in
|
||||||
nmap-payloads. If the first payload does not get a response, the remaining
|
nmap-payloads. If the first payload does not get a response, the remaining
|
||||||
payloads are tried round-robin. [Paul Miseiko, Rapid7]
|
payloads are tried round-robin. [Paul Miseiko, Rapid7]
|
||||||
|
|
||||||
o [GH#1860] 23 new UDP payloads and dozens more default ports for existing
|
|
||||||
payloads developed for Rapid7's InsightVM scan engine. These speed up and
|
|
||||||
ensure detection of open UDP services. [Paul Miseiko, Rapid7]
|
|
||||||
|
|
||||||
o [GH#1616] New option --discovery-ignore-rst tells Nmap to ignore TCP RST
|
o [GH#1616] New option --discovery-ignore-rst tells Nmap to ignore TCP RST
|
||||||
responses when determining if a target is up. Useful when firewalls are
|
responses when determining if a target is up. Useful when firewalls are
|
||||||
spoofing RST packets. [Tom Sellers, Rapid7]
|
spoofing RST packets. [Tom Sellers, Rapid7]
|
||||||
@@ -58,6 +135,12 @@ o [GH#2104] Fixed parsing of TCP options which would hang (infinite loop) if an
|
|||||||
option had an explicit length of 0. Affects Nmap 7.80 only.
|
option had an explicit length of 0. Affects Nmap 7.80 only.
|
||||||
[Daniel Miller, Imed Mnif]
|
[Daniel Miller, Imed Mnif]
|
||||||
|
|
||||||
|
o Added a UDP payload for STUN (Session Traversal Utilities for NAT).
|
||||||
|
[David Fifield]
|
||||||
|
|
||||||
|
o [NSE] Fixed an off-by-one bug in the stun.lua library that prevented
|
||||||
|
parsing a server response. [David Fifield]
|
||||||
|
|
||||||
o [NSE][GH#1460] Script ssh2-enum-algos would fail if the server initiated
|
o [NSE][GH#1460] Script ssh2-enum-algos would fail if the server initiated
|
||||||
the key exchange before completing the protocol version exchange
|
the key exchange before completing the protocol version exchange
|
||||||
[Scott Ellis, nnposter]
|
[Scott Ellis, nnposter]
|
||||||
@@ -101,12 +184,6 @@ o [GH#1963] Added service fingerprinting for MySQL 8.x, Microsoft SQL
|
|||||||
Server 2019, MariaDB, and Crate.io CrateDB. Updated PostreSQL coverage and
|
Server 2019, MariaDB, and Crate.io CrateDB. Updated PostreSQL coverage and
|
||||||
added specific detection of recent versions running in Docker. [Tom Sellers]
|
added specific detection of recent versions running in Docker. [Tom Sellers]
|
||||||
|
|
||||||
o [NSE] New script uptime-agent-info collects system information from an Idera
|
|
||||||
Uptime Infrastructure Monitor agent. [Daniel Miller]
|
|
||||||
|
|
||||||
o [NSE] New outlib library will consolidate functions related to NSE output,
|
|
||||||
both string formatting conventions and structured output. [Daniel Miller]
|
|
||||||
|
|
||||||
o New XML output "hosthint" tag emitted during host discovery when a target is
|
o New XML output "hosthint" tag emitted during host discovery when a target is
|
||||||
found to be up. This gives earlier notification than waiting for the
|
found to be up. This gives earlier notification than waiting for the
|
||||||
hostgroup to finish all scan phases. [Paul Miseiko]
|
hostgroup to finish all scan phases. [Paul Miseiko]
|
||||||
@@ -142,10 +219,10 @@ o Upgrade libssh2 to 1.9.0, fixing compilation with OpenSSL 1.1.0 API.
|
|||||||
o [GH#1717][GH#1718] Processing of IP address CIDR blocks was not working
|
o [GH#1717][GH#1718] Processing of IP address CIDR blocks was not working
|
||||||
correctly on ppc64, ppc64le, and s390x architectures. [rfrohl, nnposter]
|
correctly on ppc64, ppc64le, and s390x architectures. [rfrohl, nnposter]
|
||||||
|
|
||||||
o [Windows] Add support for the new loopback behavior in Npcap 0.9983. This
|
o [Windows] Add support for the new loopback behavior in Npcap 0.9983 and
|
||||||
enables Nmap to scan localhost on Windows without needing the Npcap Loopback
|
later. This enables Nmap to scan localhost on Windows without needing the
|
||||||
Adapter to be installed, which was a source of problems for some users.
|
Npcap Loopback Adapter to be installed, which was a source of problems for
|
||||||
[Daniel Miller]
|
some users. [Daniel Miller]
|
||||||
|
|
||||||
o [NSE] MS SQL library has improved version resolution, from service pack level
|
o [NSE] MS SQL library has improved version resolution, from service pack level
|
||||||
to individual cumulative updates [nnposter]
|
to individual cumulative updates [nnposter]
|
||||||
@@ -219,15 +296,6 @@ o [NSE][GH#1476][GH#1707] A MS-SMB spec non-compliance in Samba was causing
|
|||||||
o [NSE][GH#1480][GH#1713][GH#1714] A bug in SMB library was causing scripts to
|
o [NSE][GH#1480][GH#1713][GH#1714] A bug in SMB library was causing scripts to
|
||||||
fail with bad format argument error. [Ivan Ivanov]
|
fail with bad format argument error. [Ivan Ivanov]
|
||||||
|
|
||||||
o [NSE] New script, dicom-brute.nse, attempts to brute force the called
|
|
||||||
Application Entity Title of DICOM servers. [Paulino Calderon]
|
|
||||||
|
|
||||||
o [NSE] New script, dicom-ping.nse, discovers DICOM servers and determines
|
|
||||||
if any Application Entity Title is allowed to connect. [Paulino Calderon]
|
|
||||||
|
|
||||||
o [NSE] New library, dicom.lua, implements the DICOM protocol used for
|
|
||||||
storing and transfering medical images. [Paulino Calderon]
|
|
||||||
|
|
||||||
o [NSE][GH#1665] The HTTP library no longer crashes when code requests digest
|
o [NSE][GH#1665] The HTTP library no longer crashes when code requests digest
|
||||||
authentication but the server does not provide the necessary authentication
|
authentication but the server does not provide the necessary authentication
|
||||||
header. [nnposter]
|
header. [nnposter]
|
||||||
@@ -235,12 +303,6 @@ o [NSE][GH#1665] The HTTP library no longer crashes when code requests digest
|
|||||||
o [NSE] Fixed a bug in http-wordpress-users.nse that could cause
|
o [NSE] Fixed a bug in http-wordpress-users.nse that could cause
|
||||||
extraneous output to be captured as part of a username. [Duarte Silva]
|
extraneous output to be captured as part of a username. [Duarte Silva]
|
||||||
|
|
||||||
o Added a UDP payload for STUN (Session Traversal Utilities for NAT).
|
|
||||||
[David Fifield]
|
|
||||||
|
|
||||||
o [NSE] Fixed an off-by-one bug in the stun.lua library that prevented
|
|
||||||
parsing a server response. [David Fifield]
|
|
||||||
|
|
||||||
Nmap 7.80 [2019-08-10]
|
Nmap 7.80 [2019-08-10]
|
||||||
|
|
||||||
o [Windows] The Npcap Windows packet capturing library (https://npcap.org/)
|
o [Windows] The Npcap Windows packet capturing library (https://npcap.org/)
|
||||||
|
|||||||
475
COPYING
475
COPYING
@@ -1,475 +0,0 @@
|
|||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* COPYING -- Describes the terms under which Nmap is distributed. *
|
|
||||||
* *
|
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
|
||||||
* *
|
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
|
||||||
* allows. For example, we consider an application to constitute a *
|
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
|
||||||
* following with any software or content covered by this license *
|
|
||||||
* ("Covered Software"): *
|
|
||||||
* *
|
|
||||||
* o Integrates source code from Covered Software. *
|
|
||||||
* *
|
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
|
||||||
* or nmap-service-probes. *
|
|
||||||
* *
|
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
|
||||||
* execute anything you tell them to). *
|
|
||||||
* *
|
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
|
||||||
* Nmap with other software in compressed or archival form does not *
|
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
|
||||||
* Source is provided to this software because we believe users have a *
|
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
|
||||||
* This also allows you to audit the software for security holes. *
|
|
||||||
* *
|
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
|
||||||
* source code repository, it is understood (unless you specify *
|
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
|
||||||
* will always be available Open Source, but this is important because *
|
|
||||||
* the inability to relicense code has caused devastating problems for *
|
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
|
||||||
* license file for more details (it's in a COPYING file included with *
|
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
GNU General Public License
|
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Table of Contents
|
|
||||||
|
|
||||||
* GNU GENERAL PUBLIC LICENSE
|
|
||||||
o Preamble
|
|
||||||
o TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
o How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
|
|
||||||
Version 2, June 1991
|
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
|
||||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The licenses for most software are designed to take away your freedom to
|
|
||||||
share and change it. By contrast, the GNU General Public License is intended
|
|
||||||
to guarantee your freedom to share and change free software--to make sure
|
|
||||||
the software is free for all its users. This General Public License applies
|
|
||||||
to most of the Free Software Foundation's software and to any other program
|
|
||||||
whose authors commit to using it. (Some other Free Software Foundation
|
|
||||||
software is covered by the GNU Library General Public License instead.) You
|
|
||||||
can apply it to your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not price. Our
|
|
||||||
General Public Licenses are designed to make sure that you have the freedom
|
|
||||||
to distribute copies of free software (and charge for this service if you
|
|
||||||
wish), that you receive source code or can get it if you want it, that you
|
|
||||||
can change the software or use pieces of it in new free programs; and that
|
|
||||||
you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid anyone to
|
|
||||||
deny you these rights or to ask you to surrender the rights. These
|
|
||||||
restrictions translate to certain responsibilities for you if you distribute
|
|
||||||
copies of the software, or if you modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether gratis or
|
|
||||||
for a fee, you must give the recipients all the rights that you have. You
|
|
||||||
must make sure that they, too, receive or can get the source code. And you
|
|
||||||
must show them these terms so they know their rights.
|
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and (2)
|
|
||||||
offer you this license which gives you legal permission to copy, distribute
|
|
||||||
and/or modify the software.
|
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain that
|
|
||||||
everyone understands that there is no warranty for this free software. If
|
|
||||||
the software is modified by someone else and passed on, we want its
|
|
||||||
recipients to know that what they have is not the original, so that any
|
|
||||||
problems introduced by others will not reflect on the original authors'
|
|
||||||
reputations.
|
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software patents. We
|
|
||||||
wish to avoid the danger that redistributors of a free program will
|
|
||||||
individually obtain patent licenses, in effect making the program
|
|
||||||
proprietary. To prevent this, we have made it clear that any patent must be
|
|
||||||
licensed for everyone's free use or not licensed at all.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and modification
|
|
||||||
follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains a notice
|
|
||||||
placed by the copyright holder saying it may be distributed under the terms
|
|
||||||
of this General Public License. The "Program", below, refers to any such
|
|
||||||
program or work, and a "work based on the Program" means either the Program
|
|
||||||
or any derivative work under copyright law: that is to say, a work
|
|
||||||
containing the Program or a portion of it, either verbatim or with
|
|
||||||
modifications and/or translated into another language. (Hereinafter,
|
|
||||||
translation is included without limitation in the term "modification".) Each
|
|
||||||
licensee is addressed as "you".
|
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not covered
|
|
||||||
by this License; they are outside its scope. The act of running the Program
|
|
||||||
is not restricted, and the output from the Program is covered only if its
|
|
||||||
contents constitute a work based on the Program (independent of having been
|
|
||||||
made by running the Program). Whether that is true depends on what the
|
|
||||||
Program does.
|
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's source code
|
|
||||||
as you receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice and
|
|
||||||
disclaimer of warranty; keep intact all the notices that refer to this
|
|
||||||
License and to the absence of any warranty; and give any other recipients of
|
|
||||||
the Program a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and you
|
|
||||||
may at your option offer warranty protection in exchange for a fee.
|
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion of it,
|
|
||||||
thus forming a work based on the Program, and copy and distribute such
|
|
||||||
modifications or work under the terms of Section 1 above, provided that you
|
|
||||||
also meet all of these conditions:
|
|
||||||
|
|
||||||
* a) You must cause the modified files to carry prominent notices stating
|
|
||||||
that you changed the files and the date of any change.
|
|
||||||
|
|
||||||
* b) You must cause any work that you distribute or publish, that in
|
|
||||||
whole or in part contains or is derived from the Program or any part
|
|
||||||
thereof, to be licensed as a whole at no charge to all third parties
|
|
||||||
under the terms of this License.
|
|
||||||
|
|
||||||
* c) If the modified program normally reads commands interactively when
|
|
||||||
run, you must cause it, when started running for such interactive use
|
|
||||||
in the most ordinary way, to print or display an announcement including
|
|
||||||
an appropriate copyright notice and a notice that there is no warranty
|
|
||||||
(or else, saying that you provide a warranty) and that users may
|
|
||||||
redistribute the program under these conditions, and telling the user
|
|
||||||
how to view a copy of this License. (Exception: if the Program itself
|
|
||||||
is interactive but does not normally print such an announcement, your
|
|
||||||
work based on the Program is not required to print an announcement.)
|
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If identifiable
|
|
||||||
sections of that work are not derived from the Program, and can be
|
|
||||||
reasonably considered independent and separate works in themselves, then
|
|
||||||
this License, and its terms, do not apply to those sections when you
|
|
||||||
distribute them as separate works. But when you distribute the same sections
|
|
||||||
as part of a whole which is a work based on the Program, the distribution of
|
|
||||||
the whole must be on the terms of this License, whose permissions for other
|
|
||||||
licensees extend to the entire whole, and thus to each and every part
|
|
||||||
regardless of who wrote it.
|
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest your
|
|
||||||
rights to work written entirely by you; rather, the intent is to exercise
|
|
||||||
the right to control the distribution of derivative or collective works
|
|
||||||
based on the Program.
|
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program with
|
|
||||||
the Program (or with a work based on the Program) on a volume of a storage
|
|
||||||
or distribution medium does not bring the other work under the scope of this
|
|
||||||
License.
|
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it, under
|
|
||||||
Section 2) in object code or executable form under the terms of Sections 1
|
|
||||||
and 2 above provided that you also do one of the following:
|
|
||||||
|
|
||||||
* a) Accompany it with the complete corresponding machine-readable source
|
|
||||||
code, which must be distributed under the terms of Sections 1 and 2
|
|
||||||
above on a medium customarily used for software interchange; or,
|
|
||||||
|
|
||||||
* b) Accompany it with a written offer, valid for at least three years,
|
|
||||||
to give any third party, for a charge no more than your cost of
|
|
||||||
physically performing source distribution, a complete machine-readable
|
|
||||||
copy of the corresponding source code, to be distributed under the
|
|
||||||
terms of Sections 1 and 2 above on a medium customarily used for
|
|
||||||
software interchange; or,
|
|
||||||
|
|
||||||
* c) Accompany it with the information you received as to the offer to
|
|
||||||
distribute corresponding source code. (This alternative is allowed only
|
|
||||||
for noncommercial distribution and only if you received the program in
|
|
||||||
object code or executable form with such an offer, in accord with
|
|
||||||
Subsection b above.)
|
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for making
|
|
||||||
modifications to it. For an executable work, complete source code means all
|
|
||||||
the source code for all modules it contains, plus any associated interface
|
|
||||||
definition files, plus the scripts used to control compilation and
|
|
||||||
installation of the executable. However, as a special exception, the source
|
|
||||||
code distributed need not include anything that is normally distributed (in
|
|
||||||
either source or binary form) with the major components (compiler, kernel,
|
|
||||||
and so on) of the operating system on which the executable runs, unless that
|
|
||||||
component itself accompanies the executable.
|
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering access to
|
|
||||||
copy from a designated place, then offering equivalent access to copy the
|
|
||||||
source code from the same place counts as distribution of the source code,
|
|
||||||
even though third parties are not compelled to copy the source along with
|
|
||||||
the object code.
|
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program except as
|
|
||||||
expressly provided under this License. Any attempt otherwise to copy,
|
|
||||||
modify, sublicense or distribute the Program is void, and will automatically
|
|
||||||
terminate your rights under this License. However, parties who have received
|
|
||||||
copies, or rights, from you under this License will not have their licenses
|
|
||||||
terminated so long as such parties remain in full compliance.
|
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not signed
|
|
||||||
it. However, nothing else grants you permission to modify or distribute the
|
|
||||||
Program or its derivative works. These actions are prohibited by law if you
|
|
||||||
do not accept this License. Therefore, by modifying or distributing the
|
|
||||||
Program (or any work based on the Program), you indicate your acceptance of
|
|
||||||
this License to do so, and all its terms and conditions for copying,
|
|
||||||
distributing or modifying the Program or works based on it.
|
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
|
||||||
Program), the recipient automatically receives a license from the original
|
|
||||||
licensor to copy, distribute or modify the Program subject to these terms
|
|
||||||
and conditions. You may not impose any further restrictions on the
|
|
||||||
recipients' exercise of the rights granted herein. You are not responsible
|
|
||||||
for enforcing compliance by third parties to this License.
|
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
|
||||||
infringement or for any other reason (not limited to patent issues),
|
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot distribute so
|
|
||||||
as to satisfy simultaneously your obligations under this License and any
|
|
||||||
other pertinent obligations, then as a consequence you may not distribute
|
|
||||||
the Program at all. For example, if a patent license would not permit
|
|
||||||
royalty-free redistribution of the Program by all those who receive copies
|
|
||||||
directly or indirectly through you, then the only way you could satisfy both
|
|
||||||
it and this License would be to refrain entirely from distribution of the
|
|
||||||
Program.
|
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under any
|
|
||||||
particular circumstance, the balance of the section is intended to apply and
|
|
||||||
the section as a whole is intended to apply in other circumstances.
|
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any patents
|
|
||||||
or other property right claims or to contest validity of any such claims;
|
|
||||||
this section has the sole purpose of protecting the integrity of the free
|
|
||||||
software distribution system, which is implemented by public license
|
|
||||||
practices. Many people have made generous contributions to the wide range of
|
|
||||||
software distributed through that system in reliance on consistent
|
|
||||||
application of that system; it is up to the author/donor to decide if he or
|
|
||||||
she is willing to distribute software through any other system and a
|
|
||||||
licensee cannot impose that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to be a
|
|
||||||
consequence of the rest of this License.
|
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in certain
|
|
||||||
countries either by patents or by copyrighted interfaces, the original
|
|
||||||
copyright holder who places the Program under this License may add an
|
|
||||||
explicit geographical distribution limitation excluding those countries, so
|
|
||||||
that distribution is permitted only in or among countries not thus excluded.
|
|
||||||
In such case, this License incorporates the limitation as if written in the
|
|
||||||
body of this License.
|
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the General Public License from time to time. Such new versions will be
|
|
||||||
similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
|
||||||
specifies a version number of this License which applies to it and "any
|
|
||||||
later version", you have the option of following the terms and conditions
|
|
||||||
either of that version or of any later version published by the Free
|
|
||||||
Software Foundation. If the Program does not specify a version number of
|
|
||||||
this License, you may choose any version ever published by the Free Software
|
|
||||||
Foundation.
|
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free programs
|
|
||||||
whose distribution conditions are different, write to the author to ask for
|
|
||||||
permission. For software which is copyrighted by the Free Software
|
|
||||||
Foundation, write to the Free Software Foundation; we sometimes make
|
|
||||||
exceptions for this. Our decision will be guided by the two goals of
|
|
||||||
preserving the free status of all derivatives of our free software and of
|
|
||||||
promoting the sharing and reuse of software generally.
|
|
||||||
|
|
||||||
NO WARRANTY
|
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
|
||||||
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
|
|
||||||
THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
|
|
||||||
PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
|
|
||||||
CORRECTION.
|
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
|
|
||||||
LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
|
|
||||||
THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest possible
|
|
||||||
use to the public, the best way to achieve this is to make it free software
|
|
||||||
which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest to
|
|
||||||
attach them to the start of each source file to most effectively convey the
|
|
||||||
exclusion of warranty; and each file should have at least the "copyright"
|
|
||||||
line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
one line to give the program's name and an idea of what it does.
|
|
||||||
Copyright (C) 19yy name of author
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU General Public License
|
|
||||||
as published by the Free Software Foundation; either version 2
|
|
||||||
of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this when
|
|
||||||
it starts in an interactive mode:
|
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
|
||||||
type `show w'. This is free software, and you are welcome
|
|
||||||
to redistribute it under certain conditions; type `show c'
|
|
||||||
for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, the commands you use may be
|
|
||||||
called something other than `show w' and `show c'; they could even be
|
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
|
||||||
necessary. Here is a sample; alter the names:
|
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright
|
|
||||||
interest in the program `Gnomovision'
|
|
||||||
(which makes passes at compilers) written
|
|
||||||
by James Hacker.
|
|
||||||
|
|
||||||
signature of Ty Coon, 1 April 1989
|
|
||||||
Ty Coon, President of Vice
|
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
|
||||||
consider it more useful to permit linking proprietary applications with the
|
|
||||||
library. If this is what you want to do, use the GNU Library General Public
|
|
||||||
License instead of this License.
|
|
||||||
146
FPEngine.cc
146
FPEngine.cc
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
FPEngine.h
146
FPEngine.h
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -3725,7 +3725,7 @@ std::vector<FingerMatch> load_fp_matches() {
|
|||||||
FingerMatch match;
|
FingerMatch match;
|
||||||
match.line = 83;
|
match.line = 83;
|
||||||
match.numprints = 5;
|
match.numprints = 5;
|
||||||
match.OS_name = (char *) "Windows 10";
|
match.OS_name = (char *) "Microsoft Windows 10";
|
||||||
{
|
{
|
||||||
OS_Classification osclass = {"Microsoft", "Windows", "10", "general purpose"};
|
OS_Classification osclass = {"Microsoft", "Windows", "10", "general purpose"};
|
||||||
osclass.cpe.push_back("cpe:/o:microsoft:windows_10");
|
osclass.cpe.push_back("cpe:/o:microsoft:windows_10");
|
||||||
@@ -3749,7 +3749,7 @@ std::vector<FingerMatch> load_fp_matches() {
|
|||||||
FingerMatch match;
|
FingerMatch match;
|
||||||
match.line = 85;
|
match.line = 85;
|
||||||
match.numprints = 6;
|
match.numprints = 6;
|
||||||
match.OS_name = (char *) "Windows 10";
|
match.OS_name = (char *) "Microsoft Windows 10";
|
||||||
{
|
{
|
||||||
OS_Classification osclass = {"Microsoft", "Windows", "10", "general purpose"};
|
OS_Classification osclass = {"Microsoft", "Windows", "10", "general purpose"};
|
||||||
osclass.cpe.push_back("cpe:/o:microsoft:windows_10");
|
osclass.cpe.push_back("cpe:/o:microsoft:windows_10");
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
564
LICENSE
Normal file
564
LICENSE
Normal file
@@ -0,0 +1,564 @@
|
|||||||
|
Nmap Public Source License Version 0.92
|
||||||
|
For more information on this license, see https://nmap.org/npsl/
|
||||||
|
|
||||||
|
0. Preamble
|
||||||
|
|
||||||
|
The intent of this license is to establish freedom to share and change
|
||||||
|
the software regulated by this license under the open source model. It
|
||||||
|
also includes a Contributor Agreement and disclaims any warranty on
|
||||||
|
Covered Software. Proprietary software companies wishing to use or
|
||||||
|
incorporate Covered Software within their programs must contact
|
||||||
|
Licensor to purchase a separate license. Open source developers who
|
||||||
|
wish to incorporate parts of Covered Software into free software with
|
||||||
|
conflicting licenses may write Licensor to request a waiver of terms.
|
||||||
|
|
||||||
|
If the Nmap Project (directly or through one of it's commercial
|
||||||
|
licensing customers) has granted you additional rights to Nmap or Nmap
|
||||||
|
OEM, those additional rights take precedence where they conflict with
|
||||||
|
the terms of this license agreement.
|
||||||
|
|
||||||
|
This License represents the complete agreement concerning subject
|
||||||
|
matter hereof. It contains the license terms themselves, but not the
|
||||||
|
reasoning behind them or detailed explanations. For further
|
||||||
|
information about this License, see https://nmap.org/npsl/ . That page
|
||||||
|
makes a good faith attempt to explain this License, but it does not
|
||||||
|
and can not modify its governing terms in any way.
|
||||||
|
|
||||||
|
1. Definitions
|
||||||
|
|
||||||
|
* "Contribution" means any work of authorship, including the original
|
||||||
|
version of the Work and any modifications or additions to that Work
|
||||||
|
or Derivative Works thereof, that is intentionally submitted to
|
||||||
|
Licensor by the copyright owner or by an individual or Legal Entity
|
||||||
|
authorized to submit on behalf of the copyright owner. For the
|
||||||
|
purposes of this definition, "submitted" means any form of
|
||||||
|
electronic, verbal, or written communication sent to the Licensor or
|
||||||
|
its representatives, including but not limited to communication on
|
||||||
|
electronic mailing lists, source code control systems, web sites,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a
|
||||||
|
Contribution."
|
||||||
|
|
||||||
|
* "Contributor" means Licensor and any individual or Legal Entity on
|
||||||
|
behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
* "Covered Software" means the work of authorship, whether in Source
|
||||||
|
or Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
|
||||||
|
* "Derivative Work" or "Collective Work" means any work, whether in
|
||||||
|
Source or Object form, that is based on (or derived from) the Work
|
||||||
|
and for which the editorial revisions, annotations, elaborations, or
|
||||||
|
other modifications represent, as a whole, an original work of
|
||||||
|
authorship. It includes software as described in Section 3 of this
|
||||||
|
License.
|
||||||
|
|
||||||
|
* "Executable" means Covered Software in any form other than Source Code.
|
||||||
|
|
||||||
|
* "Externally Deploy" means to Deploy the Covered Software in any way
|
||||||
|
that may be accessed or used by anyone other than You, used to
|
||||||
|
provide any services to anyone other than You, or used in any way to
|
||||||
|
deliver any content to anyone other than You, whether the Covered
|
||||||
|
Software is distributed to those parties, made available as an
|
||||||
|
application intended for use over a computer network, or used to
|
||||||
|
provide services or otherwise deliver content to anyone other than
|
||||||
|
You.
|
||||||
|
|
||||||
|
* "GPL" means the GNU General Public License Version 2, as published
|
||||||
|
by the Free Software Foundation and provided in Exhibit A.
|
||||||
|
|
||||||
|
* "Legal Entity" means the union of the acting entity and all other
|
||||||
|
entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
* "License" means this document, including Exhibits.
|
||||||
|
|
||||||
|
* "Licensor" means Insecure.Com LLC and its successors and assigns.
|
||||||
|
|
||||||
|
* "Main License Body" means all of the terms of this document,
|
||||||
|
excluding Exhibits.
|
||||||
|
|
||||||
|
* "You" (or "Your") means an individual or Legal Entity exercising
|
||||||
|
permissions granted by this License.
|
||||||
|
|
||||||
|
2. General Terms
|
||||||
|
|
||||||
|
Covered Software is licensed to you under the terms of the GPL
|
||||||
|
(Exhibit A), with all the exceptions, clarifications, and additions
|
||||||
|
noted in this Main License Body. Where the terms in this Main License
|
||||||
|
Body conflict in any way with the GPL, the Main License Body terms
|
||||||
|
shall take precedence. These additional terms mean that You may not
|
||||||
|
distribute Covered Software or Derivative Works under plain GPL terms
|
||||||
|
without special permission from Licensor.
|
||||||
|
|
||||||
|
You are not required to accept this License. However, nothing else
|
||||||
|
grants You permission to use, copy, modify or distribute the software
|
||||||
|
or its derivative works. These actions are prohibited by law if You do
|
||||||
|
not accept this License. Therefore, by modifying, copying or
|
||||||
|
distributing the software (or any work based on the software), You
|
||||||
|
indicate your acceptance of this License to do so, and all its terms
|
||||||
|
and conditions. In addition, you agree to the terms of this License by
|
||||||
|
clicking the Accept button or downloading the software.
|
||||||
|
|
||||||
|
3. Derivative Works
|
||||||
|
|
||||||
|
This License (including the GPL portion) places important restrictions
|
||||||
|
on derived works. Licensor interprets that term quite broadly. To
|
||||||
|
avoid any misunderstandings, we consider software to constitute a
|
||||||
|
"derivative work" of Covered Software for the purposes of this license
|
||||||
|
if it does any of the following:
|
||||||
|
|
||||||
|
* Integrates source code from Covered Software
|
||||||
|
|
||||||
|
* Reads or includes Covered Software data files, such as nmap-os-db or
|
||||||
|
nmap-service-probes.
|
||||||
|
|
||||||
|
* Is designed specifically to execute Covered Software and parse the
|
||||||
|
results (as opposed to typical shell or execution-menu apps, which
|
||||||
|
will execute anything you tell them to).
|
||||||
|
|
||||||
|
* Includes Covered Software in a proprietary executable installer. The
|
||||||
|
installers produced by InstallShield are an example of
|
||||||
|
this. Including Nmap with other software in compressed or archival
|
||||||
|
form does not trigger this provision, provided appropriate open
|
||||||
|
source decompression or de-archiving software is widely available
|
||||||
|
for no charge. For the purposes of this license, an installer is
|
||||||
|
considered to include Covered Software even if it actually retrieves
|
||||||
|
a copy of Covered Software from another source during runtime (such
|
||||||
|
as by downloading it from the Internet).
|
||||||
|
|
||||||
|
* Links (statically or dynamically) to a library which does any of the
|
||||||
|
above
|
||||||
|
|
||||||
|
* Executes a helper program, module, or script to do any of the above.
|
||||||
|
This list is not exclusive, but is meant to clarify Licensor's
|
||||||
|
intentions with some common examples. Distribution of any works
|
||||||
|
which meet these criteria must be under the terms of this license
|
||||||
|
(including this Main License Body and GPL), with no additional
|
||||||
|
conditions or restrictions. They must abide by all restrictions that
|
||||||
|
the GPL places on derivative or collective works, including the
|
||||||
|
requirements for distributing their source code and allowing
|
||||||
|
royalty-free redistribution.
|
||||||
|
|
||||||
|
4. Contributor Agreement (Grant of Copyright and Patent Licenses)
|
||||||
|
|
||||||
|
Each Contributor hereby grants to Licensor a perpetual, worldwide,
|
||||||
|
non-exclusive, no-charge, royalty-free, irrevocable copyright license
|
||||||
|
to reproduce, prepare Derivative Works of, publicly display, publicly
|
||||||
|
perform, sublicense, and distribute the Contribution and such
|
||||||
|
Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
Each Contributor hereby grants to You and Licensor a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
|
||||||
|
as stated in this section) patent license to make, have made, use,
|
||||||
|
offer to sell, sell, import, and otherwise transfer the Work, where
|
||||||
|
such license applies only to those patent claims licensable by such
|
||||||
|
Contributor that are necessarily infringed by their Contribution(s)
|
||||||
|
alone or by combination of their Contribution(s) with the Work to
|
||||||
|
which such Contribution(s) was submitted. If You institute patent
|
||||||
|
litigation against any entity (including a cross-claim or counterclaim
|
||||||
|
in a lawsuit) alleging that the Work or a Contribution incorporated
|
||||||
|
within the Work constitutes direct or contributory patent
|
||||||
|
infringement, then any patent licenses granted to You under this
|
||||||
|
License for that Work shall terminate as of the date such litigation
|
||||||
|
is filed.
|
||||||
|
|
||||||
|
Contributors may impose different terms on their Contributions by
|
||||||
|
stating those terms in writing at the time the Contribution is
|
||||||
|
made. Contributors may withhold all authority from Licensor to
|
||||||
|
incorporate submissions by conspicuously marking or otherwise
|
||||||
|
designating them in writing as "Not a Contribution" at the time they
|
||||||
|
make the work available.
|
||||||
|
|
||||||
|
5. Disclaimer of Warranty and Limitation of Liability
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, Licensor
|
||||||
|
provides the Covered Software (and each Contributor provides its
|
||||||
|
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||||
|
OF ANY KIND, either express or implied, including, without limitation,
|
||||||
|
any warranties or conditions of TITLE, NON-INFRINGEMENT,
|
||||||
|
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
|
||||||
|
responsible for determining the appropriateness of using or
|
||||||
|
redistributing the Covered Software and assume any risks associated
|
||||||
|
with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
In no event and under no legal theory, whether in tort (including
|
||||||
|
negligence), contract, or otherwise, unless required by applicable law
|
||||||
|
(such as deliberate and grossly negligent acts) or agreed to in
|
||||||
|
writing, shall any Contributor be liable to You for damages, including
|
||||||
|
any direct, indirect, special, incidental, or consequential damages of
|
||||||
|
any character arising as a result of this License or out of the use or
|
||||||
|
inability to use the Covered Software (including but not limited to
|
||||||
|
damages for loss of goodwill, work stoppage, computer failure or
|
||||||
|
malfunction, or any and all other commercial damages or losses), even
|
||||||
|
if such Contributor has been advised of the possibility of such
|
||||||
|
damages.
|
||||||
|
|
||||||
|
6. External Deployment
|
||||||
|
|
||||||
|
If You Externally Deploy Covered Software, such as hosting a website
|
||||||
|
designed to execute Nmap scans for users, the system and its
|
||||||
|
documentation must, if technically feasible, prominently display a
|
||||||
|
notice stating that the system uses the Nmap Security Scanner to
|
||||||
|
perform its tasks. If technically feasible, the notice must contain a
|
||||||
|
hyperlink to https://nmap.org/ or provide that URL in the text.
|
||||||
|
|
||||||
|
7. Trademarks
|
||||||
|
|
||||||
|
This License does not grant permission to use the trade names,
|
||||||
|
trademarks, service marks, or product names of the Licensor, except as
|
||||||
|
required for reasonable and customary use in describing the origin of
|
||||||
|
the Covered Software.
|
||||||
|
|
||||||
|
8. Termination for Patent Action
|
||||||
|
|
||||||
|
This License shall terminate automatically and You may no longer
|
||||||
|
exercise any of the rights granted to You by this License as of the
|
||||||
|
date You commence an action, including a cross-claim or counterclaim,
|
||||||
|
against Licensor or any licensee alleging that the Covered Software
|
||||||
|
infringes a patent. This termination provision shall not apply for an
|
||||||
|
action alleging patent infringement by combinations of the Covered
|
||||||
|
Software with other software or hardware.
|
||||||
|
|
||||||
|
9. Jurisdiction, Venue and Governing Law
|
||||||
|
|
||||||
|
This License is governed by the laws of the State of Washington and
|
||||||
|
the intellectual property laws of the United States of America,
|
||||||
|
excluding the jurisdiction's conflict-of-law provisions. Any
|
||||||
|
litigation or other dispute resolution between You and Licensor
|
||||||
|
relating to this License shall take place in the Northern District of
|
||||||
|
California, and You and Licensor hereby consent to the personal
|
||||||
|
jurisdiction of, and venue in, the state and federal courts within
|
||||||
|
that District with respect to this License. The application of the
|
||||||
|
United Nations Convention on Contracts for the International Sale of
|
||||||
|
Goods is expressly excluded.
|
||||||
|
|
||||||
|
10. Npcap and the Official Nmap Windows Builds
|
||||||
|
|
||||||
|
The official Windows Nmap builds includes the Npcap driver and library
|
||||||
|
(https://npcap.org) for packet capture and transmission on
|
||||||
|
Windows. That software is under its own separate license terms rather
|
||||||
|
than this license. Therefore anyone wishing to use or redistribute
|
||||||
|
both pieces of software must comply with both licenses. Since Npcap
|
||||||
|
does not allow for redistribution without special permission, the
|
||||||
|
official Nmap Windows builds which include Npcap may not be
|
||||||
|
redistributed without special permission. Such permission can be
|
||||||
|
requested by email to sales@nmap.com.
|
||||||
|
|
||||||
|
11. Permission to link with OpenSSL
|
||||||
|
|
||||||
|
Licensor grants permission to link Covered Software with any version
|
||||||
|
of the OpenSSL library from OpenSSL.Org, and distribute linked
|
||||||
|
combinations including the two (assuming such distribution is
|
||||||
|
otherwise allowed by this agreement). You must obey this License in
|
||||||
|
all respects for all code used other than OpenSSL.
|
||||||
|
|
||||||
|
12. Waiver; Construction
|
||||||
|
|
||||||
|
Failure by Licensor or any Contributor to enforce any provision of
|
||||||
|
this License will not be deemed a waiver of future enforcement of that
|
||||||
|
or any other provision. Any law or regulation which provides that the
|
||||||
|
language of a contract shall be construed against the drafter will not
|
||||||
|
apply to this License.
|
||||||
|
|
||||||
|
13. Enforceability
|
||||||
|
|
||||||
|
If any provision of this License is invalid or unenforceable under
|
||||||
|
applicable law, it shall not affect the validity or enforceability of
|
||||||
|
the remainder of the terms of this License, and without further action
|
||||||
|
by the parties hereto, such provision shall be reformed to the minimum
|
||||||
|
extent necessary to make such provision valid and enforceable.
|
||||||
|
|
||||||
|
Exhibit A. The GNU General Public License Version 2
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom
|
||||||
|
to share and change it. By contrast, the GNU General Public License is
|
||||||
|
intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the
|
||||||
|
rights. These restrictions translate to certain responsibilities for
|
||||||
|
you if you distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on,
|
||||||
|
we want its recipients to know that what they have is not the
|
||||||
|
original, so that any problems introduced by others will not reflect
|
||||||
|
on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at
|
||||||
|
all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a
|
||||||
|
notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the Program
|
||||||
|
(independent of having been made by running the Program). Whether that
|
||||||
|
is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source
|
||||||
|
code as you receive it, in any medium, provided that you conspicuously
|
||||||
|
and appropriately publish on each copy an appropriate copyright notice
|
||||||
|
and disclaimer of warranty; keep intact all the notices that refer to
|
||||||
|
this License and to the absence of any warranty; and give any other
|
||||||
|
recipients of the Program a copy of this License along with the
|
||||||
|
Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of
|
||||||
|
it, thus forming a work based on the Program, and copy and distribute
|
||||||
|
such modifications or work under the terms of Section 1 above,
|
||||||
|
provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any part
|
||||||
|
thereof, to be licensed as a whole at no charge to all third parties
|
||||||
|
under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively when
|
||||||
|
run, you must cause it, when started running for such interactive use
|
||||||
|
in the most ordinary way, to print or display an announcement
|
||||||
|
including an appropriate copyright notice and a notice that there is
|
||||||
|
no warranty (or else, saying that you provide a warranty) and that
|
||||||
|
users may redistribute the program under these conditions, and telling
|
||||||
|
the user how to view a copy of this License. (Exception: if the
|
||||||
|
Program itself is interactive but does not normally print such an
|
||||||
|
announcement, your work based on the Program is not required to print
|
||||||
|
an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections 1
|
||||||
|
and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three years,
|
||||||
|
to give any third party, for a charge no more than your cost of
|
||||||
|
physically performing source distribution, a complete machine-readable
|
||||||
|
copy of the corresponding source code, to be distributed under the
|
||||||
|
terms of Sections 1 and 2 above on a medium customarily used for
|
||||||
|
software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer to
|
||||||
|
distribute corresponding source code. (This alternative is allowed
|
||||||
|
only for noncommercial distribution and only if you received the
|
||||||
|
program in object code or executable form with such an offer, in
|
||||||
|
accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt otherwise
|
||||||
|
to copy, modify, sublicense or distribute the Program is void, and
|
||||||
|
will automatically terminate your rights under this License. However,
|
||||||
|
parties who have received copies, or rights, from you under this
|
||||||
|
License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted
|
||||||
|
herein. You are not responsible for enforcing compliance by third
|
||||||
|
parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Program does not specify a
|
||||||
|
version number of this License, you may choose any version ever
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the
|
||||||
|
author to ask for permission. For software which is copyrighted by the
|
||||||
|
Free Software Foundation, write to the Free Software Foundation; we
|
||||||
|
sometimes make exceptions for this. Our decision will be guided by the
|
||||||
|
two goals of preserving the free status of all derivatives of our free
|
||||||
|
software and of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
|
||||||
|
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS
|
||||||
|
AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF
|
||||||
|
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
[For brevity, we've cut out the GPL's final section on "How to Apply
|
||||||
|
Tehse Terms to Your New Program", but you can find that at
|
||||||
|
https://www.gnu.org/licenses/gpl-2.0.html#SEC4 ]
|
||||||
|
|
||||||
146
MACLookup.cc
146
MACLookup.cc
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
MACLookup.h
146
MACLookup.h
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
NewTargets.cc
146
NewTargets.cc
@@ -3,126 +3,58 @@
|
|||||||
* targets to the scan queue. *
|
* targets to the scan queue. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
NewTargets.h
146
NewTargets.h
@@ -3,126 +3,58 @@
|
|||||||
* targets to the scan queue. *
|
* targets to the scan queue. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
NmapOps.cc
146
NmapOps.cc
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
NmapOps.h
146
NmapOps.h
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
Target.cc
146
Target.cc
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
Target.h
146
Target.h
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
TargetGroup.cc
146
TargetGroup.cc
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
TargetGroup.h
146
TargetGroup.h
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
charpool.cc
146
charpool.cc
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
charpool.h
146
charpool.h
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $Id$
|
|||||||
This file is a list of the licenses of the third-party software used by
|
This file is a list of the licenses of the third-party software used by
|
||||||
Nmap and the other tools distributed with it. What follows is a
|
Nmap and the other tools distributed with it. What follows is a
|
||||||
description of each third-party package. At the end of this file is the
|
description of each third-party package. At the end of this file is the
|
||||||
license of each. The license of Nmap itself is in the COPYING file.
|
license of each. The license of Nmap itself is in the LICENSE file.
|
||||||
|
|
||||||
On all platforms, Nmap is normally linked with:
|
On all platforms, Nmap is normally linked with:
|
||||||
o libpcap: Network packet capture library. Distributed with Nmap in the
|
o libpcap: Network packet capture library. Distributed with Nmap in the
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<!ENTITY ike_fp_version "1.9.3">
|
<!ENTITY ike_fp_version "1.9.3">
|
||||||
|
|
||||||
<!-- License files -->
|
<!-- License files -->
|
||||||
<!ENTITY nmap_license SYSTEM "../COPYING">
|
<!ENTITY nmap_license SYSTEM "../LICENSE">
|
||||||
<!ENTITY license_npcap SYSTEM "https://raw.githubusercontent.com/nmap/npcap/master/LICENSE">
|
<!ENTITY license_npcap SYSTEM "https://raw.githubusercontent.com/nmap/npcap/master/LICENSE">
|
||||||
<!ENTITY license_bsd_modified SYSTEM "licenses/BSD-modified">
|
<!ENTITY license_bsd_modified SYSTEM "licenses/BSD-modified">
|
||||||
<!ENTITY license_bsd_simplified SYSTEM "licenses/BSD-simplified">
|
<!ENTITY license_bsd_simplified SYSTEM "licenses/BSD-simplified">
|
||||||
|
|||||||
@@ -6,71 +6,19 @@
|
|||||||
<indexterm><primary>GNU General Public License</primary></indexterm>
|
<indexterm><primary>GNU General Public License</primary></indexterm>
|
||||||
|
|
||||||
|
|
||||||
<para>The Nmap Security Scanner is (C) 1996–2018 Insecure.Com
|
<para>The Nmap Security Scanner is (C) 1996–2020 Insecure.Com
|
||||||
LLC ("The Nmap Project"). Nmap is also a registered trademark of the
|
LLC ("The Nmap Project"). Nmap is also a registered trademark of the
|
||||||
Nmap Project. This program free software; you may redistribute
|
Nmap Project. It is published under the <ulink
|
||||||
and/or modify it under the terms of the GNU General Public License as
|
url="https://nmap.org/npsl">Nmap Public Source License</ulink>. This
|
||||||
published by the Free Software Foundation; Version 2
|
generally allows end users to download and use Nmap for free. It
|
||||||
(<quote>GPL</quote>), BUT ONLY WITH ALL OF THE CLARIFICATIONS AND
|
doesn't not allow Nmap to be used and redistributed within commercial
|
||||||
EXCEPTIONS DESCRIBED HEREIN. This guarantees your right to use,
|
software or hardware products (including appliances, virtual machines,
|
||||||
modify, and redistribute this software under certain conditions. If
|
and traditional applications). We fund the project by selling a
|
||||||
you wish to embed Nmap technology into proprietary software, we sell
|
special Nmap OEM Edition for this purpose, as described at <ulink
|
||||||
alternative licenses (contact <email>sales@nmap.com</email>). Dozens
|
url="https://nmap.org/oem"/>. Hundreds of large and small software
|
||||||
of software vendors already license Nmap technology such as host
|
vendors have already purchased OEM licenses to embed Nmap technology
|
||||||
discovery, port scanning, OS detection, version detection, and the
|
such as host discovery, port scanning, OS detection, version
|
||||||
Nmap Scripting Engine.</para>
|
detection, and the Nmap Scripting Engine within their products.</para>
|
||||||
|
|
||||||
<para>Note that the GPL places important restrictions on <quote>derivative works</quote>,
|
|
||||||
yet it does not provide a detailed definition of that term. To avoid
|
|
||||||
misunderstandings, we interpret that term as broadly as copyright law
|
|
||||||
allows. For example, we consider an application to constitute a
|
|
||||||
derivative work for the purpose of this license if it does any of the
|
|
||||||
following with any software or content covered by this license
|
|
||||||
(<quote>Covered Software</quote>):</para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
|
||||||
<listitem><para>Integrates source code from Covered Software.</para></listitem>
|
|
||||||
|
|
||||||
<listitem><para>Reads or includes copyrighted data files, such as
|
|
||||||
Nmap's <filename>nmap-os-db</filename> or
|
|
||||||
<filename>nmap-service-probes</filename>.</para></listitem>
|
|
||||||
|
|
||||||
<listitem><para>Is designed specifically to execute Covered Software and parse the results (as opposed to typical shell or execution-menu apps, which will execute anything you tell them to).</para></listitem>
|
|
||||||
|
|
||||||
<listitem><para>Includes Covered Software in a proprietary executable
|
|
||||||
installer. The installers produced by InstallShield are an example of
|
|
||||||
this. Including Nmap with other software in compressed or archival
|
|
||||||
form does not trigger this provision, provided appropriate open source
|
|
||||||
decompression or de-archiving software is widely available for no
|
|
||||||
charge. For the purposes of this license, an installer is considered
|
|
||||||
to include Covered Software even if it actually retrieves a copy of
|
|
||||||
Covered Software from another source during runtime (such as by
|
|
||||||
downloading it from the Internet).</para></listitem>
|
|
||||||
|
|
||||||
<listitem><para>Links (statically or dynamically) to a library which does any of the above.</para></listitem>
|
|
||||||
<listitem><para>Executes a helper program, module, or script to do any of the above.</para></listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
This list is not exclusive, but is meant to clarify our interpretation
|
|
||||||
of derived works with some common examples. Other people may
|
|
||||||
interpret the plain GPL differently, so we consider this a special
|
|
||||||
exception to the GPL that we apply to Covered Software. Works which
|
|
||||||
meet any of these conditions must conform to all of the terms of this
|
|
||||||
license, particularly including the GPL Section 3 requirements of
|
|
||||||
providing source code and allowing free redistribution of the work as
|
|
||||||
a whole.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
As another special exception to the GPL terms, the Nmap Project grants
|
|
||||||
permission to link the code of this program with any version of the
|
|
||||||
OpenSSL library which is distributed under a license identical to that
|
|
||||||
listed in the included <filename>docs/licenses/OpenSSL.txt</filename>
|
|
||||||
file, and distribute linked combinations including the
|
|
||||||
two.<indexterm><primary>OpenSSL</primary><secondary>linking
|
|
||||||
exception</secondary></indexterm>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The Nmap Project has permission to redistribute Npcap, a packet
|
The Nmap Project has permission to redistribute Npcap, a packet
|
||||||
@@ -82,47 +30,25 @@ contain Npcap may not be redistributed without special
|
|||||||
permission.</para>
|
permission.</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Any redistribution of Covered Software, including any derived works,
|
Even though the NPSL is based on GPLv2, it contains different
|
||||||
must obey and carry forward all of the terms of this license, including
|
provisions and is not directly compatible. It is incompatible with
|
||||||
obeying all GPL rules and restrictions. For example, source code of
|
some other open source licenses as well. In some cases we can
|
||||||
the whole work must be provided and free redistribution must be
|
relicense portions of Nmap or grant special permissions to use it in
|
||||||
allowed. All GPL references to "this License", are to be treated as
|
other open source software. Please contact fyodor@nmap.org with any
|
||||||
including the terms and conditions of this license text as well.
|
such requests. Similarly, we don't incorporate incompatible open
|
||||||
</para>
|
source software into Nmap without special permission from the
|
||||||
|
|
||||||
<para>
|
|
||||||
Because this license imposes special exceptions to the GPL, Covered
|
|
||||||
Work may not be combined (even as part of a larger work) with plain
|
|
||||||
GPL software. The terms, conditions, and exceptions of this license
|
|
||||||
must be included as well. This license is incompatible with some
|
|
||||||
other open source licenses as well. In some cases we can relicense
|
|
||||||
portions of Nmap or grant special permissions to use it in other open
|
|
||||||
source software. Please contact fyodor@nmap.org with any such
|
|
||||||
requests. Similarly, we don't incorporate incompatible open source
|
|
||||||
software into Covered Software without special permission from the
|
|
||||||
copyright holders.
|
copyright holders.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>If you have received a written license agreement or contract for
|
||||||
If you have any questions about the licensing restrictions on using
|
Nmap stating terms other than these, you may choose to use and
|
||||||
Nmap in other works, we are happy to help. As mentioned above, we
|
redistribute Nmap under those terms instead.</para>
|
||||||
also offer an alternative license to integrate Nmap into proprietary
|
|
||||||
applications and appliances. These contracts have been sold to dozens
|
|
||||||
of software vendors, and generally include a perpetual license as well
|
|
||||||
as providing support and updates. They also fund the continued
|
|
||||||
development of Nmap. Please email <email>sales@nmap.com</email> for further
|
|
||||||
information.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>If you have received a written license agreement or
|
|
||||||
contract for Covered Software stating terms other than these, you may
|
|
||||||
choose to use and redistribute Covered Software under those terms
|
|
||||||
instead of these.</para>
|
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
<refsect2 id="man-copyright">
|
<refsect2 id="man-copyright">
|
||||||
<title>Creative Commons License for this Nmap Guide</title>
|
<title>Creative Commons License for this Nmap Guide</title>
|
||||||
<para>This <citetitle>Nmap Reference Guide</citetitle> is (C) 2005–2018 Insecure.Com LLC. It is
|
<para>This <citetitle>Nmap Reference Guide</citetitle> is (C) 2005–2020 Insecure.Com LLC. It is
|
||||||
hereby placed under version 3.0 of the <ulink
|
hereby placed under version 3.0 of the <ulink
|
||||||
url="http://creativecommons.org/licenses/by/3.0/">Creative Commons
|
url="http://creativecommons.org/licenses/by/3.0/">Creative Commons
|
||||||
Attribution License</ulink>. This allows you redistribute and modify
|
Attribution License</ulink>. This allows you redistribute and modify
|
||||||
@@ -139,18 +65,17 @@ have a right to know exactly what a program is going to do before they
|
|||||||
run it. This also allows you to audit the software for security holes.</para>
|
run it. This also allows you to audit the software for security holes.</para>
|
||||||
|
|
||||||
<para>Source code also allows you to port Nmap to new platforms, fix
|
<para>Source code also allows you to port Nmap to new platforms, fix
|
||||||
bugs, and add new features. You are highly encouraged to send your
|
bugs, and add new features. You are highly encouraged to submit your
|
||||||
changes to <email>dev@nmap.org</email> for possible incorporation into
|
changes as Github Pull Requests (PR) or send them to
|
||||||
the main distribution. By sending these changes to Fyodor or one of
|
<email>dev@nmap.org</email> for possible incorporation into the main
|
||||||
the Insecure.Org development mailing lists, it is assumed that you are
|
distribution. By submitting such changes, it is assumed that you are
|
||||||
offering the Nmap Project the unlimited, non-exclusive right to reuse,
|
offering the Nmap Project the unlimited, non-exclusive right to reuse,
|
||||||
modify, and relicense the code. Nmap will always be available open
|
modify, and relicense the code. This is important because the
|
||||||
source,<indexterm><primary>open source</primary></indexterm> but this
|
inability to relicense code has caused devastating problems for other
|
||||||
is important because the inability to relicense code has caused
|
Free Software projects (such as KDE and NASM). We also sell commercial
|
||||||
devastating problems for other Free Software projects (such as KDE and
|
licenses to <ulink url="https://nmap.org/oem">Nmap OEM</ulink>. If you
|
||||||
NASM). We also occasionally relicense the code to third parties as
|
wish to specify special license conditions of your contributions, just
|
||||||
discussed above. If you wish to specify special license conditions of
|
say so when you send them.</para>
|
||||||
your contributions, just say so when you send them.</para>
|
|
||||||
|
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
@@ -158,10 +83,7 @@ your contributions, just say so when you send them.</para>
|
|||||||
|
|
||||||
<para>This program is distributed in the hope that it will be useful,
|
<para>This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</para>
|
||||||
General Public License v2.0 for more details at <ulink
|
|
||||||
url="http://www.gnu.org/licenses/gpl-2.0.html" />, or in the <filename>COPYING</filename> file
|
|
||||||
included with Nmap.</para>
|
|
||||||
|
|
||||||
<para>It should also be noted that Nmap has occasionally been known to crash
|
<para>It should also be noted that Nmap has occasionally been known to crash
|
||||||
poorly written applications, TCP/IP stacks, and even operating
|
poorly written applications, TCP/IP stacks, and even operating
|
||||||
@@ -186,34 +108,40 @@ before doing even a light scan of a network.</para>
|
|||||||
That would open up a major security vulnerability as other users on the
|
That would open up a major security vulnerability as other users on the
|
||||||
system (or attackers) could use it for privilege escalation.
|
system (or attackers) could use it for privilege escalation.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>Nmap is not designed, manufactured, or intended for use in
|
||||||
|
hazardous environments requiring fail- safe performance where the
|
||||||
|
failure of the software could lead directly to death, personal injury,
|
||||||
|
or significant physical or environmental damage.</para>
|
||||||
|
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
<refsect2 id="third-party-soft"><title>Third-Party Software and Funding Notices</title>
|
<refsect2 id="third-party-soft"><title>Third-Party Software and Funding Notices</title>
|
||||||
|
|
||||||
<para>This product includes software developed by
|
<para>This product includes software developed by
|
||||||
the <ulink role="hidepdf" url="http://www.apache.org">Apache Software
|
the <ulink role="hidepdf" url="https://www.apache.org">Apache Software
|
||||||
Foundation</ulink>. A modified version of the <ulink role="hidepdf"
|
Foundation</ulink>. A modified version of the <ulink role="hidepdf"
|
||||||
url="http://www.tcpdump.org">Libpcap portable packet capture
|
url="https://www.tcpdump.org">Libpcap portable packet capture
|
||||||
library</ulink><indexterm><primary>libpcap</primary></indexterm>
|
library</ulink><indexterm><primary>libpcap</primary></indexterm>
|
||||||
is distributed along with Nmap.
|
is distributed along with Nmap.
|
||||||
The Windows version of Nmap utilizes the Libpcap-derived
|
The Windows version of Nmap utilizes the Libpcap-derived
|
||||||
<ulink role="hidepdf" url="https://npcap.org">Ncap library</ulink><indexterm><primary>Npcap</primary></indexterm>
|
<ulink role="hidepdf" url="https://npcap.org">Ncap library</ulink><indexterm><primary>Npcap</primary></indexterm>
|
||||||
instead.
|
instead.
|
||||||
Regular expression support is provided by the
|
Regular expression support is provided by the
|
||||||
<ulink role="hidepdf" url="http://www.pcre.org">PCRE library</ulink>,<indexterm><primary>Perl Compatible Regular Expressions (PCRE)</primary></indexterm>
|
<ulink role="hidepdf" url="https://pcre.org">PCRE library</ulink>,<indexterm><primary>Perl Compatible Regular Expressions (PCRE)</primary></indexterm>
|
||||||
which is open-source software, written by Philip Hazel.<indexterm><primary>Hazel, Philip</primary></indexterm>
|
which is open-source software, written by Philip Hazel.<indexterm><primary>Hazel, Philip</primary></indexterm>
|
||||||
Certain raw networking functions use the
|
Certain raw networking functions use the
|
||||||
<ulink role="hidepdf" url="http://libdnet.sourceforge.net">Libdnet</ulink><indexterm><primary>libdnet</primary></indexterm>
|
<ulink role="hidepdf" url="http://libdnet.sourceforge.net">Libdnet</ulink><indexterm><primary>libdnet</primary></indexterm>
|
||||||
networking library, which was written by Dug Song.<indexterm><primary>Song, Dug</primary></indexterm>
|
networking library, which was written by Dug Song.<indexterm><primary>Song, Dug</primary></indexterm>
|
||||||
A modified version is distributed with Nmap.
|
A modified version is distributed with Nmap.
|
||||||
Nmap can optionally link with the
|
Nmap can optionally link with the
|
||||||
<ulink role="hidepdf" url="http://www.openssl.org">OpenSSL
|
<ulink role="hidepdf" url="https://openssl.org">OpenSSL
|
||||||
cryptography toolkit</ulink><indexterm><primary>OpenSSL</primary></indexterm>
|
cryptography toolkit</ulink><indexterm><primary>OpenSSL</primary></indexterm>
|
||||||
for SSL version detection support.
|
for SSL version detection support.
|
||||||
The Nmap Scripting Engine uses an embedded version of
|
The Nmap Scripting Engine uses an embedded version of
|
||||||
the <ulink role="hidepdf" url="http://www.lua.org">Lua programming
|
the <ulink role="hidepdf" url="https://lua.org">Lua programming
|
||||||
language</ulink>.<indexterm><primary>Lua programming
|
language</ulink>.<indexterm><primary>Lua programming
|
||||||
language</primary></indexterm> The <ulink role="hidepdf" url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/">Liblinear
|
language</primary></indexterm> The <ulink role="hidepdf" url="https://www.csie.ntu.edu.tw/~cjlin/liblinear/">Liblinear
|
||||||
linear classification library</ulink> is used for our
|
linear classification library</ulink> is used for our
|
||||||
<man>
|
<man>
|
||||||
<ulink
|
<ulink
|
||||||
@@ -247,7 +175,7 @@ This software was supported in part through the <ulink url="https://nmap.org/soc
|
|||||||
OpenSSL support and linked with OpenSSL. When compiled without
|
OpenSSL support and linked with OpenSSL. When compiled without
|
||||||
OpenSSL support, the Nmap Project believes that Nmap is not subject to
|
OpenSSL support, the Nmap Project believes that Nmap is not subject to
|
||||||
U.S. <ulink
|
U.S. <ulink
|
||||||
url="http://www.access.gpo.gov/bis/ear/ear_data.html">Export
|
url="https://www.bis.doc.gov/index.php/regulations/export-administration-regulations-ear">Export
|
||||||
Administration Regulations (EAR)</ulink> export control. As such,
|
Administration Regulations (EAR)</ulink> export control. As such,
|
||||||
there is no applicable ECCN (export control classification number) and
|
there is no applicable ECCN (export control classification number) and
|
||||||
exportation does not require any special license, permit, or other
|
exportation does not require any special license, permit, or other
|
||||||
@@ -260,7 +188,7 @@ U.S. ECCN
|
|||||||
(<quote>Information Security Software</quote>). We distribute Nmap
|
(<quote>Information Security Software</quote>). We distribute Nmap
|
||||||
under the TSU exception for publicly available encryption
|
under the TSU exception for publicly available encryption
|
||||||
software defined
|
software defined
|
||||||
in <ulink url="http://www.access.gpo.gov/bis/ear/pdf/740.pdf">EAR
|
in <ulink url="https://www.bis.doc.gov/index.php/documents/regulations-docs/2341-740-2/file">EAR
|
||||||
740.13(e)</ulink>.</para>
|
740.13(e)</ulink>.</para>
|
||||||
|
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|||||||
274
docs/nmap.1
274
docs/nmap.1
@@ -2,12 +2,12 @@
|
|||||||
.\" Title: nmap
|
.\" Title: nmap
|
||||||
.\" Author: [see the "Authors" section]
|
.\" Author: [see the "Authors" section]
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 08/12/2019
|
.\" Date: 10/01/2020
|
||||||
.\" Manual: Nmap Reference Guide
|
.\" Manual: Nmap Reference Guide
|
||||||
.\" Source: Nmap
|
.\" Source: Nmap
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
.\"
|
.\"
|
||||||
.TH "NMAP" "1" "08/12/2019" "Nmap" "Nmap Reference Guide"
|
.TH "NMAP" "1" "10/01/2020" "Nmap" "Nmap Reference Guide"
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
.\" * Define some portability stuff
|
.\" * Define some portability stuff
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
@@ -119,7 +119,7 @@ This options summary is printed when Nmap is run with no arguments, and the late
|
|||||||
.RS 4
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
Nmap 7\&.80 ( https://nmap\&.org )
|
Nmap 7\&.90 ( https://nmap\&.org )
|
||||||
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
||||||
TARGET SPECIFICATION:
|
TARGET SPECIFICATION:
|
||||||
Can pass hostnames, IP addresses, networks, etc\&.
|
Can pass hostnames, IP addresses, networks, etc\&.
|
||||||
@@ -340,7 +340,7 @@ One of the very first steps in any network reconnaissance mission is to reduce a
|
|||||||
.PP
|
.PP
|
||||||
Because host discovery needs are so diverse, Nmap offers a wide variety of options for customizing the techniques used\&. Host discovery is sometimes called ping scan, but it goes well beyond the simple ICMP echo request packets associated with the ubiquitous
|
Because host discovery needs are so diverse, Nmap offers a wide variety of options for customizing the techniques used\&. Host discovery is sometimes called ping scan, but it goes well beyond the simple ICMP echo request packets associated with the ubiquitous
|
||||||
ping
|
ping
|
||||||
tool\&. Users can skip the ping step entirely with a list scan (\fB\-sL\fR) or by disabling ping (\fB\-Pn\fR), or engage the network with arbitrary combinations of multi\-port TCP SYN/ACK, UDP, SCTP INIT and ICMP probes\&. The goal of these probes is to solicit responses which demonstrate that an IP address is actually active (is being used by a host or network device)\&. On many networks, only a small percentage of IP addresses are active at any given time\&. This is particularly common with private address space such as 10\&.0\&.0\&.0/8\&. That network has 16 million IPs, but I have seen it used by companies with less than a thousand machines\&. Host discovery can find those machines in a sparsely allocated sea of IP addresses\&.
|
tool\&. Users can skip the discovery step entirely with a list scan (\fB\-sL\fR) or by disabling host discovery (\fB\-Pn\fR), or engage the network with arbitrary combinations of multi\-port TCP SYN/ACK, UDP, SCTP INIT and ICMP probes\&. The goal of these probes is to solicit responses which demonstrate that an IP address is actually active (is being used by a host or network device)\&. On many networks, only a small percentage of IP addresses are active at any given time\&. This is particularly common with private address space such as 10\&.0\&.0\&.0/8\&. That network has 16 million IPs, but I have seen it used by companies with less than a thousand machines\&. Host discovery can find those machines in a sparsely allocated sea of IP addresses\&.
|
||||||
.PP
|
.PP
|
||||||
If no host discovery options are given, Nmap sends an ICMP echo request, a TCP SYN packet to port 443, a TCP ACK packet to port 80, and an ICMP timestamp request\&. (For IPv6, the ICMP timestamp request is omitted because it is not part of ICMPv6\&.) These defaults are equivalent to the
|
If no host discovery options are given, Nmap sends an ICMP echo request, a TCP SYN packet to port 443, a TCP ACK packet to port 80, and an ICMP timestamp request\&. (For IPv6, the ICMP timestamp request is omitted because it is not part of ICMPv6\&.) These defaults are equivalent to the
|
||||||
\fB\-PE \-PS443 \-PA80 \-PP\fR
|
\fB\-PE \-PS443 \-PA80 \-PP\fR
|
||||||
@@ -353,7 +353,8 @@ This host discovery is often sufficient when scanning local networks, but a more
|
|||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
\fB\-P*\fR
|
\fB\-P*\fR
|
||||||
options (which select ping types) can be combined\&. You can increase your odds of penetrating strict firewalls by sending many probe types using different TCP ports/flags and ICMP codes\&. Also note that ARP/Neighbor Discovery is done by default against targets on a local Ethernet network even if you specify other
|
options (which select ping types) can be combined\&. You can increase your odds of penetrating strict firewalls by sending many probe types using different TCP ports/flags and ICMP codes\&. Also note that ARP/Neighbor Discovery
|
||||||
|
is done by default against targets on a local Ethernet network even if you specify other
|
||||||
\fB\-P*\fR
|
\fB\-P*\fR
|
||||||
options, because it is almost always faster and more effective\&.
|
options, because it is almost always faster and more effective\&.
|
||||||
.PP
|
.PP
|
||||||
@@ -361,7 +362,7 @@ By default, Nmap does host discovery and then performs a port scan against each
|
|||||||
\fB\-sn\fR
|
\fB\-sn\fR
|
||||||
option to learn how to perform only host discovery, or use
|
option to learn how to perform only host discovery, or use
|
||||||
\fB\-Pn\fR
|
\fB\-Pn\fR
|
||||||
to skip host discovery and port scan all target hosts\&. The following options control host discovery:
|
to skip host discovery and port scan all target addresses\&. The following options control host discovery:
|
||||||
.PP
|
.PP
|
||||||
\fB\-sL\fR (List Scan)
|
\fB\-sL\fR (List Scan)
|
||||||
.RS 4
|
.RS 4
|
||||||
@@ -371,9 +372,9 @@ is the name of one company\*(Aqs Chicago firewall\&.
|
|||||||
|
|
||||||
Nmap also reports the total number of IP addresses at the end\&. The list scan is a good sanity check to ensure that you have proper IP addresses for your targets\&. If the hosts sport domain names you do not recognize, it is worth investigating further to prevent scanning the wrong company\*(Aqs network\&.
|
Nmap also reports the total number of IP addresses at the end\&. The list scan is a good sanity check to ensure that you have proper IP addresses for your targets\&. If the hosts sport domain names you do not recognize, it is worth investigating further to prevent scanning the wrong company\*(Aqs network\&.
|
||||||
.sp
|
.sp
|
||||||
Since the idea is to simply print a list of target hosts, options for higher level functionality such as port scanning, OS detection, or ping scanning cannot be combined with this\&. If you wish to disable ping scanning while still performing such higher level functionality, read up on the
|
Since the idea is to simply print a list of target hosts, options for higher level functionality such as port scanning, OS detection, or host discovery cannot be combined with this\&. If you wish to disable host discovery while still performing such higher level functionality, read up on the
|
||||||
\fB\-Pn\fR
|
\fB\-Pn\fR
|
||||||
(skip ping) option\&.
|
(skip host discovery) option\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fB\-sn\fR (No port scan)
|
\fB\-sn\fR (No port scan)
|
||||||
@@ -393,8 +394,7 @@ was specified\&. The
|
|||||||
\fB\-sn\fR
|
\fB\-sn\fR
|
||||||
option can be combined with any of the discovery probe types (the
|
option can be combined with any of the discovery probe types (the
|
||||||
\fB\-P*\fR
|
\fB\-P*\fR
|
||||||
options, excluding
|
options) for greater flexibility\&. If any of those probe type and port number options are used, the default probes are overridden\&. When strict firewalls are in place between the source host running Nmap and the target network, using those advanced techniques is recommended\&. Otherwise hosts could be missed when the firewall drops probes or their responses\&.
|
||||||
\fB\-Pn\fR) for greater flexibility\&. If any of those probe type and port number options are used, the default probes are overridden\&. When strict firewalls are in place between the source host running Nmap and the target network, using those advanced techniques is recommended\&. Otherwise hosts could be missed when the firewall drops probes or their responses\&.
|
|
||||||
.sp
|
.sp
|
||||||
In previous releases of Nmap,
|
In previous releases of Nmap,
|
||||||
\fB\-sn\fR
|
\fB\-sn\fR
|
||||||
@@ -404,11 +404,11 @@ was known as
|
|||||||
.PP
|
.PP
|
||||||
\fB\-Pn\fR (No ping)
|
\fB\-Pn\fR (No ping)
|
||||||
.RS 4
|
.RS 4
|
||||||
This option skips the Nmap discovery stage altogether\&. Normally, Nmap uses this stage to determine active machines for heavier scanning\&. By default, Nmap only performs heavy probing such as port scans, version detection, or OS detection against hosts that are found to be up\&. Disabling host discovery with
|
This option skips the host discovery stage altogether\&. Normally, Nmap uses this stage to determine active machines for heavier scanning and to gauge the speed of the network\&. By default, Nmap only performs heavy probing such as port scans, version detection, or OS detection against hosts that are found to be up\&. Disabling host discovery with
|
||||||
\fB\-Pn\fR
|
\fB\-Pn\fR
|
||||||
causes Nmap to attempt the requested scanning functions against
|
causes Nmap to attempt the requested scanning functions against
|
||||||
\fIevery\fR
|
\fIevery\fR
|
||||||
target IP address specified\&. So if a class B target address space (/16) is specified on the command line, all 65,536 IP addresses are scanned\&. Proper host discovery is skipped as with the list scan, but instead of stopping and printing the target list, Nmap continues to perform requested functions as if each target IP is active\&. To skip ping scan
|
target IP address specified\&. So if a /16 sized network is specified on the command line, all 65,536 IP addresses are scanned\&. Proper host discovery is skipped as with the list scan, but instead of stopping and printing the target list, Nmap continues to perform requested functions as if each target IP is active\&. Default timing parameters are used, which may result in slower scans\&. To skip host discovery
|
||||||
\fIand\fR
|
\fIand\fR
|
||||||
port scan, while still allowing NSE to run, use the two options
|
port scan, while still allowing NSE to run, use the two options
|
||||||
\fB\-Pn \-sn\fR
|
\fB\-Pn \-sn\fR
|
||||||
@@ -588,6 +588,13 @@ option\&.
|
|||||||
The default behavior is normally faster, but this option is useful on networks using proxy ARP, in which a router speculatively replies to all ARP requests, making every target appear to be up according to ARP scan\&.
|
The default behavior is normally faster, but this option is useful on networks using proxy ARP, in which a router speculatively replies to all ARP requests, making every target appear to be up according to ARP scan\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
\fB\-\-discovery\-ignore\-rst\fR
|
||||||
|
.RS 4
|
||||||
|
In some cases, firewalls may spoof TCP reset (RST) replies in response to probes to unoccupied or disallowed addresses\&. Since Nmap ordinarily considers RST replies to be proof that the target is up, this can lead to wasted time scanning targets that aren\*(Aqt there\&. Using the
|
||||||
|
\fB\-\-discovery\-ignore\-rst\fR
|
||||||
|
will prevent Nmap from considering these replies during host discovery\&. You may need to select extra host discovery options to ensure you don\*(Aqt miss targets in this case\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
\fB\-\-traceroute\fR (Trace path to host)
|
\fB\-\-traceroute\fR (Trace path to host)
|
||||||
.RS 4
|
.RS 4
|
||||||
Traceroutes are performed post\-scan using information from the scan results to determine the port and protocol most likely to reach the target\&. It works with all scan types except connect scans (\fB\-sT\fR) and idle scans (\fB\-sI\fR)\&. All traces use Nmap\*(Aqs dynamic timing model and are performed in parallel\&.
|
Traceroutes are performed post\-scan using information from the scan results to determine the port and protocol most likely to reach the target\&. It works with all scan types except connect scans (\fB\-sT\fR) and idle scans (\fB\-sI\fR)\&. All traces use Nmap\*(Aqs dynamic timing model and are performed in parallel\&.
|
||||||
@@ -1092,7 +1099,7 @@ is automatically used to determine the RPC program and version numbers\&. It tak
|
|||||||
\fBrpcinfo \-p\fR
|
\fBrpcinfo \-p\fR
|
||||||
even if the target\*(Aqs portmapper is behind a firewall (or protected by TCP wrappers)\&. Decoys do not currently work with RPC scan\&.
|
even if the target\*(Aqs portmapper is behind a firewall (or protected by TCP wrappers)\&. Decoys do not currently work with RPC scan\&.
|
||||||
.PP
|
.PP
|
||||||
When Nmap receives responses from a service but cannot match them to its database, it prints out a special fingerprint and a URL for you to submit if to if you know for sure what is running on the port\&. Please take a couple minutes to make the submission so that your find can benefit everyone\&. Thanks to these submissions, Nmap has about 6,500 pattern matches for more than 650 protocols such as SMTP, FTP, HTTP, etc\&.
|
When Nmap receives responses from a service but cannot match them to its database, it prints out a special fingerprint and a URL for you to submit it to if you know for sure what is running on the port\&. Please take a couple minutes to make the submission so that your find can benefit everyone\&. Thanks to these submissions, Nmap has about 6,500 pattern matches for more than 650 protocols such as SMTP, FTP, HTTP, etc\&.
|
||||||
.PP
|
.PP
|
||||||
Version detection is enabled and controlled with the following options:
|
Version detection is enabled and controlled with the following options:
|
||||||
.PP
|
.PP
|
||||||
@@ -1235,7 +1242,7 @@ Performs a script scan using the default set of scripts\&. It is equivalent to
|
|||||||
\fB\-\-script=default\fR\&. Some of the scripts in this category are considered intrusive and should not be run against a target network without permission\&.
|
\fB\-\-script=default\fR\&. Some of the scripts in this category are considered intrusive and should not be run against a target network without permission\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-script \fR\fB\fIfilename\fR\fR\fB|\fR\fB\fIcategory\fR\fR\fB|\fR\fB\fIdirectory\fR\fR\fB|\fR\fB\fIexpression\fR\fR\fB[,\&.\&.\&.]\fR
|
\fB\-\-script \fR\fB\fIfilename\fR\fR\fB|\fR\fB\fIcategory\fR\fR\fB|\fR\fB\fIdirectory\fR\fR\fB/|\fR\fB\fIexpression\fR\fR\fB[,\&.\&.\&.]\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Runs a script scan using the comma\-separated list of filenames, script categories, and directories\&. Each element in the list may also be a Boolean expression describing a more complex set of scripts\&. Each element is interpreted first as an expression, then as a category, and finally as a file or directory name\&.
|
Runs a script scan using the comma\-separated list of filenames, script categories, and directories\&. Each element in the list may also be a Boolean expression describing a more complex set of scripts\&. Each element is interpreted first as an expression, then as a category, and finally as a file or directory name\&.
|
||||||
.sp
|
.sp
|
||||||
@@ -1258,7 +1265,7 @@ of each of the following places until found:
|
|||||||
~/\&.nmap (not searched on Windows)
|
~/\&.nmap (not searched on Windows)
|
||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
\fIHOME\fR\eAppData\eRoaming\enmap (only on Windows)
|
\fIAPPDATA\fR\enmap (only on Windows)
|
||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
the directory containing the nmap
|
the directory containing the nmap
|
||||||
@@ -1266,16 +1273,18 @@ executable
|
|||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
the directory containing the nmap
|
the directory containing the nmap
|
||||||
executable, followed by \&.\&./share/nmap
|
executable, followed by \&.\&./share/nmap (not searched on Windows)
|
||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
\fINMAPDATADIR\fR
|
\fINMAPDATADIR\fR (not searched on Windows)
|
||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
the current directory\&.
|
the current directory\&.
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
When a directory name is given, Nmap loads every file in the directory whose name ends with
|
When a directory name ending in
|
||||||
|
/
|
||||||
|
is given, Nmap loads every file in the directory whose name ends with
|
||||||
\&.nse\&. All other files are ignored and directories are not searched recursively\&. When a filename is given, it does not have to have the
|
\&.nse\&. All other files are ignored and directories are not searched recursively\&. When a filename is given, it does not have to have the
|
||||||
\&.nse
|
\&.nse
|
||||||
extension; it will be added automatically if necessary\&.
|
extension; it will be added automatically if necessary\&.
|
||||||
@@ -1431,7 +1440,7 @@ and Nmap will try to keep group sizes above that level\&. Nmap may have to use s
|
|||||||
.sp
|
.sp
|
||||||
These options do not have an effect during the host discovery phase of a scan\&. This includes plain ping scans (\fB\-sn\fR)\&. Host discovery always works in large groups of hosts to improve speed and accuracy\&.
|
These options do not have an effect during the host discovery phase of a scan\&. This includes plain ping scans (\fB\-sn\fR)\&. Host discovery always works in large groups of hosts to improve speed and accuracy\&.
|
||||||
.sp
|
.sp
|
||||||
The primary use of these options is to specify a large minimum group size so that the full scan runs more quickly\&. A common choice is 256 to scan a network in Class C sized chunks\&. For a scan with many ports, exceeding that number is unlikely to help much\&. For scans of just a few port numbers, host group sizes of 2048 or more may be helpful\&.
|
The primary use of these options is to specify a large minimum group size so that the full scan runs more quickly\&. A common choice is 256 to scan a network in /24 sized chunks\&. For a scan with many ports, exceeding that number is unlikely to help much\&. For scans of just a few port numbers, host group sizes of 2048 or more may be helpful\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-min\-parallelism \fR\fB\fInumprobes\fR\fR; \fB\-\-max\-parallelism \fR\fB\fInumprobes\fR\fR (Adjust probe parallelization)
|
\fB\-\-min\-parallelism \fR\fB\fInumprobes\fR\fR; \fB\-\-max\-parallelism \fR\fB\fInumprobes\fR\fR (Adjust probe parallelization)
|
||||||
@@ -1688,7 +1697,7 @@ There is no magic bullet (or Nmap option) for detecting and subverting firewalls
|
|||||||
.RS 4
|
.RS 4
|
||||||
The
|
The
|
||||||
\fB\-f\fR
|
\fB\-f\fR
|
||||||
option causes the requested scan (including ping scans) to use tiny fragmented IP packets\&. The idea is to split up the TCP header over several packets to make it harder for packet filters, intrusion detection systems, and other annoyances to detect what you are doing\&. Be careful with this! Some programs have trouble handling these tiny packets\&. The old\-school sniffer named Sniffit segmentation faulted immediately upon receiving the first fragment\&. Specify this option once, and Nmap splits the packets into eight bytes or less after the IP header\&. So a 20\-byte TCP header would be split into three packets\&. Two with eight bytes of the TCP header, and one with the final four\&. Of course each fragment also has an IP header\&. Specify
|
option causes the requested scan (including host discovery scans) to use tiny fragmented IP packets\&. The idea is to split up the TCP header over several packets to make it harder for packet filters, intrusion detection systems, and other annoyances to detect what you are doing\&. Be careful with this! Some programs have trouble handling these tiny packets\&. The old\-school sniffer named Sniffit segmentation faulted immediately upon receiving the first fragment\&. Specify this option once, and Nmap splits the packets into eight bytes or less after the IP header\&. So a 20\-byte TCP header would be split into three packets\&. Two with eight bytes of the TCP header, and one with the final four\&. Of course each fragment also has an IP header\&. Specify
|
||||||
\fB\-f\fR
|
\fB\-f\fR
|
||||||
again to use 16 bytes per fragment (reducing the number of fragments)\&.
|
again to use 16 bytes per fragment (reducing the number of fragments)\&.
|
||||||
Or you can specify your own offset size with the
|
Or you can specify your own offset size with the
|
||||||
@@ -1729,7 +1738,7 @@ addresses\&.
|
|||||||
.sp
|
.sp
|
||||||
Note that the hosts you use as decoys should be up or you might accidentally SYN flood your targets\&. Also it will be pretty easy to determine which host is scanning if only one is actually up on the network\&. You might want to use IP addresses instead of names (so the decoy networks don\*(Aqt see you in their nameserver logs)\&. Right now random IP address generation is only supported with IPv4
|
Note that the hosts you use as decoys should be up or you might accidentally SYN flood your targets\&. Also it will be pretty easy to determine which host is scanning if only one is actually up on the network\&. You might want to use IP addresses instead of names (so the decoy networks don\*(Aqt see you in their nameserver logs)\&. Right now random IP address generation is only supported with IPv4
|
||||||
.sp
|
.sp
|
||||||
Decoys are used both in the initial ping scan (using ICMP, SYN, ACK, or whatever) and during the actual port scanning phase\&. Decoys are also used during remote OS detection (\fB\-O\fR)\&. Decoys do not work with version detection or TCP connect scan\&. When a scan delay is in effect, the delay is enforced between each batch of spoofed probes, not between each individual probe\&. Because decoys are sent as a batch all at once, they may temporarily violate congestion control limits\&.
|
Decoys are used both in the initial host discovery scan (using ICMP, SYN, ACK, or whatever) and during the actual port scanning phase\&. Decoys are also used during remote OS detection (\fB\-O\fR)\&. Decoys do not work with version detection or TCP connect scan\&. When a scan delay is in effect, the delay is enforced between each batch of spoofed probes, not between each individual probe\&. Because decoys are sent as a batch all at once, they may temporarily violate congestion control limits\&.
|
||||||
.sp
|
.sp
|
||||||
It is worth noting that using too many decoys may slow your scan and potentially even make it less accurate\&. Also, some ISPs will filter out your spoofed packets, but many do not restrict spoofed IP packets at all\&.
|
It is worth noting that using too many decoys may slow your scan and potentially even make it less accurate\&. Also, some ISPs will filter out your spoofed packets, but many do not restrict spoofed IP packets at all\&.
|
||||||
.RE
|
.RE
|
||||||
@@ -2144,11 +2153,22 @@ open|filtered
|
|||||||
and
|
and
|
||||||
unfiltered
|
unfiltered
|
||||||
may be condensed into counts if there are an overwhelming number of them\&.
|
may be condensed into counts if there are an overwhelming number of them\&.
|
||||||
|
.sp
|
||||||
|
Beginning with Nmap 7\&.40, the
|
||||||
|
\fB\-\-open\fR
|
||||||
|
option implies
|
||||||
|
|
||||||
|
\fB\-\-defeat\-rst\-ratelimit\fR, because that option only affects
|
||||||
|
closed
|
||||||
|
and
|
||||||
|
filtered
|
||||||
|
ports, which are hidden by
|
||||||
|
\fB\-\-open\fR\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-iflist\fR (List interfaces and routes)
|
\fB\-\-iflist\fR (List interfaces and routes)
|
||||||
.RS 4
|
.RS 4
|
||||||
Prints the interface list and system routes as detected by Nmap\&. This is useful for debugging routing problems or device mischaracterization (such as Nmap treating a PPP connection as ethernet)\&.
|
Prints the interface list and system routes as detected by Nmap and quits\&. This is useful for debugging routing problems or device mischaracterization (such as Nmap treating a PPP connection as ethernet)\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fBMiscellaneous output options\fR
|
\fBMiscellaneous output options\fR
|
||||||
@@ -2403,11 +2423,11 @@ option enables verbose mode\&.
|
|||||||
\fBnmap \-sS \-O scanme\&.nmap\&.org/24\fR
|
\fBnmap \-sS \-O scanme\&.nmap\&.org/24\fR
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
Launches a stealth SYN scan against each machine that is up out of the 256 IPs on the class C sized network where Scanme resides\&. It also tries to determine what operating system is running on each host that is up and running\&. This requires root privileges because of the SYN scan and OS detection\&.
|
Launches a stealth SYN scan against each machine that is up out of the 256 IPs on the /24 sized network where Scanme resides\&. It also tries to determine what operating system is running on each host that is up and running\&. This requires root privileges because of the SYN scan and OS detection\&.
|
||||||
.PP
|
.PP
|
||||||
\fBnmap \-sV \-p 22,53,110,143,4564 198\&.116\&.0\-255\&.1\-127\fR
|
\fBnmap \-sV \-p 22,53,110,143,4564 198\&.116\&.0\-255\&.1\-127\fR
|
||||||
.PP
|
.PP
|
||||||
Launches host enumeration and a TCP scan at the first half of each of the 255 possible eight\-bit subnets in the 198\&.116 class B address space\&. This tests whether the systems run SSH, DNS, POP3, or IMAP on their standard ports, or anything on port 4564\&. For any of these ports found open, version detection is used to determine what application is running\&.
|
Launches host enumeration and a TCP scan at the first half of each of the 255 possible eight\-bit subnets in the 198\&.116\&.0\&.0/16 address space\&. This tests whether the systems run SSH, DNS, POP3, or IMAP on their standard ports, or anything on port 4564\&. For any of these ports found open, version detection is used to determine what application is running\&.
|
||||||
.PP
|
.PP
|
||||||
\fBnmap \-v \-iR 100000 \-Pn \-p 80\fR
|
\fBnmap \-v \-iR 100000 \-Pn \-p 80\fR
|
||||||
|
|
||||||
@@ -2452,118 +2472,32 @@ file distributed with Nmap and also available from
|
|||||||
.SH "LEGAL NOTICES"
|
.SH "LEGAL NOTICES"
|
||||||
.SS "Nmap Copyright and Licensing"
|
.SS "Nmap Copyright and Licensing"
|
||||||
.PP
|
.PP
|
||||||
The Nmap Security Scanner is (C) 1996\(en2018 Insecure\&.Com LLC ("The Nmap Project")\&. Nmap is also a registered trademark of the Nmap Project\&. This program free software; you may redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; Version 2 (\(lqGPL\(rq), BUT ONLY WITH ALL OF THE CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN\&. This guarantees your right to use, modify, and redistribute this software under certain conditions\&. If you wish to embed Nmap technology into proprietary software, we sell alternative licenses (contact
|
The Nmap Security Scanner is (C) 1996\(en2020 Insecure\&.Com LLC ("The Nmap Project")\&. Nmap is also a registered trademark of the Nmap Project\&. It is published under the
|
||||||
<sales@nmap\&.com>)\&. Dozens of software vendors already license Nmap technology such as host discovery, port scanning, OS detection, version detection, and the Nmap Scripting Engine\&.
|
\m[blue]\fBNmap Public Source License\fR\m[]\&\s-2\u[18]\d\s+2\&. This generally allows end users to download and use Nmap for free\&. It doesn\*(Aqt not allow Nmap to be used and redistributed within commercial software or hardware products (including appliances, virtual machines, and traditional applications)\&. We fund the project by selling a special Nmap OEM Edition for this purpose, as described at
|
||||||
.PP
|
\m[blue]\fB\%https://nmap.org/oem\fR\m[]\&. Hundreds of large and small software vendors have already purchased OEM licenses to embed Nmap technology such as host discovery, port scanning, OS detection, version detection, and the Nmap Scripting Engine within their products\&.
|
||||||
Note that the GPL places important restrictions on
|
|
||||||
\(lqderivative works\(rq, yet it does not provide a detailed definition of that term\&. To avoid misunderstandings, we interpret that term as broadly as copyright law allows\&. For example, we consider an application to constitute a derivative work for the purpose of this license if it does any of the following with any software or content covered by this license (\(lqCovered Software\(rq):
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Integrates source code from Covered Software\&.
|
|
||||||
.RE
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Reads or includes copyrighted data files, such as Nmap\*(Aqs
|
|
||||||
nmap\-os\-db
|
|
||||||
or
|
|
||||||
nmap\-service\-probes\&.
|
|
||||||
.RE
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Is designed specifically to execute Covered Software and parse the results (as opposed to typical shell or execution\-menu apps, which will execute anything you tell them to)\&.
|
|
||||||
.RE
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Includes Covered Software in a proprietary executable installer\&. The installers produced by InstallShield are an example of this\&. Including Nmap with other software in compressed or archival form does not trigger this provision, provided appropriate open source decompression or de\-archiving software is widely available for no charge\&. For the purposes of this license, an installer is considered to include Covered Software even if it actually retrieves a copy of Covered Software from another source during runtime (such as by downloading it from the Internet)\&.
|
|
||||||
.RE
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Links (statically or dynamically) to a library which does any of the above\&.
|
|
||||||
.RE
|
|
||||||
.sp
|
|
||||||
.RS 4
|
|
||||||
.ie n \{\
|
|
||||||
\h'-04'\(bu\h'+03'\c
|
|
||||||
.\}
|
|
||||||
.el \{\
|
|
||||||
.sp -1
|
|
||||||
.IP \(bu 2.3
|
|
||||||
.\}
|
|
||||||
Executes a helper program, module, or script to do any of the above\&.
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
This list is not exclusive, but is meant to clarify our interpretation of derived works with some common examples\&. Other people may interpret the plain GPL differently, so we consider this a special exception to the GPL that we apply to Covered Software\&. Works which meet any of these conditions must conform to all of the terms of this license, particularly including the GPL Section 3 requirements of providing source code and allowing free redistribution of the work as a whole\&.
|
|
||||||
.PP
|
|
||||||
As another special exception to the GPL terms, the Nmap Project grants permission to link the code of this program with any version of the OpenSSL library which is distributed under a license identical to that listed in the included
|
|
||||||
docs/licenses/OpenSSL\&.txt
|
|
||||||
file, and distribute linked combinations including the two\&.
|
|
||||||
.PP
|
.PP
|
||||||
The Nmap Project has permission to redistribute Npcap, a packet capturing driver and library for the Microsoft Windows platform\&. Npcap is a separate work with it\*(Aqs own license rather than this Nmap license\&. Since the Npcap license does not permit redistribution without special permission, our Nmap Windows binary packages which contain Npcap may not be redistributed without special permission\&.
|
The Nmap Project has permission to redistribute Npcap, a packet capturing driver and library for the Microsoft Windows platform\&. Npcap is a separate work with it\*(Aqs own license rather than this Nmap license\&. Since the Npcap license does not permit redistribution without special permission, our Nmap Windows binary packages which contain Npcap may not be redistributed without special permission\&.
|
||||||
.PP
|
.PP
|
||||||
Any redistribution of Covered Software, including any derived works, must obey and carry forward all of the terms of this license, including obeying all GPL rules and restrictions\&. For example, source code of the whole work must be provided and free redistribution must be allowed\&. All GPL references to "this License", are to be treated as including the terms and conditions of this license text as well\&.
|
Even though the NPSL is based on GPLv2, it contains different provisions and is not directly compatible\&. It is incompatible with some other open source licenses as well\&. In some cases we can relicense portions of Nmap or grant special permissions to use it in other open source software\&. Please contact fyodor@nmap\&.org with any such requests\&. Similarly, we don\*(Aqt incorporate incompatible open source software into Nmap without special permission from the copyright holders\&.
|
||||||
.PP
|
.PP
|
||||||
Because this license imposes special exceptions to the GPL, Covered Work may not be combined (even as part of a larger work) with plain GPL software\&. The terms, conditions, and exceptions of this license must be included as well\&. This license is incompatible with some other open source licenses as well\&. In some cases we can relicense portions of Nmap or grant special permissions to use it in other open source software\&. Please contact fyodor@nmap\&.org with any such requests\&. Similarly, we don\*(Aqt incorporate incompatible open source software into Covered Software without special permission from the copyright holders\&.
|
If you have received a written license agreement or contract for Nmap stating terms other than these, you may choose to use and redistribute Nmap under those terms instead\&.
|
||||||
.PP
|
|
||||||
If you have any questions about the licensing restrictions on using Nmap in other works, we are happy to help\&. As mentioned above, we also offer an alternative license to integrate Nmap into proprietary applications and appliances\&. These contracts have been sold to dozens of software vendors, and generally include a perpetual license as well as providing support and updates\&. They also fund the continued development of Nmap\&. Please email
|
|
||||||
<sales@nmap\&.com>
|
|
||||||
for further information\&.
|
|
||||||
.PP
|
|
||||||
If you have received a written license agreement or contract for Covered Software stating terms other than these, you may choose to use and redistribute Covered Software under those terms instead of these\&.
|
|
||||||
.SS "Creative Commons License for this Nmap Guide"
|
.SS "Creative Commons License for this Nmap Guide"
|
||||||
.PP
|
.PP
|
||||||
This
|
This
|
||||||
Nmap Reference Guide
|
Nmap Reference Guide
|
||||||
is (C) 2005\(en2018 Insecure\&.Com LLC\&. It is hereby placed under version 3\&.0 of the
|
is (C) 2005\(en2020 Insecure\&.Com LLC\&. It is hereby placed under version 3\&.0 of the
|
||||||
\m[blue]\fBCreative Commons Attribution License\fR\m[]\&\s-2\u[18]\d\s+2\&. This allows you redistribute and modify the work as you desire, as long as you credit the original source\&. Alternatively, you may choose to treat this document as falling under the same license as Nmap itself (discussed previously)\&.
|
\m[blue]\fBCreative Commons Attribution License\fR\m[]\&\s-2\u[19]\d\s+2\&. This allows you redistribute and modify the work as you desire, as long as you credit the original source\&. Alternatively, you may choose to treat this document as falling under the same license as Nmap itself (discussed previously)\&.
|
||||||
.SS "Source Code Availability and Community Contributions"
|
.SS "Source Code Availability and Community Contributions"
|
||||||
.PP
|
.PP
|
||||||
Source is provided to this software because we believe users have a right to know exactly what a program is going to do before they run it\&. This also allows you to audit the software for security holes\&.
|
Source is provided to this software because we believe users have a right to know exactly what a program is going to do before they run it\&. This also allows you to audit the software for security holes\&.
|
||||||
.PP
|
.PP
|
||||||
Source code also allows you to port Nmap to new platforms, fix bugs, and add new features\&. You are highly encouraged to send your changes to
|
Source code also allows you to port Nmap to new platforms, fix bugs, and add new features\&. You are highly encouraged to submit your changes as Github Pull Requests (PR) or send them to
|
||||||
<dev@nmap\&.org>
|
<dev@nmap\&.org>
|
||||||
for possible incorporation into the main distribution\&. By sending these changes to Fyodor or one of the Insecure\&.Org development mailing lists, it is assumed that you are offering the Nmap Project the unlimited, non\-exclusive right to reuse, modify, and relicense the code\&. Nmap will always be available open source,
|
for possible incorporation into the main distribution\&. By submitting such changes, it is assumed that you are offering the Nmap Project the unlimited, non\-exclusive right to reuse, modify, and relicense the code\&. This is important because the inability to relicense code has caused devastating problems for other Free Software projects (such as KDE and NASM)\&. We also sell commercial licenses to
|
||||||
but this is important because the inability to relicense code has caused devastating problems for other Free Software projects (such as KDE and NASM)\&. We also occasionally relicense the code to third parties as discussed above\&. If you wish to specify special license conditions of your contributions, just say so when you send them\&.
|
\m[blue]\fBNmap OEM\fR\m[]\&\s-2\u[20]\d\s+2\&. If you wish to specify special license conditions of your contributions, just say so when you send them\&.
|
||||||
.SS "No Warranty"
|
.SS "No Warranty"
|
||||||
.PP
|
.PP
|
||||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License v2\&.0 for more details at
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&.
|
||||||
\m[blue]\fB\%http://www.gnu.org/licenses/gpl-2.0.html\fR\m[], or in the
|
|
||||||
COPYING
|
|
||||||
file included with Nmap\&.
|
|
||||||
.PP
|
.PP
|
||||||
It should also be noted that Nmap has occasionally been known to crash poorly written applications, TCP/IP stacks, and even operating systems\&.
|
It should also be noted that Nmap has occasionally been known to crash poorly written applications, TCP/IP stacks, and even operating systems\&.
|
||||||
While this is extremely rare, it is important to keep in mind\&.
|
While this is extremely rare, it is important to keep in mind\&.
|
||||||
@@ -2575,27 +2509,29 @@ Because of the slight risk of crashes and because a few black hats like to use N
|
|||||||
.PP
|
.PP
|
||||||
Nmap should never be installed with special privileges (e\&.g\&. suid root)\&.
|
Nmap should never be installed with special privileges (e\&.g\&. suid root)\&.
|
||||||
That would open up a major security vulnerability as other users on the system (or attackers) could use it for privilege escalation\&.
|
That would open up a major security vulnerability as other users on the system (or attackers) could use it for privilege escalation\&.
|
||||||
|
.PP
|
||||||
|
Nmap is not designed, manufactured, or intended for use in hazardous environments requiring fail\- safe performance where the failure of the software could lead directly to death, personal injury, or significant physical or environmental damage\&.
|
||||||
.SS "Third\-Party Software and Funding Notices"
|
.SS "Third\-Party Software and Funding Notices"
|
||||||
.PP
|
.PP
|
||||||
This product includes software developed by the
|
This product includes software developed by the
|
||||||
\m[blue]\fBApache Software Foundation\fR\m[]\&\s-2\u[19]\d\s+2\&. A modified version of the
|
\m[blue]\fBApache Software Foundation\fR\m[]\&\s-2\u[21]\d\s+2\&. A modified version of the
|
||||||
\m[blue]\fBLibpcap portable packet capture library\fR\m[]\&\s-2\u[20]\d\s+2
|
\m[blue]\fBLibpcap portable packet capture library\fR\m[]\&\s-2\u[22]\d\s+2
|
||||||
is distributed along with Nmap\&. The Windows version of Nmap utilizes the Libpcap\-derived
|
is distributed along with Nmap\&. The Windows version of Nmap utilizes the Libpcap\-derived
|
||||||
\m[blue]\fBNcap library\fR\m[]\&\s-2\u[21]\d\s+2
|
\m[blue]\fBNcap library\fR\m[]\&\s-2\u[23]\d\s+2
|
||||||
instead\&. Regular expression support is provided by the
|
instead\&. Regular expression support is provided by the
|
||||||
\m[blue]\fBPCRE library\fR\m[]\&\s-2\u[22]\d\s+2,
|
\m[blue]\fBPCRE library\fR\m[]\&\s-2\u[24]\d\s+2,
|
||||||
which is open\-source software, written by Philip Hazel\&.
|
which is open\-source software, written by Philip Hazel\&.
|
||||||
Certain raw networking functions use the
|
Certain raw networking functions use the
|
||||||
\m[blue]\fBLibdnet\fR\m[]\&\s-2\u[23]\d\s+2
|
\m[blue]\fBLibdnet\fR\m[]\&\s-2\u[25]\d\s+2
|
||||||
networking library, which was written by Dug Song\&.
|
networking library, which was written by Dug Song\&.
|
||||||
A modified version is distributed with Nmap\&. Nmap can optionally link with the
|
A modified version is distributed with Nmap\&. Nmap can optionally link with the
|
||||||
\m[blue]\fBOpenSSL cryptography toolkit\fR\m[]\&\s-2\u[24]\d\s+2
|
\m[blue]\fBOpenSSL cryptography toolkit\fR\m[]\&\s-2\u[26]\d\s+2
|
||||||
for SSL version detection support\&. The Nmap Scripting Engine uses an embedded version of the
|
for SSL version detection support\&. The Nmap Scripting Engine uses an embedded version of the
|
||||||
\m[blue]\fBLua programming language\fR\m[]\&\s-2\u[25]\d\s+2\&.
|
\m[blue]\fBLua programming language\fR\m[]\&\s-2\u[27]\d\s+2\&.
|
||||||
The
|
The
|
||||||
\m[blue]\fBLiblinear linear classification library\fR\m[]\&\s-2\u[26]\d\s+2
|
\m[blue]\fBLiblinear linear classification library\fR\m[]\&\s-2\u[28]\d\s+2
|
||||||
is used for our
|
is used for our
|
||||||
\m[blue]\fBIPv6 OS detection machine learning techniques\fR\m[]\&\s-2\u[27]\d\s+2\&.
|
\m[blue]\fBIPv6 OS detection machine learning techniques\fR\m[]\&\s-2\u[29]\d\s+2\&.
|
||||||
|
|
||||||
All of the third\-party software described in this paragraph is freely redistributable under BSD\-style software licenses\&.
|
All of the third\-party software described in this paragraph is freely redistributable under BSD\-style software licenses\&.
|
||||||
.PP
|
.PP
|
||||||
@@ -2604,20 +2540,20 @@ LICENSES
|
|||||||
files\&.
|
files\&.
|
||||||
.PP
|
.PP
|
||||||
This software was supported in part through the
|
This software was supported in part through the
|
||||||
\m[blue]\fBGoogle Summer of Code\fR\m[]\&\s-2\u[28]\d\s+2
|
\m[blue]\fBGoogle Summer of Code\fR\m[]\&\s-2\u[30]\d\s+2
|
||||||
and the
|
and the
|
||||||
\m[blue]\fBDARPA CINDER program\fR\m[]\&\s-2\u[29]\d\s+2
|
\m[blue]\fBDARPA CINDER program\fR\m[]\&\s-2\u[31]\d\s+2
|
||||||
(DARPA\-BAA\-10\-84)\&.
|
(DARPA\-BAA\-10\-84)\&.
|
||||||
.SS "United States Export Control"
|
.SS "United States Export Control"
|
||||||
.PP
|
.PP
|
||||||
Nmap only uses encryption when compiled with the optional OpenSSL support and linked with OpenSSL\&. When compiled without OpenSSL support, the Nmap Project believes that Nmap is not subject to U\&.S\&.
|
Nmap only uses encryption when compiled with the optional OpenSSL support and linked with OpenSSL\&. When compiled without OpenSSL support, the Nmap Project believes that Nmap is not subject to U\&.S\&.
|
||||||
\m[blue]\fBExport Administration Regulations (EAR)\fR\m[]\&\s-2\u[30]\d\s+2
|
\m[blue]\fBExport Administration Regulations (EAR)\fR\m[]\&\s-2\u[32]\d\s+2
|
||||||
export control\&. As such, there is no applicable ECCN (export control classification number) and exportation does not require any special license, permit, or other governmental authorization\&.
|
export control\&. As such, there is no applicable ECCN (export control classification number) and exportation does not require any special license, permit, or other governmental authorization\&.
|
||||||
.PP
|
.PP
|
||||||
When compiled with OpenSSL support or distributed as source code, the Nmap Project believes that Nmap falls under U\&.S\&. ECCN
|
When compiled with OpenSSL support or distributed as source code, the Nmap Project believes that Nmap falls under U\&.S\&. ECCN
|
||||||
\m[blue]\fB5D002\fR\m[]\&\s-2\u[31]\d\s+2
|
\m[blue]\fB5D002\fR\m[]\&\s-2\u[33]\d\s+2
|
||||||
(\(lqInformation Security Software\(rq)\&. We distribute Nmap under the TSU exception for publicly available encryption software defined in
|
(\(lqInformation Security Software\(rq)\&. We distribute Nmap under the TSU exception for publicly available encryption software defined in
|
||||||
\m[blue]\fBEAR 740\&.13(e)\fR\m[]\&\s-2\u[32]\d\s+2\&.
|
\m[blue]\fBEAR 740\&.13(e)\fR\m[]\&\s-2\u[34]\d\s+2\&.
|
||||||
.SH "NOTES"
|
.SH "NOTES"
|
||||||
.IP " 1." 4
|
.IP " 1." 4
|
||||||
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning
|
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning
|
||||||
@@ -2705,77 +2641,87 @@ listed at Wikipedia
|
|||||||
\%http://en.wikipedia.org/wiki/List_of_IPv6_tunnel_brokers
|
\%http://en.wikipedia.org/wiki/List_of_IPv6_tunnel_brokers
|
||||||
.RE
|
.RE
|
||||||
.IP "18." 4
|
.IP "18." 4
|
||||||
|
Nmap Public Source License
|
||||||
|
.RS 4
|
||||||
|
\%https://nmap.org/npsl
|
||||||
|
.RE
|
||||||
|
.IP "19." 4
|
||||||
Creative Commons Attribution License
|
Creative Commons Attribution License
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://creativecommons.org/licenses/by/3.0/
|
\%http://creativecommons.org/licenses/by/3.0/
|
||||||
.RE
|
.RE
|
||||||
.IP "19." 4
|
|
||||||
Apache Software Foundation
|
|
||||||
.RS 4
|
|
||||||
\%http://www.apache.org
|
|
||||||
.RE
|
|
||||||
.IP "20." 4
|
.IP "20." 4
|
||||||
Libpcap portable packet capture library
|
Nmap OEM
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://www.tcpdump.org
|
\%https://nmap.org/oem
|
||||||
.RE
|
.RE
|
||||||
.IP "21." 4
|
.IP "21." 4
|
||||||
|
Apache Software Foundation
|
||||||
|
.RS 4
|
||||||
|
\%https://www.apache.org
|
||||||
|
.RE
|
||||||
|
.IP "22." 4
|
||||||
|
Libpcap portable packet capture library
|
||||||
|
.RS 4
|
||||||
|
\%https://www.tcpdump.org
|
||||||
|
.RE
|
||||||
|
.IP "23." 4
|
||||||
Ncap library
|
Ncap library
|
||||||
.RS 4
|
.RS 4
|
||||||
\%https://npcap.org
|
\%https://npcap.org
|
||||||
.RE
|
.RE
|
||||||
.IP "22." 4
|
.IP "24." 4
|
||||||
PCRE library
|
PCRE library
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://www.pcre.org
|
\%https://pcre.org
|
||||||
.RE
|
.RE
|
||||||
.IP "23." 4
|
.IP "25." 4
|
||||||
Libdnet
|
Libdnet
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://libdnet.sourceforge.net
|
\%http://libdnet.sourceforge.net
|
||||||
.RE
|
.RE
|
||||||
.IP "24." 4
|
.IP "26." 4
|
||||||
OpenSSL cryptography toolkit
|
OpenSSL cryptography toolkit
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://www.openssl.org
|
\%https://openssl.org
|
||||||
.RE
|
|
||||||
.IP "25." 4
|
|
||||||
Lua programming language
|
|
||||||
.RS 4
|
|
||||||
\%http://www.lua.org
|
|
||||||
.RE
|
|
||||||
.IP "26." 4
|
|
||||||
Liblinear linear classification library
|
|
||||||
.RS 4
|
|
||||||
\%http://www.csie.ntu.edu.tw/~cjlin/liblinear/
|
|
||||||
.RE
|
.RE
|
||||||
.IP "27." 4
|
.IP "27." 4
|
||||||
|
Lua programming language
|
||||||
|
.RS 4
|
||||||
|
\%https://lua.org
|
||||||
|
.RE
|
||||||
|
.IP "28." 4
|
||||||
|
Liblinear linear classification library
|
||||||
|
.RS 4
|
||||||
|
\%https://www.csie.ntu.edu.tw/~cjlin/liblinear/
|
||||||
|
.RE
|
||||||
|
.IP "29." 4
|
||||||
IPv6 OS detection machine learning techniques
|
IPv6 OS detection machine learning techniques
|
||||||
.RS 4
|
.RS 4
|
||||||
\%https://nmap.org/book/osdetect-guess.html#osdetect-guess-ipv6
|
\%https://nmap.org/book/osdetect-guess.html#osdetect-guess-ipv6
|
||||||
.RE
|
.RE
|
||||||
.IP "28." 4
|
.IP "30." 4
|
||||||
Google Summer of Code
|
Google Summer of Code
|
||||||
.RS 4
|
.RS 4
|
||||||
\%https://nmap.org/soc/
|
\%https://nmap.org/soc/
|
||||||
.RE
|
.RE
|
||||||
.IP "29." 4
|
.IP "31." 4
|
||||||
DARPA CINDER program
|
DARPA CINDER program
|
||||||
.RS 4
|
.RS 4
|
||||||
\%https://www.fbo.gov/index?s=opportunity&mode=form&id=585e02a51f77af5cb3c9e06b9cc82c48&tab=core&_cview=1
|
\%https://www.fbo.gov/index?s=opportunity&mode=form&id=585e02a51f77af5cb3c9e06b9cc82c48&tab=core&_cview=1
|
||||||
.RE
|
.RE
|
||||||
.IP "30." 4
|
.IP "32." 4
|
||||||
Export Administration Regulations (EAR)
|
Export Administration Regulations (EAR)
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://www.access.gpo.gov/bis/ear/ear_data.html
|
\%https://www.bis.doc.gov/index.php/regulations/export-administration-regulations-ear
|
||||||
.RE
|
.RE
|
||||||
.IP "31." 4
|
.IP "33." 4
|
||||||
5D002
|
5D002
|
||||||
.RS 4
|
.RS 4
|
||||||
\%https://www.bis.doc.gov/index.php/documents/regulations-docs/federal-register-notices/federal-register-2014/951-ccl5-pt2/file
|
\%https://www.bis.doc.gov/index.php/documents/regulations-docs/federal-register-notices/federal-register-2014/951-ccl5-pt2/file
|
||||||
.RE
|
.RE
|
||||||
.IP "32." 4
|
.IP "34." 4
|
||||||
EAR 740.13(e)
|
EAR 740.13(e)
|
||||||
.RS 4
|
.RS 4
|
||||||
\%http://www.access.gpo.gov/bis/ear/pdf/740.pdf
|
\%https://www.bis.doc.gov/index.php/documents/regulations-docs/2341-740-2/file
|
||||||
.RE
|
.RE
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Nmap 7.80SVN ( https://nmap.org )
|
Nmap 7.90 ( https://nmap.org )
|
||||||
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
Usage: nmap [Scan Type(s)] [Options] {target specification}
|
||||||
TARGET SPECIFICATION:
|
TARGET SPECIFICATION:
|
||||||
Can pass hostnames, IP addresses, networks, etc.
|
Can pass hostnames, IP addresses, networks, etc.
|
||||||
|
|||||||
146
idle_scan.cc
146
idle_scan.cc
@@ -9,126 +9,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
idle_scan.h
146
idle_scan.h
@@ -9,126 +9,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Destination Options extension header. *
|
* Destination Options extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Destination Options extension header. *
|
* Destination Options extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Hop-by-Hop extension header. *
|
* Hop-by-Hop extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Hop-by-Hop extension header. *
|
* Hop-by-Hop extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Hop-by-Hop extension header. *
|
* Hop-by-Hop extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* Hop-by-Hop extension header. *
|
* Hop-by-Hop extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* Hop-by-Hop or Routing) inherit from this class. *
|
* Hop-by-Hop or Routing) inherit from this class. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* extension header. *
|
* extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* extension header. *
|
* extension header. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This code was originally part of the Nping tool. */
|
/* This code was originally part of the Nping tool. */
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -8,126 +8,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -8,126 +8,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
* [Jhbuild](#jhbuild)
|
* [Jhbuild](#jhbuild)
|
||||||
* Observation
|
|
||||||
* Possible error
|
* Possible error
|
||||||
* [gtk-mac-bundler](#bundler)
|
* [gtk-mac-bundler](#bundler)
|
||||||
* [How to use](#howto)
|
* [How to use](#howto)
|
||||||
@@ -15,11 +14,11 @@ In order to set up Jhbuild properly before building Nmap suite, follow the tutor
|
|||||||
|
|
||||||
If you had any error, just type the following command to delete jhbuild,
|
If you had any error, just type the following command to delete jhbuild,
|
||||||
|
|
||||||
$ rm -rf ~/bin/jhbuild ~/.local/bin/jhbuild ~/.local/share/jhbuild ~/.cache/jhbuild ~/.config/jhbuildrc ~/.jhbuildrc ~/.jhbuildrc-custom ~/jhbuild
|
$ rm -rf ~/.local ~/.new_local ~/.cache ~/.config ~/Source/jhbuild ~/Source/pyenv ~/Library/Caches/pip* ~/gtk
|
||||||
|
|
||||||
And we'll start over together:
|
And we'll start over together:
|
||||||
|
|
||||||
1. First, simply download the following script in your _$HOME_ directory and launch it ([https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh](https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh)):
|
1. First, simply download the following script in your _$HOME_ directory ([https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh](https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh)). Edit it to make sure that `MACOSX_DEPLOYMENT_TARGET` exists and is set to the lowest supported version of OS X, e.g. "10.11". Then run it:
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
$ sh gtk-osx-build-setup.sh
|
$ sh gtk-osx-build-setup.sh
|
||||||
@@ -31,55 +30,63 @@ And we'll start over together:
|
|||||||
$ export PATH=$HOME/.local/bin:$PATH
|
$ export PATH=$HOME/.local/bin:$PATH
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
2. In `~/.jhbuildrc-custom`, make sure that this line is setup properly:
|
2. In `~/.jhbuildrc-custom`, make sure that this line is setup properly and matches `MACOSX_DEPLOYMENT_TARGET` from step 1:
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
setup_sdk(target=_target, sdk_version="native", architectures=["i386"])
|
setup_sdk(target="10.11")
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
for an i386 architecture.
|
|
||||||
|
|
||||||
3. Now do,
|
3. Now do,
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
$ jhbuild bootstrap
|
$ jhbuild bootstrap-gtk-osx
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
To install missing dependencies (with **--force** option to force rebuilding).<br/>Go to **Observation** if errors appear...
|
To install missing dependencies (with **--force** option to force rebuilding).<br/>
|
||||||
|
|
||||||
4. And,
|
4. And,
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
$ jhbuild build meta-gtk-osx-bootstrap
|
$ jhbuild build meta-gtk-osx-bootstrap
|
||||||
$ jhbuild build meta-gtk-osx-core
|
$ jhbuild build meta-gtk-osx-core
|
||||||
|
|
||||||
|
5. Now we need Python2 and the GTK2 bindings for it, but gtk-osx has built
|
||||||
|
Python3, and the bindings will prefer that even though the dev headers aren't
|
||||||
|
present. Specifically, we need pycairo prior to 1.19 (when they dropped Python2
|
||||||
|
support) and gtk-integration-python. There's got to be a better way, but what I
|
||||||
|
did was first install python2:
|
||||||
|
|
||||||
|
$ jhbuild build python
|
||||||
|
|
||||||
|
Then install pycairo. This is necessary because if it's missing for Python 2,
|
||||||
|
the other bindings won't build for Python 2 either. Make sure version is less
|
||||||
|
than 1.19 in ~/.cache/jhbuild/gtk-osx-python.modules. This may "succeed" but it
|
||||||
|
will have built the Python3 bindings. Clear out the build tree and make sure
|
||||||
|
the source will prefer python2:
|
||||||
|
|
||||||
|
$ jhbuild build pycairo
|
||||||
|
$ rm -rf ~/.cache/jhbuild/build/pycairo-*
|
||||||
|
$ sed -i 's/python3/python2/' ~/gtk/source/pycairo-*/meson_options.txt
|
||||||
|
$ jhbuild build pycairo
|
||||||
|
|
||||||
|
Now build the rest of the python bindings. Some of these will fail (and maybe
|
||||||
|
they failed as prereqs for pycairo earlier), so hang on and I'll tell you how
|
||||||
|
to fix those:
|
||||||
|
|
||||||
$ jhbuild build meta-gtk-osx-python
|
$ jhbuild build meta-gtk-osx-python
|
||||||
~~~~
|
|
||||||
|
|
||||||
Go to **Observation** if errors appear...
|
Ok, when you get a failure, that's your chance to reconfigure with python2.
|
||||||
|
Jhbuild will give you some options; choose "4. start a shell" and then check
|
||||||
|
for the proper configuration command (may be visible in scrollback, otherwise
|
||||||
|
check config.log) and copy it. Clear out the build directory (probably the
|
||||||
|
current directory, ~/.cache/jhbuild/build/package-name-version/*) then from
|
||||||
|
there run the configuration command with PYTHON variable overridden, e.g.:
|
||||||
|
|
||||||
<br/>
|
$ PYTHON=$(which python2) ~/gtk/source/package-name-version/configure --some-options
|
||||||
### Observation
|
|
||||||
|
|
||||||
If anything goes wrong now, it'll probably be a bad link on your python binary, so check that you're using the **GTK one** instead of the original mac one:
|
Now exit that shell and go to the build step. This might mean "ignore error and
|
||||||
|
continue with build" or it might mean "rerun step build" depending on when the
|
||||||
~~~~
|
error happened.
|
||||||
$ jhbuild shell
|
|
||||||
bash$ which python
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
If you can see _gtk_ in the path, everything is fine with Python, else do:
|
|
||||||
|
|
||||||
~~~~
|
|
||||||
$ jhbuild build --force python
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
And make an alias, to use this version of Python with Jhbuild:
|
|
||||||
|
|
||||||
~~~~
|
|
||||||
$ alias jhbuild="PATH=gtk-prefix/bin:$PATH jhbuild"
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
Now continue at **step 3** with the --force option at the end of each command, to reinstall everything from scratch with this new python binary.
|
|
||||||
|
|
||||||
### Possible error
|
### Possible error
|
||||||
|
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ PREFIX = /usr/local
|
|||||||
|
|
||||||
# Extra distribution file names
|
# Extra distribution file names
|
||||||
README_FILE = README.md
|
README_FILE = README.md
|
||||||
COPYING_FILE = COPYING
|
LICENSE_FILE = LICENSE
|
||||||
3RD_P_LIC_FILE = 3rd-party-licenses.txt
|
3RD_P_LIC_FILE = 3rd-party-licenses.txt
|
||||||
LICENSES_FILE = licenses
|
LICENSES_FILE = licenses
|
||||||
|
|
||||||
EXTRA_DIST = README.md ../COPYING ../docs/3rd-party-licenses.txt ../docs/licenses
|
EXTRA_DIST = README.md ../LICENSE ../docs/3rd-party-licenses.txt ../docs/licenses
|
||||||
|
|
||||||
CONFIGURE_ARGS = --prefix="$(PREFIX)" --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" PYTHON="$(PYTHON)"
|
CONFIGURE_ARGS = --prefix="$(PREFIX)" --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" PYTHON="$(PYTHON)"
|
||||||
|
|
||||||
@@ -83,8 +83,8 @@ export APPS_POS_X=110
|
|||||||
export APPS_POS_Y=310
|
export APPS_POS_Y=310
|
||||||
export README_POS_X=802
|
export README_POS_X=802
|
||||||
export README_POS_Y=180
|
export README_POS_Y=180
|
||||||
export COPYING_POS_X=802
|
export LICENSE_POS_X=802
|
||||||
export COPYING_POS_Y=310
|
export LICENSE_POS_Y=310
|
||||||
export THIRD_P_POS_X=802
|
export THIRD_P_POS_X=802
|
||||||
export THIRD_P_POS_Y=440
|
export THIRD_P_POS_Y=440
|
||||||
export LICENSES_POS_X=670
|
export LICENSES_POS_X=670
|
||||||
@@ -93,17 +93,17 @@ export LICENSES_POS_Y=60
|
|||||||
$(IMAGE_NAME): tool-checks $(IMAGE_STAGING_DIR)/$(PKG_NAME)
|
$(IMAGE_NAME): tool-checks $(IMAGE_STAGING_DIR)/$(PKG_NAME)
|
||||||
rm -f $@
|
rm -f $@
|
||||||
# Create the dmg disk image and convert it to read only disk
|
# Create the dmg disk image and convert it to read only disk
|
||||||
./createdmg.sh $(IMAGE_STAGING_DIR) $(README_FILE) $(COPYING_FILE) $(3RD_P_LIC_FILE) $(LICENSES_FILE)
|
./createdmg.sh $(IMAGE_STAGING_DIR) $(README_FILE) $(LICENSE_FILE) $(3RD_P_LIC_FILE) $(LICENSES_FILE)
|
||||||
# Check the created disk image for the sizes, backgrounds and icons presence and positions
|
# Check the created disk image for the sizes, backgrounds and icons presence and positions
|
||||||
./check_test.sh $(README_FILE) $(COPYING_FILE) $(3RD_P_LIC_FILE) $(LICENSES_FILE)
|
./check_test.sh $(README_FILE) $(LICENSE_FILE) $(3RD_P_LIC_FILE) $(LICENSES_FILE)
|
||||||
|
|
||||||
tool-checks: have-$(CC) have-jhbuild have-gtk-mac-bundler
|
tool-checks: have-$(CC) have-jhbuild have-gtk-mac-bundler
|
||||||
|
|
||||||
have-%:
|
have-%:
|
||||||
which $*
|
which $*
|
||||||
|
|
||||||
#$(IMAGE_STAGING_DIR)/$(PKG_NAME): check-nmap check-ncat check-ndiff check-zenmap check-nping COPYING.formatted
|
#$(IMAGE_STAGING_DIR)/$(PKG_NAME): check-nmap check-ncat check-ndiff check-zenmap check-nping LICENSE.formatted
|
||||||
$(IMAGE_STAGING_DIR)/$(PKG_NAME): check-nmap check-ncat check-ndiff check-zenmap check-nping COPYING.formatted
|
$(IMAGE_STAGING_DIR)/$(PKG_NAME): check-nmap check-ncat check-ndiff check-zenmap check-nping LICENSE.formatted
|
||||||
rm -rf $(IMAGE_STAGING_DIR)
|
rm -rf $(IMAGE_STAGING_DIR)
|
||||||
mkdir -p $(IMAGE_STAGING_DIR)
|
mkdir -p $(IMAGE_STAGING_DIR)
|
||||||
cp -rf $(EXTRA_DIST) $(IMAGE_STAGING_DIR)/
|
cp -rf $(EXTRA_DIST) $(IMAGE_STAGING_DIR)/
|
||||||
@@ -186,9 +186,9 @@ stage-ndiff: export-$(NDIFF_BUILD_DIR)
|
|||||||
cp $(NDIFF_BUILD_DIR)/ndiff/ndiff.py $(NDIFF_STAGING_DIR)/usr/local/bin/ndiff
|
cp $(NDIFF_BUILD_DIR)/ndiff/ndiff.py $(NDIFF_STAGING_DIR)/usr/local/bin/ndiff
|
||||||
cp $(NDIFF_BUILD_DIR)/ndiff/docs/ndiff.1 $(NDIFF_STAGING_DIR)/usr/local/share/man/man1/
|
cp $(NDIFF_BUILD_DIR)/ndiff/docs/ndiff.1 $(NDIFF_STAGING_DIR)/usr/local/share/man/man1/
|
||||||
|
|
||||||
COPYING.formatted:
|
LICENSE.formatted:
|
||||||
# Use the license formatter from the Windows installer.
|
# Use the license formatter from the Windows installer.
|
||||||
../mswin32/license-format/licformat.sh ../COPYING > $@
|
../mswin32/license-format/licformat.sh ../LICENSE > $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(IMAGE_STAGING_DIR)
|
rm -rf $(IMAGE_STAGING_DIR)
|
||||||
@@ -202,7 +202,7 @@ clean:
|
|||||||
rm -rf $(NDIFF_STAGING_DIR)
|
rm -rf $(NDIFF_STAGING_DIR)
|
||||||
rm -rf $(NPING_BUILD_DIR)
|
rm -rf $(NPING_BUILD_DIR)
|
||||||
rm -rf $(NPING_STAGING_DIR)
|
rm -rf $(NPING_STAGING_DIR)
|
||||||
rm -f COPYING.formatted
|
rm -f LICENSE.formatted
|
||||||
rm -f $(IMAGE_NAME)
|
rm -f $(IMAGE_NAME)
|
||||||
rm -rf distribution.xml finalDist.xml nmap.pkg ncat.pkg ndiff.pkg nping.pkg zenmap.pkg
|
rm -rf distribution.xml finalDist.xml nmap.pkg ncat.pkg ndiff.pkg nping.pkg zenmap.pkg
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export README=`echo '
|
|||||||
end tell
|
end tell
|
||||||
' | osascript | grep -o 'position:[0-9]*, [0-9]*' | awk -F':' '{ print $2 }'`
|
' | osascript | grep -o 'position:[0-9]*, [0-9]*' | awk -F':' '{ print $2 }'`
|
||||||
|
|
||||||
export COPYING=`echo '
|
export LICENSE=`echo '
|
||||||
tell application "Finder"
|
tell application "Finder"
|
||||||
set f to POSIX file "'${disk}'/'$2'" as alias
|
set f to POSIX file "'${disk}'/'$2'" as alias
|
||||||
get properties of f
|
get properties of f
|
||||||
@@ -74,10 +74,10 @@ else
|
|||||||
RES="False"
|
RES="False"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if [ "$COPYING" = "$COPYING_POS_X, $COPYING_POS_Y" ]; then
|
if [ "$LICENSE" = "$LICENSE_POS_X, $LICENSE_POS_Y" ]; then
|
||||||
echo "COPYING: OK"
|
echo "LICENSE: OK"
|
||||||
else
|
else
|
||||||
echo "COPYING: Wrong"
|
echo "LICENSE: Wrong"
|
||||||
RES="False"
|
RES="False"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ echo '
|
|||||||
set position of item "'${applicationName}'" of container window to {'${MPKG_POS_X}', '${MPKG_POS_Y}'}
|
set position of item "'${applicationName}'" of container window to {'${MPKG_POS_X}', '${MPKG_POS_Y}'}
|
||||||
set position of item "Applications" of container window to {'${APPS_POS_X}', '${APPS_POS_Y}'}
|
set position of item "Applications" of container window to {'${APPS_POS_X}', '${APPS_POS_Y}'}
|
||||||
set position of item "'$2'" of container window to {'${README_POS_X}', '${README_POS_Y}'}
|
set position of item "'$2'" of container window to {'${README_POS_X}', '${README_POS_Y}'}
|
||||||
set position of item "'$3'" of container window to {'${COPYING_POS_X}', '${COPYING_POS_Y}'}
|
set position of item "'$3'" of container window to {'${LICENSE_POS_X}', '${LICENSE_POS_Y}'}
|
||||||
set position of item "'$4'" of container window to {'${THIRD_P_POS_X}', '${THIRD_P_POS_Y}'}
|
set position of item "'$4'" of container window to {'${THIRD_P_POS_X}', '${THIRD_P_POS_Y}'}
|
||||||
set position of item "'$5'" of container window to {'${LICENSES_POS_X}', '${LICENSES_POS_Y}'}
|
set position of item "'$5'" of container window to {'${LICENSES_POS_X}', '${LICENSES_POS_Y}'}
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<resources bg-scale="none" bg-align="topleft">
|
<resources bg-scale="none" bg-align="topleft">
|
||||||
<locale lang="en">
|
<locale lang="en">
|
||||||
<resource relative="true" type="welcome">README</resource>
|
<resource relative="true" type="welcome">README</resource>
|
||||||
<resource relative="true" type="license">COPYING.formatted</resource>
|
<resource relative="true" type="license">LICENSE.formatted</resource>
|
||||||
</locale>
|
</locale>
|
||||||
</resources>
|
</resources>
|
||||||
<flags />
|
<flags />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<!-- INCLUDE -->
|
<!-- INCLUDE -->
|
||||||
|
|
||||||
<include href="https://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"/>
|
<!-- <include href="https://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"/> -->
|
||||||
|
|
||||||
<!-- REPOSITORIES -->
|
<!-- REPOSITORIES -->
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
makeargs='OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" LIBSSL="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a" LIBZ="${JHBUILD_LIBDIR}/libz.a"'
|
makeargs='OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" LIBSSL="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a" LIBZ="${JHBUILD_LIBDIR}/libz.a"'
|
||||||
makeinstallargs='install OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a"'
|
makeinstallargs='install OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a"'
|
||||||
>
|
>
|
||||||
<branch repo="nmap-local" module="nmap-7.80.tar.gz" version="7.80"/>
|
<branch repo="nmap-local" module="nmap-7.90.tar.gz" version="7.90"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dep package="openssl" />
|
<dep package="openssl" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
makeargs='build-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeargs='build-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
makeinstallargs='install-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeinstallargs='install-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
>
|
>
|
||||||
<branch repo="nmap-local" module="nmap-7.80.tar.gz" version="7.80"/>
|
<branch repo="nmap-local" module="nmap-7.90.tar.gz" version="7.90"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dep package="openssl" />
|
<dep package="openssl" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
makeargs='build-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeargs='build-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
makeinstallargs='install-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeinstallargs='install-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
>
|
>
|
||||||
<branch repo="nmap-local" module="nmap-7.80.tar.gz" version="7.80"/>
|
<branch repo="nmap-local" module="nmap-7.90.tar.gz" version="7.90"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dep package="openssl" />
|
<dep package="openssl" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
makeargs='OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" LIBSSL="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a" LIBZ="${JHBUILD_LIBDIR}/libz.a"'
|
makeargs='OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" LIBSSL="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a" LIBZ="${JHBUILD_LIBDIR}/libz.a"'
|
||||||
makeinstallargs='install OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a"'
|
makeinstallargs='install OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a"'
|
||||||
>
|
>
|
||||||
<branch repo="nmap-local" module="nmap-7.80.tar.gz" version="7.80"/>
|
<branch repo="nmap-local" module="nmap-7.90.tar.gz" version="7.90"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dep package="openssl" />
|
<dep package="openssl" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
makeargs='build-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeargs='build-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
makeinstallargs='install-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
makeinstallargs='install-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
|
||||||
>
|
>
|
||||||
<branch repo="nmap-local" module="nmap-7.80.tar.gz" version="7.80"/>
|
<branch repo="nmap-local" module="nmap-7.90.tar.gz" version="7.90"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dep package="openssl" />
|
<dep package="openssl" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|||||||
146
main.cc
146
main.cc
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
156
mswin32/Makefile
156
mswin32/Makefile
@@ -1,14 +1,17 @@
|
|||||||
MAKENSIS="/cygdrive/c/Program Files (x86)/NSIS/makensis.exe"
|
MAKENSIS=/cygdrive/c/Program Files (x86)/NSIS-strlen/makensis.exe
|
||||||
|
MAKENSIS_WIN=$(shell echo '$(MAKENSIS)' | sed 's|/cygdrive/\(.\)|\1:|;s|/|\\|g')
|
||||||
# VCExpress.exe is devenv.com with the commercial Visual Studio suite instead of VC++ Express
|
# VCExpress.exe is devenv.com with the commercial Visual Studio suite instead of VC++ Express
|
||||||
VCEXPRESS := $(shell reg query "HKEY_CLASSES_ROOT\\Applications\\devenv.exe\\shell\\edit\\command" | egrep -i '[A-Z]:\\' | cut -d\" -f2 | sed 's%\\%/%g' | tr -d '\r\n')
|
VCEXPRESS := $(shell reg query "HKEY_CLASSES_ROOT\\Applications\\devenv.exe\\shell\\edit\\command" | egrep -i '[A-Z]:\\' | cut -d\" -f2 | sed 's%\\%/%g' | tr -d '\r\n')
|
||||||
SIGNTOOL := $(shell reg query "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.1" /v "InstallationFolder" | egrep InstallationFolder | cut -d ' ' -f13- | sed 's%\\%/%g' | tr -d '\r\n' | sed 's%$$%bin/x86/signtool.exe%')
|
SIGNTOOL := $(shell reg query "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.1" /v "InstallationFolder" | egrep InstallationFolder | cut -d ' ' -f13- | sed 's%\\%/%g' | tr -d '\r\n' | sed 's%$$%bin/x86/signtool.exe%')
|
||||||
export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q')
|
NMAPDIR=..
|
||||||
export NMAP_NUM_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_NUM_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q')
|
NMAPDIR_WIN=$(shell echo '$(NMAPDIR)' | sed 's|/cygdrive/\(.\)|\1:|;s|/|\\|g')
|
||||||
export NPCAP_VERSION := $(shell ls npcap-*.exe | sed -e 's/npcap-\([-r0-9.]*\)\.exe/\1/' -e 'q')
|
export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' $(NMAPDIR)/nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q')
|
||||||
|
export NMAP_NUM_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_NUM_VERSION' $(NMAPDIR)/nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q')
|
||||||
|
export NPCAP_VERSION := $(shell ls npcap-*.exe | sed -e 's/npcap-\([0-9.]*\)[-oem]*\.exe/\1/' -e 'q')
|
||||||
COMMA_VERSION=$(shell echo $(NMAP_NUM_VERSION) | tr '.' ',')
|
COMMA_VERSION=$(shell echo $(NMAP_NUM_VERSION) | tr '.' ',')
|
||||||
LOGLOC=c:nmapbuild.log
|
LOGLOC=c:nmapbuild.log
|
||||||
NSE_FILES = ../scripts/script.db ../scripts/*.nse
|
NSE_FILES = $(NMAPDIR)/scripts/script.db $(NMAPDIR)/scripts/*.nse
|
||||||
NMAP_MSWIN32_AUX = ../../nmap-mswin32-aux
|
NMAP_MSWIN32_AUX = $(NMAPDIR)/../nmap-mswin32-aux
|
||||||
SIGNTOOL_ARGS = sign /a /n "Insecure.Com LLC" /tr http://timestamp.digicert.com /td sha256 /fd sha256
|
SIGNTOOL_ARGS = sign /a /n "Insecure.Com LLC" /tr http://timestamp.digicert.com /td sha256 /fd sha256
|
||||||
# escape quotes for NSIS
|
# escape quotes for NSIS
|
||||||
# escape for right side of sed regex replace
|
# escape for right side of sed regex replace
|
||||||
@@ -16,100 +19,133 @@ SIGNTOOL_SUBST = $(shell echo '"$(SIGNTOOL)" $(SIGNTOOL_ARGS)' | sed -e 's/"/$$\
|
|||||||
|
|
||||||
PRODUCT_NAME=Nmap
|
PRODUCT_NAME=Nmap
|
||||||
PLATFORM=Win32
|
PLATFORM=Win32
|
||||||
BASE_CONFIG ?= Release
|
VCCONFIG=Release
|
||||||
VCCONFIG=$(BASE_CONFIG)
|
|
||||||
NSIS_DEFINES=
|
NSIS_DEFINES=
|
||||||
ifdef NMAP_OEM
|
|
||||||
PRODUCT_NAME=Nmap OEM
|
|
||||||
OEM_SUFFIX=-oem
|
|
||||||
VCCONFIG=$(BASE_CONFIG)OEM
|
|
||||||
NSIS_DEFINES="/DNMAP_OEM=1"
|
|
||||||
endif
|
|
||||||
|
|
||||||
bundle-nmap: bundle-zip bundle-nsis
|
bundle-nmap: bundle-zip bundle-nsis
|
||||||
|
|
||||||
build-nmap: nmap.sln nmap.rc
|
build-nmap${OEM_SUFFIX}: nmap.sln nmap${OEM_SUFFIX}.rc
|
||||||
"$(VCEXPRESS)" nmap.sln /build "$(VCCONFIG)|$(PLATFORM)" /out $(LOGLOC)
|
"$(VCEXPRESS)" nmap.sln /build "$(VCCONFIG)${OEM_SUFFIX}|$(PLATFORM)" /out $(LOGLOC)
|
||||||
|
|
||||||
stage-nmap: build-nmap LICENSE
|
stage-common: $(NMAPDIR)/CHANGELOG $(NMAPDIR)/LICENSE $(NMAPDIR)/nmap-mac-prefixes $(NMAPDIR)/nmap-os-db $(NMAPDIR)/nmap-payloads $(NMAPDIR)/nmap-protocols $(NMAPDIR)/nmap-rpc $(NMAPDIR)/nmap-service-probes $(NMAPDIR)/nmap-services $(NMAPDIR)/docs/nmap.xsl $(NMAPDIR)/nse_main.lua $(NMAPDIR)/mswin32/nmap_performance.reg $(NMAPDIR)/README-WIN32 $(NMAPDIR)/docs/3rd-party-licenses.txt icon1.ico LICENSE.formatted
|
||||||
rm -rf nmap-$(NMAP_VERSION)
|
mkdir -p nmap-$(NMAP_VERSION)
|
||||||
mkdir nmap-$(NMAP_VERSION)
|
cp $^ nmap-$(NMAP_VERSION)/
|
||||||
cp ../CHANGELOG ../COPYING ../nmap-mac-prefixes ../nmap-os-db ../nmap-payloads ../nmap-protocols ../nmap-rpc ../nmap-service-probes ../nmap-services $(VCCONFIG)/nmap.exe ../docs/nmap.xsl ../nse_main.lua nmap_performance.reg ../README-WIN32 ../docs/3rd-party-licenses.txt nmap-$(NMAP_VERSION)/
|
|
||||||
# Use "cmd /c copy" rather than "cp" to preserve Windows ACLs. Using
|
# Use "cmd /c copy" rather than "cp" to preserve Windows ACLs. Using
|
||||||
# "cp" means that the copied DLLs don't have the same ACL and cause an
|
# "cp" means that the copied DLLs don't have the same ACL and cause an
|
||||||
# error on startup: 0xc0000022.
|
# error on startup: 0xc0000022.
|
||||||
cmd /c copy $(subst /,\\,$(NMAP_MSWIN32_AUX))\\OpenSSL\\bin\\*.dll nmap-$(NMAP_VERSION)
|
cmd /c copy $(subst /,\\,$(NMAP_MSWIN32_AUX))\\OpenSSL\\bin\\*.dll nmap-$(NMAP_VERSION)
|
||||||
cmd /c copy ..\\libssh2\\win32\\$(BASE_CONFIG)_dll\\libssh2.dll nmap-$(NMAP_VERSION)
|
cmd /c copy $(NMAPDIR_WIN)\\libssh2\\win32\\$(VCCONFIG)_dll\\libssh2.dll nmap-$(NMAP_VERSION)
|
||||||
cmd /c copy ..\\libz\\contrib\\vstudio\\vc12\\x86\\ZlibDll$(BASE_CONFIG)WithoutAsm\\zlibwapi.dll nmap-$(NMAP_VERSION)
|
cmd /c copy $(NMAPDIR_WIN)\\libz\\contrib\\vstudio\\vc12\\x86\\ZlibDll$(VCCONFIG)WithoutAsm\\zlibwapi.dll nmap-$(NMAP_VERSION)
|
||||||
mkdir nmap-$(NMAP_VERSION)/scripts
|
mkdir -p nmap-$(NMAP_VERSION)/scripts
|
||||||
cp -f $(NSE_FILES) nmap-$(NMAP_VERSION)/scripts/
|
cp -f $(NSE_FILES) nmap-$(NMAP_VERSION)/scripts/
|
||||||
for f in `cd .. && find nselib -name .svn -prune -o -type d -print`; do \
|
for f in `cd $(NMAPDIR) && find nselib -name .svn -prune -o -type d -print`; do \
|
||||||
mkdir -p nmap-$(NMAP_VERSION)/$$f; \
|
mkdir -p nmap-$(NMAP_VERSION)/$$f; \
|
||||||
done
|
done
|
||||||
for f in `cd .. && find nselib -name .svn -prune -o -type f -print`; do \
|
for f in `cd $(NMAPDIR) && find nselib -name .svn -prune -o -type f -print`; do \
|
||||||
cp -f ../$$f nmap-$(NMAP_VERSION)/$$f; \
|
cp -f $(NMAPDIR)/$$f nmap-$(NMAP_VERSION)/$$f; \
|
||||||
done
|
done
|
||||||
cp -r ../docs/licenses nmap-$(NMAP_VERSION)/
|
cp -r $(NMAPDIR)/docs/licenses nmap-$(NMAP_VERSION)/
|
||||||
rm -rf nmap-$(NMAP_VERSION)/licenses/.svn
|
rm -rf nmap-$(NMAP_VERSION)/licenses/.svn
|
||||||
# TODO: change "-oem" to "$(OEM_SUFFIX)" when Npcap OEM is no longer needed for standard Nmap.
|
|
||||||
cp npcap-$(NPCAP_VERSION)-oem.exe nmap-$(NMAP_VERSION)
|
|
||||||
cp $(NMAP_MSWIN32_AUX)/vcredist_x86.exe nmap-$(NMAP_VERSION)
|
cp $(NMAP_MSWIN32_AUX)/vcredist_x86.exe nmap-$(NMAP_VERSION)
|
||||||
cp $(NMAP_MSWIN32_AUX)/vcredist2008_x86.exe nmap-$(NMAP_VERSION)
|
cp $(NMAP_MSWIN32_AUX)/vcredist2008_x86.exe nmap-$(NMAP_VERSION)
|
||||||
cp ../ncat/$(BASE_CONFIG)/ncat.exe nmap-$(NMAP_VERSION)
|
cp $(NMAPDIR)/ncat/$(VCCONFIG)/ncat.exe nmap-$(NMAP_VERSION)
|
||||||
cp ../ncat/$(BASE_CONFIG)/ca-bundle.crt nmap-$(NMAP_VERSION)
|
cp $(NMAPDIR)/ncat/$(VCCONFIG)/ca-bundle.crt nmap-$(NMAP_VERSION)
|
||||||
cp ../nping/$(BASE_CONFIG)/nping.exe nmap-$(NMAP_VERSION)
|
cp $(NMAPDIR)/nping/$(VCCONFIG)/nping.exe nmap-$(NMAP_VERSION)
|
||||||
# Install the ndiff batch file wrapper in the zip distribution.
|
# Install the ndiff batch file wrapper in the zip distribution.
|
||||||
cp ../ndiff/ndiff.py nmap-$(NMAP_VERSION)/ndiff.py
|
cp $(NMAPDIR)/ndiff/ndiff.py nmap-$(NMAP_VERSION)/ndiff.py
|
||||||
cp python-wrap.bat nmap-$(NMAP_VERSION)/ndiff.bat
|
cp python-wrap.bat nmap-$(NMAP_VERSION)/ndiff.bat
|
||||||
cd ../zenmap && install_scripts/windows/copy_and_compile.bat
|
cd $(NMAPDIR)/zenmap && install_scripts/windows/copy_and_compile.bat
|
||||||
cp -R ../zenmap/dist/* nmap-$(NMAP_VERSION)/
|
cp -R $(NMAPDIR)/zenmap/dist/* nmap-$(NMAP_VERSION)/
|
||||||
cp ../zenmap/README nmap-$(NMAP_VERSION)/ZENMAP_README
|
cp $(NMAPDIR)/zenmap/README nmap-$(NMAP_VERSION)/ZENMAP_README
|
||||||
cp ../zenmap/COPYING_HIGWIDGETS nmap-$(NMAP_VERSION)
|
cp $(NMAPDIR)/zenmap/COPYING_HIGWIDGETS nmap-$(NMAP_VERSION)
|
||||||
cp ../ndiff/README nmap-$(NMAP_VERSION)/NDIFF_README
|
cp $(NMAPDIR)/ndiff/README nmap-$(NMAP_VERSION)/NDIFF_README
|
||||||
|
cp nsis/AddToPath.nsh nsis/shortcuts.ini nsis/final.ini nmap-$(NMAP_VERSION)
|
||||||
|
|
||||||
sign-files: nmap-$(NMAP_VERSION)/nmap.exe nmap-$(NMAP_VERSION)/ncat.exe nmap-$(NMAP_VERSION)/nping.exe nmap-$(NMAP_VERSION)/ndiff.exe nmap-$(NMAP_VERSION)/zenmap.exe nmap-$(NMAP_VERSION)/libssh2.dll nmap-$(NMAP_VERSION)/libcrypto-1_1.dll nmap-$(NMAP_VERSION)/libssl-1_1.dll nmap-$(NMAP_VERSION)/zlibwapi.dll
|
stage: stage-nmap stage-nmap-oem stage-common
|
||||||
|
|
||||||
|
stage-nmap:
|
||||||
|
$(MAKE) OEM_SUFFIX= stage-nmap-main
|
||||||
|
|
||||||
|
stage-nmap-oem:
|
||||||
|
$(MAKE) OEM_SUFFIX=-oem stage-nmap-main
|
||||||
|
|
||||||
|
stage-nmap-main: nmap-$(NMAP_VERSION)/Nmap.nsi build-nmap${OEM_SUFFIX}
|
||||||
|
mkdir -p nmap-$(NMAP_VERSION)${OEM_SUFFIX}
|
||||||
|
cp $(VCCONFIG)${OEM_SUFFIX}/nmap.exe nmap-$(NMAP_VERSION)${OEM_SUFFIX}/
|
||||||
|
|
||||||
|
sign-files: nmap-$(NMAP_VERSION)-oem/nmap.exe nmap-$(NMAP_VERSION)/nmap.exe nmap-$(NMAP_VERSION)/ncat.exe nmap-$(NMAP_VERSION)/nping.exe nmap-$(NMAP_VERSION)/ndiff.exe nmap-$(NMAP_VERSION)/zenmap.exe nmap-$(NMAP_VERSION)/libssh2.dll nmap-$(NMAP_VERSION)/libcrypto-1_1.dll nmap-$(NMAP_VERSION)/libssl-1_1.dll nmap-$(NMAP_VERSION)/zlibwapi.dll
|
||||||
# TODO: evaluate whether we should also sign the Python stuff for Zenmap, Ndiff
|
# TODO: evaluate whether we should also sign the Python stuff for Zenmap, Ndiff
|
||||||
"$(SIGNTOOL)" $(SIGNTOOL_ARGS) $^
|
"$(SIGNTOOL)" $(SIGNTOOL_ARGS) $^
|
||||||
|
touch sign-files
|
||||||
|
|
||||||
bundle-nsis: nsis/Nmap.nsi sign-files
|
bundle-nsis: sign-files
|
||||||
cp nsis/AddToPath.nsh nsis/Nmap.nsi nsis/shortcuts.ini nsis/final.ini nmap-$(NMAP_VERSION)
|
"$(MAKENSIS)" "/XOutFile nmap-$(NMAP_VERSION)-setup.exe" "/DNSISEXE=$(MAKENSIS_WIN)" nmap-$(NMAP_VERSION)/Nmap.nsi
|
||||||
$(MAKENSIS) "/XOutFile nmap-$(NMAP_VERSION)$(OEM_SUFFIX)-setup.exe" $(NSIS_DEFINES) nmap-$(NMAP_VERSION)/Nmap.nsi
|
mv nmap-$(NMAP_VERSION)/nmap-$(NMAP_VERSION)-setup.exe .
|
||||||
mv nmap-$(NMAP_VERSION)/nmap-$(NMAP_VERSION)$(OEM_SUFFIX)-setup.exe .
|
"$(MAKENSIS)" "/XOutFile nmap-$(NMAP_VERSION)-oem-setup.exe" "/DNSISEXE=$(MAKENSIS_WIN)" "/DNMAP_OEM=1" nmap-$(NMAP_VERSION)/Nmap.nsi
|
||||||
"$(SIGNTOOL)" $(SIGNTOOL_ARGS) nmap-$(NMAP_VERSION)$(OEM_SUFFIX)-setup.exe
|
mv nmap-$(NMAP_VERSION)/nmap-$(NMAP_VERSION)-oem-setup.exe .
|
||||||
|
"$(SIGNTOOL)" $(SIGNTOOL_ARGS) nmap-$(NMAP_VERSION)-setup.exe nmap-$(NMAP_VERSION)-oem-setup.exe
|
||||||
|
|
||||||
bundle-zip: sign-files
|
bundle-zip: bundle-zip-public bundle-zip-oem
|
||||||
rm -f nmap-$(NMAP_VERSION)$(OEM_SUFFIX)-win32.zip
|
|
||||||
zip -x nmap-$(NMAP_VERSION)/ZENMAP_README nmap-$(NMAP_VERSION)/zenmap/\* \
|
|
||||||
nmap-$(NMAP_VERSION)/zenmap.exe nmap-$(NMAP_VERSION)/share/\* \
|
|
||||||
nmap-$(NMAP_VERSION)/python27.dll nmap-$(NMAP_VERSION)/py2exe/\* \
|
|
||||||
nmap-$(NMAP_VERSION)/COPYING_HIGWIDGETS nmap-$(NMAP_VERSION)/w9xpopen.exe \
|
|
||||||
nmap-$(NMAP_VERSION)/vcredist2008_x86.exe \
|
|
||||||
nmap-$(NMAP_VERSION)/ndiff.exe nmap-$(NMAP_VERSION)/\*.ini \
|
|
||||||
nmap-$(NMAP_VERSION)/Uninstall.exe nmap-$(NMAP_VERSION)/\*.nsi \
|
|
||||||
nmap-$(NMAP_VERSION)/\*.nsh \
|
|
||||||
-r nmap-$(NMAP_VERSION)$(OEM_SUFFIX)-win32.zip nmap-$(NMAP_VERSION)
|
|
||||||
|
|
||||||
nmap.rc: nmap.rc.in ../nmap.h
|
bundle-zip-public:
|
||||||
|
$(MAKE) OEM_SUFFIX= bundle-zip-main
|
||||||
|
|
||||||
|
bundle-zip-oem:
|
||||||
|
$(MAKE) OEM_SUFFIX=-oem bundle-zip-main
|
||||||
|
|
||||||
|
bundle-zip-main: sign-files
|
||||||
|
rm -f nmap-$(NMAP_VERSION)${OEM_SUFFIX}-win32.zip
|
||||||
|
test -n "${OEM_SUFFIX}" \
|
||||||
|
&& cp -n -R nmap-$(NMAP_VERSION)/* nmap-$(NMAP_VERSION)${OEM_SUFFIX}/ \
|
||||||
|
|| true
|
||||||
|
cp npcap-$(NPCAP_VERSION)${OEM_SUFFIX}.exe nmap-$(NMAP_VERSION)${OEM_SUFFIX}
|
||||||
|
zip -x nmap-$(NMAP_VERSION)${OEM_SUFFIX}/ZENMAP_README \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/zenmap/\* \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/zenmap.exe \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/share/\* \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/python27.dll \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/py2exe/\* \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/COPYING_HIGWIDGETS \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/w9xpopen.exe \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/vcredist2008_x86.exe \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/ndiff.exe \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/\*.ini \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/Uninstall.exe \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/\*.nsi \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/\*.nsh \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/LICENSE.formatted \
|
||||||
|
nmap-$(NMAP_VERSION)${OEM_SUFFIX}/icon1.ico \
|
||||||
|
-r nmap-$(NMAP_VERSION)${OEM_SUFFIX}-win32.zip nmap-$(NMAP_VERSION)${OEM_SUFFIX}
|
||||||
|
rm nmap-$(NMAP_VERSION)${OEM_SUFFIX}/npcap-$(NPCAP_VERSION)${OEM_SUFFIX}.exe
|
||||||
|
|
||||||
|
nmap.rc: nmap.rc.in $(NMAPDIR)/nmap.h
|
||||||
sed -e '1i// Automatically generated from $<.' \
|
sed -e '1i// Automatically generated from $<.' \
|
||||||
-e 's/@@FILEVERSION@@/"$(NMAP_VERSION)\\0"/' \
|
-e 's/@@FILEVERSION@@/"$(NMAP_VERSION)\\0"/' \
|
||||||
-e 's/@@COMMAVERSION@@/$(COMMA_VERSION)/' \
|
-e 's/@@COMMAVERSION@@/$(COMMA_VERSION)/' \
|
||||||
-e 's/@@PRODUCT_NAME@@/$(PRODUCT_NAME)/' \
|
-e 's/@@PRODUCT_NAME@@/$(PRODUCT_NAME)/' \
|
||||||
"$<" > "$@"
|
"$<" > "$@"
|
||||||
|
|
||||||
nsis/Nmap.nsi: nsis/Nmap.nsi.in ../nmap.h
|
nmap-oem.rc: nmap.rc.in $(NMAPDIR)/nmap.h
|
||||||
|
sed -e '1i// Automatically generated from $<.' \
|
||||||
|
-e 's/@@FILEVERSION@@/"$(NMAP_VERSION)\\0"/' \
|
||||||
|
-e 's/@@COMMAVERSION@@/$(COMMA_VERSION)/' \
|
||||||
|
-e 's/@@PRODUCT_NAME@@/$(PRODUCT_NAME) OEM/' \
|
||||||
|
"$<" > "$@"
|
||||||
|
|
||||||
|
nmap-$(NMAP_VERSION)/Nmap.nsi: nsis/Nmap.nsi.in $(NMAPDIR)/nmap.h
|
||||||
test -n "$(NPCAP_VERSION)" # Make sure NPcap is present
|
test -n "$(NPCAP_VERSION)" # Make sure NPcap is present
|
||||||
|
mkdir -p nmap-$(NMAP_VERSION)
|
||||||
sed -e '1i; Automatically generated from $<.' \
|
sed -e '1i; Automatically generated from $<.' \
|
||||||
-e 's/@@VIPRODUCTVERSION@@/"$(NMAP_NUM_VERSION)"/' \
|
-e 's/@@VIPRODUCTVERSION@@/"$(NMAP_NUM_VERSION)"/' \
|
||||||
-e 's/@@VERSION@@/"$(NMAP_VERSION)"/' \
|
-e 's/@@VERSION@@/"$(NMAP_VERSION)"/' \
|
||||||
-e 's/@@NPCAP_VERSION@@/$(NPCAP_VERSION)/' \
|
-e 's/@@NPCAP_VERSION@@/$(NPCAP_VERSION)/' \
|
||||||
-e 's/@@SIGNTOOL@@/$(SIGNTOOL_SUBST)/' \
|
-e 's/@@SIGNTOOL@@/$(SIGNTOOL_SUBST)/' \
|
||||||
-e 's/@@OEM_SUFFIX@@/$(OEM_SUFFIX)/' \
|
|
||||||
-e 's/@@PRODUCT_NAME@@/$(PRODUCT_NAME)/' \
|
-e 's/@@PRODUCT_NAME@@/$(PRODUCT_NAME)/' \
|
||||||
"$<" > "$@"
|
"$<" > "$@"
|
||||||
|
|
||||||
LICENSE: ../COPYING
|
LICENSE.formatted: $(NMAPDIR)/LICENSE
|
||||||
./license-format/licformat.sh "$<" > "$@"
|
./license-format/licformat.sh "$<" > "$@"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
"$(VCEXPRESS)" nmap.sln /clean
|
"$(VCEXPRESS)" nmap.sln /clean
|
||||||
rm -rf Debug Release ReleaseOEM nmapbuild.log nmap.rc nsis/Nmap.nsi LICENSE
|
rm -rf nmap-$(NMAP_VERSION) nmap-$(NMAP_VERSION)-oem Debug Release Release-oem nmapbuild.log nmap.rc nmap-oem.rc LICENSE.formatted
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ Global
|
|||||||
Ncat Static|x64 = Ncat Static|x64
|
Ncat Static|x64 = Ncat Static|x64
|
||||||
Release|Win32 = Release|Win32
|
Release|Win32 = Release|Win32
|
||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
ReleaseOEM|Win32 = ReleaseOEM|Win32
|
Release-oem|Win32 = Release-oem|Win32
|
||||||
ReleaseOEM|x64 = ReleaseOEM|x64
|
Release-oem|x64 = Release-oem|x64
|
||||||
ReleaseWithoutAsm|Win32 = ReleaseWithoutAsm|Win32
|
ReleaseWithoutAsm|Win32 = ReleaseWithoutAsm|Win32
|
||||||
ReleaseWithoutAsm|x64 = ReleaseWithoutAsm|x64
|
ReleaseWithoutAsm|x64 = ReleaseWithoutAsm|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
@@ -55,9 +55,9 @@ Global
|
|||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|Win32.ActiveCfg = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|Win32.Build.0 = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|Win32.Build.0 = Release|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|x64.ActiveCfg = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseOEM|Win32.ActiveCfg = ReleaseOEM|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release-oem|Win32.ActiveCfg = Release-oem|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseOEM|Win32.Build.0 = ReleaseOEM|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release-oem|Win32.Build.0 = Release-oem|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseOEM|x64.ActiveCfg = ReleaseOEM|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.Release-oem|x64.ActiveCfg = Release-oem|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{361719F0-AB42-4C93-9DE8-7D2144B96625}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -70,9 +70,9 @@ Global
|
|||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|Win32.ActiveCfg = Release|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|Win32.Build.0 = Release|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|Win32.Build.0 = Release|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|x64.ActiveCfg = Release|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseOEM|x64.ActiveCfg = ReleaseNoPcap|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.Release-oem|x64.ActiveCfg = ReleaseNoPcap|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseNoPcap|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseNoPcap|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseNoPcap|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseNoPcap|Win32
|
||||||
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseNoPcap|Win32
|
{F8D6D1E3-D4EA-402C-98AA-168E5309BAF4}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseNoPcap|Win32
|
||||||
@@ -84,9 +84,9 @@ Global
|
|||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|Win32.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|Win32.Build.0 = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|Win32.Build.0 = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|x64.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{5DE86C7A-DE72-4265-8807-4CA38F94F22A}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -99,9 +99,9 @@ Global
|
|||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|Win32.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|Win32.Build.0 = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|Win32.Build.0 = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|x64.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{B630C8F7-3138-43E8-89ED-78742FA2AC5F}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -113,9 +113,9 @@ Global
|
|||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|Win32.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|Win32.Build.0 = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|Win32.Build.0 = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|x64.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{5328E0BE-BC0A-4C2A-8CB9-CE00B61B9C4C}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -127,9 +127,9 @@ Global
|
|||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|Win32.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|Win32.Build.0 = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|Win32.Build.0 = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|x64.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{31FB0767-A71F-4575-8379-002D72B8AF86}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -142,9 +142,9 @@ Global
|
|||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|Win32.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|Win32.Build.0 = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|Win32.Build.0 = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|x64.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{C1E04411-E021-468B-83F1-CB624BBA7589}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -156,9 +156,9 @@ Global
|
|||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|Win32.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|Win32.Build.0 = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|Win32.Build.0 = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|x64.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{CDB10BBA-9085-4B9B-AC8F-BA31D3906B36}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -170,9 +170,9 @@ Global
|
|||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|Win32.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|Win32.Build.0 = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|Win32.Build.0 = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|x64.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{99157C3F-39F6-4663-99D7-1D9C1484494E}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -185,9 +185,9 @@ Global
|
|||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|Win32.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|Win32.Build.0 = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|Win32.Build.0 = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|x64.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{A7BE3D76-F20C-40C5-8986-DE4028B3B57D}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -203,10 +203,10 @@ Global
|
|||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.ActiveCfg = Release|x64
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.ActiveCfg = Release|x64
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.Build.0 = Release|x64
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release|x64.Build.0 = Release|x64
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseOEM|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release-oem|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseOEM|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release-oem|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseOEM|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release-oem|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseOEM|x64.Build.0 = ReleaseWithoutAsm|x64
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.Release-oem|x64.Build.0 = ReleaseWithoutAsm|x64
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
||||||
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
{8FD826F8-3739-44E6-8CC8-997122E53B8D}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
||||||
@@ -220,9 +220,9 @@ Global
|
|||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|Win32.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|Win32.Build.0 = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|Win32.Build.0 = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|x64.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release|x64.ActiveCfg = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseOEM|Win32.Build.0 = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release-oem|Win32.Build.0 = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseOEM|x64.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.Release-oem|x64.ActiveCfg = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|Win32.ActiveCfg = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|Win32.Build.0 = Release|Win32
|
||||||
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
{ED957342-E43B-496E-92D9-4C76B525BDF5}.ReleaseWithoutAsm|x64.ActiveCfg = Release|Win32
|
||||||
@@ -236,9 +236,9 @@ Global
|
|||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|Win32.ActiveCfg = Release|Win32
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.ActiveCfg = Release|x64
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.ActiveCfg = Release|x64
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.Build.0 = Release|x64
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release|x64.Build.0 = Release|x64
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseOEM|Win32.ActiveCfg = Release|Win32
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release-oem|Win32.ActiveCfg = Release|Win32
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseOEM|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release-oem|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseOEM|x64.Build.0 = ReleaseWithoutAsm|x64
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.Release-oem|x64.Build.0 = ReleaseWithoutAsm|x64
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|Win32.ActiveCfg = ReleaseWithoutAsm|Win32
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|Win32.Build.0 = ReleaseWithoutAsm|Win32
|
||||||
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}.ReleaseWithoutAsm|x64.ActiveCfg = ReleaseWithoutAsm|x64
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="ReleaseOEM|Win32">
|
<ProjectConfiguration Include="Release-oem|Win32">
|
||||||
<Configuration>ReleaseOEM</Configuration>
|
<Configuration>Release-oem</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'" Label="PropertySheets">
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'" Label="PropertySheets">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<!--
|
<!--
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\$(Configuration)\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\$(Configuration)\</IntDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">.\Release\</IntDir>
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">.\Release\</IntDir>
|
||||||
-->
|
-->
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
||||||
<OutputFile>.\Debug\nmap.exe</OutputFile>
|
<OutputFile>.\Debug\nmap.exe</OutputFile>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllRelease;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllReleaseWithoutAsm;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
||||||
<OutputFile>.\$(Configuration)/nmap.exe</OutputFile>
|
<OutputFile>.\$(Configuration)/nmap.exe</OutputFile>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllRelease;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllReleaseWithoutAsm;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
<ProgramDatabaseFile>.\$(Configuration)/nmap.pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>.\$(Configuration)/nmap.pdb</ProgramDatabaseFile>
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
<AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
<TypeLibraryName>.\$(Configuration)/nmap.tlb</TypeLibraryName>
|
<TypeLibraryName>.\$(Configuration)/nmap.tlb</TypeLibraryName>
|
||||||
<HeaderFileName>
|
<HeaderFileName>
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
<AdditionalDependencies>liblua.lib;nsock.lib;libpcre.lib;nbase.lib;libdnet-stripped.lib;libssh2.lib;zlibwapi.lib;liblinear.lib;ws2_32.lib;IPHlpAPI.Lib;wpcap.lib;packet.lib;advapi32.lib;libcrypto.lib;libssl.lib;shell32.lib;libnetutil.lib</AdditionalDependencies>
|
||||||
<OutputFile>.\$(Configuration)/nmap.exe</OutputFile>
|
<OutputFile>.\$(Configuration)/nmap.exe</OutputFile>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllRelease;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\libssh2\win32\Release_dll;..\..\nmap-mswin32-aux\Npcap\Lib;..\liblua;..\libpcre;..\nsock;..\nbase;..\libdnet-stripped;../libnetutil;..\..\nmap-mswin32-aux\OpenSSL\lib;..\liblinear;..\libz\contrib\vstudio\vc12\x86\ZlibDllReleaseWithoutAsm;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
<DelayLoadDLLs>packet.dll;wpcap.dll;iphlpapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
<ProgramDatabaseFile>.\$(Configuration)/nmap.pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>.\$(Configuration)/nmap.pdb</ProgramDatabaseFile>
|
||||||
@@ -236,11 +236,12 @@
|
|||||||
<ClCompile Include="winfix.cc">
|
<ClCompile Include="winfix.cc">
|
||||||
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Sync</ExceptionHandling>
|
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Sync</ExceptionHandling>
|
||||||
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Sync</ExceptionHandling>
|
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Sync</ExceptionHandling>
|
||||||
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Sync</ExceptionHandling>
|
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Sync</ExceptionHandling>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="nmap.rc" />
|
<ResourceCompile Condition="'$(Configuration)'=='Release-oem'" Include="nmap-oem.rc" />
|
||||||
|
<ResourceCompile Condition="'$(Configuration)'!='Release-oem'" Include="nmap.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\charpool.h" />
|
<ClInclude Include="..\charpool.h" />
|
||||||
@@ -301,13 +302,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-os-db">
|
<CustomBuild Include="..\nmap-os-db">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -315,13 +316,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-payloads">
|
<CustomBuild Include="..\nmap-payloads">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -329,13 +330,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-protocols">
|
<CustomBuild Include="..\nmap-protocols">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -343,13 +344,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-rpc">
|
<CustomBuild Include="..\nmap-rpc">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -357,13 +358,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-service-probes">
|
<CustomBuild Include="..\nmap-service-probes">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -371,13 +372,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\nmap-services">
|
<CustomBuild Include="..\nmap-services">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
@@ -385,13 +386,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename) to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename) to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename)" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename);%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\docs\nmap.xsl">
|
<CustomBuild Include="..\docs\nmap.xsl">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
||||||
@@ -399,13 +400,13 @@
|
|||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">Copying %(Filename).xsl to output directory...</Message>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename).xsl" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename).xsl" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename).xsl" > nul
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">copy /y "%(FullPath)" "$(TargetDir)%(Filename).xsl" > nul
|
||||||
</Command>
|
</Command>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='ReleaseOEM|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-oem|Win32'">$(TargetDir)%(Filename).xsl;%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
;; /REGISTERPATH=NO don't add the installation directory to PATH
|
;; /REGISTERPATH=NO don't add the installation directory to PATH
|
||||||
;; /NPCAP=NO don't install Npcap
|
;; /NPCAP=NO don't install Npcap
|
||||||
;; /REGISTRYMODS=NO don't install performance-related registry mods
|
;; /REGISTRYMODS=NO don't install performance-related registry mods
|
||||||
;; /ZENMAP=NO don't install Zenmap
|
;; /ZENMAP=NO don't install Zenmap (non-OEM only)
|
||||||
;; /NCAT=NO don't install Ncat
|
;; /NCAT=NO don't install Ncat
|
||||||
;; /NDIFF=NO don't install Ndiff
|
;; /NDIFF=NO don't install Ndiff (non-OEM only)
|
||||||
;; /NPING=NO don't install Nping
|
;; /NPING=NO don't install Nping
|
||||||
;; /D=C:\dir\... install to C:\dir\... (overrides InstallDir)
|
;; /D=C:\dir\... install to C:\dir\... (overrides InstallDir)
|
||||||
;;
|
;;
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifdef NMAP_OEM
|
!ifdef NMAP_OEM
|
||||||
!include "..\..\..\nmap-build\nmap-oem.nsh"
|
!include "..\..\nmap-build\nmap-oem.nsh"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
@@ -38,8 +38,11 @@
|
|||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
;General
|
;General
|
||||||
|
!ifdef NMAP_OEM
|
||||||
|
!define NMAP_NAME "@@PRODUCT_NAME@@ OEM"
|
||||||
|
!else
|
||||||
!define NMAP_NAME "@@PRODUCT_NAME@@"
|
!define NMAP_NAME "@@PRODUCT_NAME@@"
|
||||||
!define FILE_SUFFIX "@@OEM_SUFFIX@@"
|
!endif
|
||||||
;Name and file
|
;Name and file
|
||||||
Name "${NMAP_NAME}"
|
Name "${NMAP_NAME}"
|
||||||
|
|
||||||
@@ -61,7 +64,7 @@
|
|||||||
; it is invoked, will just write the uninstaller to some location, and then exit.
|
; it is invoked, will just write the uninstaller to some location, and then exit.
|
||||||
; Be sure to substitute the name of this script here.
|
; Be sure to substitute the name of this script here.
|
||||||
|
|
||||||
!system "$\"${NSISDIR}\makensis$\" /DINNER Nmap.nsi" = 0
|
!system "$\"${NSISEXE}$\" /DINNER Nmap.nsi" = 0
|
||||||
|
|
||||||
; So now run that installer we just created as %TEMP%\tempinstaller.exe. Since it
|
; So now run that installer we just created as %TEMP%\tempinstaller.exe. Since it
|
||||||
; calls quit the return value isn't zero.
|
; calls quit the return value isn't zero.
|
||||||
@@ -108,13 +111,13 @@
|
|||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Pages
|
;Pages
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_LICENSE "..\LICENSE"
|
!insertmacro MUI_PAGE_LICENSE "LICENSE.formatted"
|
||||||
!insertmacro MUI_PAGE_COMPONENTS
|
!insertmacro MUI_PAGE_COMPONENTS
|
||||||
!insertmacro MUI_PAGE_DIRECTORY
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
!insertmacro MUI_PAGE_INSTFILES
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
!insertmacro MUI_UNPAGE_CONFIRM
|
!ifndef NMAP_OEM
|
||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
|
||||||
Page custom shortcutsPage makeShortcuts
|
Page custom shortcutsPage makeShortcuts
|
||||||
|
!endif
|
||||||
Page custom finalPage doFinal
|
Page custom finalPage doFinal
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
@@ -128,15 +131,19 @@
|
|||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Variables
|
;Variables
|
||||||
|
|
||||||
|
!ifndef NMAP_OEM
|
||||||
Var zenmapset
|
Var zenmapset
|
||||||
|
Var vcredist2008set
|
||||||
|
!endif
|
||||||
Var addremoveset
|
Var addremoveset
|
||||||
Var vcredist2013set
|
Var vcredist2013set
|
||||||
Var vcredist2008set
|
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Reserves
|
;Reserves
|
||||||
|
|
||||||
|
!ifndef NMAP_OEM
|
||||||
ReserveFile "shortcuts.ini"
|
ReserveFile "shortcuts.ini"
|
||||||
|
!endif
|
||||||
ReserveFile "final.ini"
|
ReserveFile "final.ini"
|
||||||
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||||
|
|
||||||
@@ -146,6 +153,7 @@ ReserveFile "final.ini"
|
|||||||
;The .onInit function is below the Sections because it needs to refer to
|
;The .onInit function is below the Sections because it needs to refer to
|
||||||
;the Section IDs which are not defined yet.
|
;the Section IDs which are not defined yet.
|
||||||
|
|
||||||
|
!ifndef NMAP_OEM
|
||||||
Function shortcutsPage
|
Function shortcutsPage
|
||||||
StrCmp $zenmapset "" skip
|
StrCmp $zenmapset "" skip
|
||||||
|
|
||||||
@@ -175,6 +183,7 @@ Function makeShortcuts
|
|||||||
|
|
||||||
skip:
|
skip:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
!endif
|
||||||
|
|
||||||
Function finalPage
|
Function finalPage
|
||||||
; diplay a page saying everything's finished
|
; diplay a page saying everything's finished
|
||||||
@@ -226,7 +235,7 @@ Section "Nmap Core Files" SecCore
|
|||||||
|
|
||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
File ${STAGE_DIR}\CHANGELOG
|
File ${STAGE_DIR}\CHANGELOG
|
||||||
File ${STAGE_DIR}\COPYING
|
File ${STAGE_DIR}\LICENSE
|
||||||
File ${STAGE_DIR}\nmap-mac-prefixes
|
File ${STAGE_DIR}\nmap-mac-prefixes
|
||||||
File ${STAGE_DIR}\nmap-os-db
|
File ${STAGE_DIR}\nmap-os-db
|
||||||
File ${STAGE_DIR}\nmap-payloads
|
File ${STAGE_DIR}\nmap-payloads
|
||||||
@@ -234,7 +243,11 @@ Section "Nmap Core Files" SecCore
|
|||||||
File ${STAGE_DIR}\nmap-rpc
|
File ${STAGE_DIR}\nmap-rpc
|
||||||
File ${STAGE_DIR}\nmap-service-probes
|
File ${STAGE_DIR}\nmap-service-probes
|
||||||
File ${STAGE_DIR}\nmap-services
|
File ${STAGE_DIR}\nmap-services
|
||||||
|
!ifdef NMAP_OEM
|
||||||
|
File ${STAGE_DIR}-oem\nmap.exe
|
||||||
|
!else
|
||||||
File ${STAGE_DIR}\nmap.exe
|
File ${STAGE_DIR}\nmap.exe
|
||||||
|
!endif
|
||||||
File ${STAGE_DIR}\nse_main.lua
|
File ${STAGE_DIR}\nse_main.lua
|
||||||
File ${STAGE_DIR}\nmap.xsl
|
File ${STAGE_DIR}\nmap.xsl
|
||||||
File ${STAGE_DIR}\nmap_performance.reg
|
File ${STAGE_DIR}\nmap_performance.reg
|
||||||
@@ -247,7 +260,7 @@ Section "Nmap Core Files" SecCore
|
|||||||
File libssl-1_1.dll
|
File libssl-1_1.dll
|
||||||
File /r /x mswin32 /x .svn /x ncat ${STAGE_DIR}\scripts
|
File /r /x mswin32 /x .svn /x ncat ${STAGE_DIR}\scripts
|
||||||
File /r /x mswin32 /x .svn ${STAGE_DIR}\nselib
|
File /r /x mswin32 /x .svn ${STAGE_DIR}\nselib
|
||||||
File ..\icon1.ico
|
File icon1.ico
|
||||||
|
|
||||||
;Store installation folder
|
;Store installation folder
|
||||||
WriteRegStr HKCU "Software\${NMAP_NAME}" "" $INSTDIR
|
WriteRegStr HKCU "Software\${NMAP_NAME}" "" $INSTDIR
|
||||||
@@ -262,23 +275,18 @@ Section "Register Nmap Path" SecRegisterPath
|
|||||||
Call AddToPath
|
Call AddToPath
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Npcap @@NPCAP_VERSION@@" SecNpcap
|
|
||||||
!ifdef NMAP_OEM
|
!ifdef NMAP_OEM
|
||||||
|
Section "Npcap @@NPCAP_VERSION@@ OEM" SecNpcap
|
||||||
!insertmacro NPCAP_OEM_INSTALL "npcap-@@NPCAP_VERSION@@-oem.exe"
|
!insertmacro NPCAP_OEM_INSTALL "npcap-@@NPCAP_VERSION@@-oem.exe"
|
||||||
|
SectionEnd
|
||||||
!else
|
!else
|
||||||
|
Section "Npcap @@NPCAP_VERSION@@" SecNpcap
|
||||||
SetOutPath "$PLUGINSDIR"
|
SetOutPath "$PLUGINSDIR"
|
||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
File "..\npcap-@@NPCAP_VERSION@@-oem.exe"
|
File "..\npcap-@@NPCAP_VERSION@@.exe"
|
||||||
IfSilent npcap_silent npcap_loud
|
ExecWait '"$PLUGINSDIR\npcap-@@NPCAP_VERSION@@.exe" /loopback_support=no'
|
||||||
npcap_silent:
|
|
||||||
ExecWait '"$PLUGINSDIR\npcap-@@NPCAP_VERSION@@-oem.exe" /S /winpcap_mode=no'
|
|
||||||
Goto delete_npcap
|
|
||||||
npcap_loud:
|
|
||||||
ExecWait '"$PLUGINSDIR\npcap-@@NPCAP_VERSION@@-oem.exe" /winpcap_mode=no'
|
|
||||||
delete_npcap:
|
|
||||||
Delete "$PLUGINSDIR\npcap-@@NPCAP_VERSION@@-oem.exe"
|
|
||||||
!endif
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
!endif
|
||||||
|
|
||||||
Section "Network Performance Improvements" SecPerfRegistryMods
|
Section "Network Performance Improvements" SecPerfRegistryMods
|
||||||
SetOutPath "$PLUGINSDIR"
|
SetOutPath "$PLUGINSDIR"
|
||||||
@@ -290,6 +298,7 @@ Section "Network Performance Improvements" SecPerfRegistryMods
|
|||||||
CopyFiles /SILENT "$PLUGINSDIR\nmap_performance.reg" "$INSTDIR"
|
CopyFiles /SILENT "$PLUGINSDIR\nmap_performance.reg" "$INSTDIR"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
!ifndef NMAP_OEM
|
||||||
Section "Zenmap (GUI Frontend)" SecZenmap
|
Section "Zenmap (GUI Frontend)" SecZenmap
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
@@ -304,15 +313,6 @@ Section "Zenmap (GUI Frontend)" SecZenmap
|
|||||||
Call create_uninstaller
|
Call create_uninstaller
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Ncat (Modern Netcat reincarnation)" SecNcat
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
SetOverwrite on
|
|
||||||
File ${STAGE_DIR}\ncat.exe
|
|
||||||
File ${STAGE_DIR}\ca-bundle.crt
|
|
||||||
Call vcredist2013installer
|
|
||||||
Call create_uninstaller
|
|
||||||
SectionEnd
|
|
||||||
|
|
||||||
Section "Ndiff (Scan comparison tool)" SecNdiff
|
Section "Ndiff (Scan comparison tool)" SecNdiff
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
@@ -323,6 +323,16 @@ Section "Ndiff (Scan comparison tool)" SecNdiff
|
|||||||
Call vcredist2008installer
|
Call vcredist2008installer
|
||||||
Call create_uninstaller
|
Call create_uninstaller
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
!endif
|
||||||
|
|
||||||
|
Section "Ncat (Modern Netcat reincarnation)" SecNcat
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
SetOverwrite on
|
||||||
|
File ${STAGE_DIR}\ncat.exe
|
||||||
|
File ${STAGE_DIR}\ca-bundle.crt
|
||||||
|
Call vcredist2013installer
|
||||||
|
Call create_uninstaller
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
Section "Nping (Packet generator)" SecNping
|
Section "Nping (Packet generator)" SecNping
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
@@ -369,6 +379,7 @@ Function vcredist2013installer
|
|||||||
vcredist_done:
|
vcredist_done:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
!ifndef NMAP_OEM
|
||||||
Function vcredist2008installer
|
Function vcredist2008installer
|
||||||
StrCmp $vcredist2008set "" 0 vcredist2008_done
|
StrCmp $vcredist2008set "" 0 vcredist2008_done
|
||||||
StrCpy $vcredist2008set "true"
|
StrCpy $vcredist2008set "true"
|
||||||
@@ -402,6 +413,7 @@ Function vcredist2008installer
|
|||||||
DetailPrint "Microsoft Visual C++ 2008 Redistributable was successfully installed"
|
DetailPrint "Microsoft Visual C++ 2008 Redistributable was successfully installed"
|
||||||
vcredist2008_done:
|
vcredist2008_done:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
!endif
|
||||||
|
|
||||||
Function create_uninstaller
|
Function create_uninstaller
|
||||||
StrCmp $addremoveset "" 0 skipaddremove
|
StrCmp $addremoveset "" 0 skipaddremove
|
||||||
@@ -451,11 +463,16 @@ Function .onInit
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifndef NMAP_OEM
|
!ifndef NMAP_OEM
|
||||||
; Future releases may limit silent install to OEM-licensed installer
|
${If} ${Silent}
|
||||||
;SetSilent normal
|
SetSilent normal
|
||||||
|
MessageBox MB_OK|MB_ICONEXCLAMATION "Silent installation is only supported in Nmap OEM - https://nmap.org/oem/"
|
||||||
|
Quit
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
|
; shortcuts apply only to Zenmap, not included in NMAP_OEM
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "shortcuts.ini"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "shortcuts.ini"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "final.ini"
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "final.ini"
|
||||||
|
|
||||||
;Disable section checkboxes based on options. For example /ZENMAP=NO to avoid
|
;Disable section checkboxes based on options. For example /ZENMAP=NO to avoid
|
||||||
@@ -465,9 +482,11 @@ Function .onInit
|
|||||||
!insertmacro OptionDisableSection $0 "/REGISTERPATH=" ${SecRegisterPath}
|
!insertmacro OptionDisableSection $0 "/REGISTERPATH=" ${SecRegisterPath}
|
||||||
!insertmacro OptionDisableSection $0 "/NPCAP=" ${SecNpcap}
|
!insertmacro OptionDisableSection $0 "/NPCAP=" ${SecNpcap}
|
||||||
!insertmacro OptionDisableSection $0 "/REGISTRYMODS=" ${SecPerfRegistryMods}
|
!insertmacro OptionDisableSection $0 "/REGISTRYMODS=" ${SecPerfRegistryMods}
|
||||||
|
!ifndef NMAP_OEM
|
||||||
!insertmacro OptionDisableSection $0 "/ZENMAP=" ${SecZenmap}
|
!insertmacro OptionDisableSection $0 "/ZENMAP=" ${SecZenmap}
|
||||||
!insertmacro OptionDisableSection $0 "/NCAT=" ${SecNcat}
|
|
||||||
!insertmacro OptionDisableSection $0 "/NDIFF=" ${SecNdiff}
|
!insertmacro OptionDisableSection $0 "/NDIFF=" ${SecNdiff}
|
||||||
|
!endif
|
||||||
|
!insertmacro OptionDisableSection $0 "/NCAT=" ${SecNcat}
|
||||||
!insertmacro OptionDisableSection $0 "/NPING=" ${SecNping}
|
!insertmacro OptionDisableSection $0 "/NPING=" ${SecNping}
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
@@ -479,9 +498,11 @@ FunctionEnd
|
|||||||
LangString DESC_SecRegisterPath ${LANG_ENGLISH} "Registers Nmap path to System path so you can execute it from any directory"
|
LangString DESC_SecRegisterPath ${LANG_ENGLISH} "Registers Nmap path to System path so you can execute it from any directory"
|
||||||
LangString DESC_SecNpcap ${LANG_ENGLISH} "Installs Npcap @@NPCAP_VERSION@@ (required for most Nmap scans unless it is already installed)"
|
LangString DESC_SecNpcap ${LANG_ENGLISH} "Installs Npcap @@NPCAP_VERSION@@ (required for most Nmap scans unless it is already installed)"
|
||||||
LangString DESC_SecPerfRegistryMods ${LANG_ENGLISH} "Modifies Windows registry values to improve TCP connect scan performance. Recommended."
|
LangString DESC_SecPerfRegistryMods ${LANG_ENGLISH} "Modifies Windows registry values to improve TCP connect scan performance. Recommended."
|
||||||
|
!ifndef NMAP_OEM
|
||||||
LangString DESC_SecZenmap ${LANG_ENGLISH} "Installs Zenmap, the official Nmap graphical user interface, and Visual C++ 2008 runtime components. Recommended."
|
LangString DESC_SecZenmap ${LANG_ENGLISH} "Installs Zenmap, the official Nmap graphical user interface, and Visual C++ 2008 runtime components. Recommended."
|
||||||
LangString DESC_SecNcat ${LANG_ENGLISH} "Installs Ncat, Nmap's Netcat replacement."
|
|
||||||
LangString DESC_SecNdiff ${LANG_ENGLISH} "Installs Ndiff, a tool for comparing Nmap XML files."
|
LangString DESC_SecNdiff ${LANG_ENGLISH} "Installs Ndiff, a tool for comparing Nmap XML files."
|
||||||
|
!endif
|
||||||
|
LangString DESC_SecNcat ${LANG_ENGLISH} "Installs Ncat, Nmap's Netcat replacement."
|
||||||
LangString DESC_SecNping ${LANG_ENGLISH} "Installs Nping, a packet generation tool."
|
LangString DESC_SecNping ${LANG_ENGLISH} "Installs Nping, a packet generation tool."
|
||||||
|
|
||||||
;Assign language strings to sections
|
;Assign language strings to sections
|
||||||
@@ -490,9 +511,11 @@ FunctionEnd
|
|||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecNpcap} $(DESC_SecNpcap)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecNpcap} $(DESC_SecNpcap)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecRegisterPath} $(DESC_SecRegisterPath)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecRegisterPath} $(DESC_SecRegisterPath)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecPerfRegistryMods} $(DESC_SecPerfRegistryMods)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecPerfRegistryMods} $(DESC_SecPerfRegistryMods)
|
||||||
|
!ifndef NMAP_OEM
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecZenmap} $(DESC_SecZenmap)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecZenmap} $(DESC_SecZenmap)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecNcat} $(DESC_SecNcat)
|
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecNdiff} $(DESC_SecNdiff)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecNdiff} $(DESC_SecNdiff)
|
||||||
|
!endif
|
||||||
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecNcat} $(DESC_SecNcat)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecNping} $(DESC_SecNping)
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecNping} $(DESC_SecNping)
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
@@ -537,7 +560,7 @@ Section "Uninstall"
|
|||||||
nmap_installed:
|
nmap_installed:
|
||||||
Delete "$INSTDIR\3rd-party-licenses.txt"
|
Delete "$INSTDIR\3rd-party-licenses.txt"
|
||||||
Delete "$INSTDIR\CHANGELOG"
|
Delete "$INSTDIR\CHANGELOG"
|
||||||
Delete "$INSTDIR\COPYING"
|
Delete "$INSTDIR\LICENSE"
|
||||||
Delete "$INSTDIR\nmap-mac-prefixes"
|
Delete "$INSTDIR\nmap-mac-prefixes"
|
||||||
Delete "$INSTDIR\nmap-os-db"
|
Delete "$INSTDIR\nmap-os-db"
|
||||||
Delete "$INSTDIR\nmap-payloads"
|
Delete "$INSTDIR\nmap-payloads"
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
146
nbase/nbase.h
146
nbase/nbase.h
@@ -9,126 +9,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -2,126 +2,58 @@
|
|||||||
* nbase_addrset.c -- Address set (addrset) management. *
|
* nbase_addrset.c -- Address set (addrset) management. *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -7,126 +7,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -8,126 +8,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -11,126 +11,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -5,126 +5,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -6,126 +6,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -4,126 +4,58 @@
|
|||||||
* *
|
* *
|
||||||
***********************IMPORTANT NMAP LICENSE TERMS************************
|
***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||||
* *
|
* *
|
||||||
* The Nmap Security Scanner is (C) 1996-2019 Insecure.Com LLC ("The Nmap *
|
* The Nmap Security Scanner is (C) 1996-2020 Insecure.Com LLC ("The Nmap *
|
||||||
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
* Project"). Nmap is also a registered trademark of the Nmap Project. *
|
||||||
* This program is free software; you may redistribute and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; Version 2 ("GPL"), BUT ONLY WITH ALL OF THE *
|
|
||||||
* CLARIFICATIONS AND EXCEPTIONS DESCRIBED HEREIN. This guarantees your *
|
|
||||||
* right to use, modify, and redistribute this software under certain *
|
|
||||||
* conditions. If you wish to embed Nmap technology into proprietary *
|
|
||||||
* software, we sell alternative licenses (contact sales@nmap.com). *
|
|
||||||
* Dozens of software vendors already license Nmap technology such as *
|
|
||||||
* host discovery, port scanning, OS detection, version detection, and *
|
|
||||||
* the Nmap Scripting Engine. *
|
|
||||||
* *
|
* *
|
||||||
* Note that the GPL places important restrictions on "derivative works", *
|
* This program is distributed under the terms of the Nmap Public Source *
|
||||||
* yet it does not provide a detailed definition of that term. To avoid *
|
* License (NPSL). The exact license text applying to a particular Nmap *
|
||||||
* misunderstandings, we interpret that term as broadly as copyright law *
|
* release or source code control revision is contained in the LICENSE *
|
||||||
* allows. For example, we consider an application to constitute a *
|
* file distributed with that version of Nmap or source code control *
|
||||||
* derivative work for the purpose of this license if it does any of the *
|
* revision. More Nmap copyright/legal information is available from *
|
||||||
* following with any software or content covered by this license *
|
* https://nmap.org/book/man-legal.html, and further information on the *
|
||||||
* ("Covered Software"): *
|
* NPSL license itself can be found at https://nmap.org/npsl. This header *
|
||||||
|
* summarizes some key points from the Nmap license, but is no substitute *
|
||||||
|
* for the actual license text. *
|
||||||
* *
|
* *
|
||||||
* o Integrates source code from Covered Software. *
|
* Nmap is generally free for end users to download and use themselves, *
|
||||||
|
* including commercial use. It is available from https://nmap.org. *
|
||||||
* *
|
* *
|
||||||
* o Reads or includes copyrighted data files, such as Nmap's nmap-os-db *
|
* The Nmap license generally prohibits companies from using and *
|
||||||
* or nmap-service-probes. *
|
* redistributing Nmap in commercial products, but we sell a special Nmap *
|
||||||
|
* OEM Edition with a more permissive license and special features for *
|
||||||
|
* this purpose. See https://nmap.org/oem *
|
||||||
* *
|
* *
|
||||||
* o Is designed specifically to execute Covered Software and parse the *
|
* If you have received a written Nmap license agreement or contract *
|
||||||
* results (as opposed to typical shell or execution-menu apps, which will *
|
* stating terms other than these (such as an Nmap OEM license), you may *
|
||||||
* execute anything you tell them to). *
|
* choose to use and redistribute Nmap under those terms instead. *
|
||||||
* *
|
* *
|
||||||
* o Includes Covered Software in a proprietary executable installer. The *
|
* The official Nmap Windows builds include the Npcap software *
|
||||||
* installers produced by InstallShield are an example of this. Including *
|
* (https://npcap.org) for packet capture and transmission. It is under *
|
||||||
* Nmap with other software in compressed or archival form does not *
|
* separate license terms which forbid redistribution without special *
|
||||||
* trigger this provision, provided appropriate open source decompression *
|
* permission. So the official Nmap Windows builds may not be *
|
||||||
* or de-archiving software is widely available for no charge. For the *
|
* redistributed without special permission (such as an Nmap OEM *
|
||||||
* purposes of this license, an installer is considered to include Covered *
|
* license). *
|
||||||
* Software even if it actually retrieves a copy of Covered Software from *
|
|
||||||
* another source during runtime (such as by downloading it from the *
|
|
||||||
* Internet). *
|
|
||||||
* *
|
|
||||||
* o Links (statically or dynamically) to a library which does any of the *
|
|
||||||
* above. *
|
|
||||||
* *
|
|
||||||
* o Executes a helper program, module, or script to do any of the above. *
|
|
||||||
* *
|
|
||||||
* This list is not exclusive, but is meant to clarify our interpretation *
|
|
||||||
* of derived works with some common examples. Other people may interpret *
|
|
||||||
* the plain GPL differently, so we consider this a special exception to *
|
|
||||||
* the GPL that we apply to Covered Software. Works which meet any of *
|
|
||||||
* these conditions must conform to all of the terms of this license, *
|
|
||||||
* particularly including the GPL Section 3 requirements of providing *
|
|
||||||
* source code and allowing free redistribution of the work as a whole. *
|
|
||||||
* *
|
|
||||||
* As another special exception to the GPL terms, the Nmap Project grants *
|
|
||||||
* permission to link the code of this program with any version of the *
|
|
||||||
* OpenSSL library which is distributed under a license identical to that *
|
|
||||||
* listed in the included docs/licenses/OpenSSL.txt file, and distribute *
|
|
||||||
* linked combinations including the two. *
|
|
||||||
* *
|
|
||||||
* The Nmap Project has permission to redistribute Npcap, a packet *
|
|
||||||
* capturing driver and library for the Microsoft Windows platform. *
|
|
||||||
* Npcap is a separate work with it's own license rather than this Nmap *
|
|
||||||
* license. Since the Npcap license does not permit redistribution *
|
|
||||||
* without special permission, our Nmap Windows binary packages which *
|
|
||||||
* contain Npcap may not be redistributed without special permission. *
|
|
||||||
* *
|
|
||||||
* Any redistribution of Covered Software, including any derived works, *
|
|
||||||
* must obey and carry forward all of the terms of this license, including *
|
|
||||||
* obeying all GPL rules and restrictions. For example, source code of *
|
|
||||||
* the whole work must be provided and free redistribution must be *
|
|
||||||
* allowed. All GPL references to "this License", are to be treated as *
|
|
||||||
* including the terms and conditions of this license text as well. *
|
|
||||||
* *
|
|
||||||
* Because this license imposes special exceptions to the GPL, Covered *
|
|
||||||
* Work may not be combined (even as part of a larger work) with plain GPL *
|
|
||||||
* software. The terms, conditions, and exceptions of this license must *
|
|
||||||
* be included as well. This license is incompatible with some other open *
|
|
||||||
* source licenses as well. In some cases we can relicense portions of *
|
|
||||||
* Nmap or grant special permissions to use it in other open source *
|
|
||||||
* software. Please contact fyodor@nmap.org with any such requests. *
|
|
||||||
* Similarly, we don't incorporate incompatible open source software into *
|
|
||||||
* Covered Software without special permission from the copyright holders. *
|
|
||||||
* *
|
|
||||||
* If you have any questions about the licensing restrictions on using *
|
|
||||||
* Nmap in other works, we are happy to help. As mentioned above, we also *
|
|
||||||
* offer an alternative license to integrate Nmap into proprietary *
|
|
||||||
* applications and appliances. These contracts have been sold to dozens *
|
|
||||||
* of software vendors, and generally include a perpetual license as well *
|
|
||||||
* as providing support and updates. They also fund the continued *
|
|
||||||
* development of Nmap. Please email sales@nmap.com for further *
|
|
||||||
* information. *
|
|
||||||
* *
|
|
||||||
* If you have received a written license agreement or contract for *
|
|
||||||
* Covered Software stating terms other than these, you may choose to use *
|
|
||||||
* and redistribute Covered Software under those terms instead of these. *
|
|
||||||
* *
|
* *
|
||||||
* Source is provided to this software because we believe users have a *
|
* Source is provided to this software because we believe users have a *
|
||||||
* right to know exactly what a program is going to do before they run it. *
|
* right to know exactly what a program is going to do before they run it. *
|
||||||
* This also allows you to audit the software for security holes. *
|
* This also allows you to audit the software for security holes. *
|
||||||
* *
|
* *
|
||||||
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
* Source code also allows you to port Nmap to new platforms, fix bugs, *
|
||||||
* and add new features. You are highly encouraged to send your changes *
|
* and add new features. You are highly encouraged to submit your *
|
||||||
* to the dev@nmap.org mailing list for possible incorporation into the *
|
* changes as a Github PR or by email to the dev@nmap.org mailing list *
|
||||||
* main distribution. By sending these changes to Fyodor or one of the *
|
* for possible incorporation into the main distribution. Unless you *
|
||||||
* Insecure.Org development mailing lists, or checking them into the Nmap *
|
* specify otherwise, it is understood that you are offering us very *
|
||||||
* source code repository, it is understood (unless you specify *
|
* broad rights to use your submissions as described in the Nmap Public *
|
||||||
* otherwise) that you are offering the Nmap Project the unlimited, *
|
* Source License Contributor Agreement. This is important because we *
|
||||||
* non-exclusive right to reuse, modify, and relicense the code. Nmap *
|
* fund the project by selling licenses with various terms, and also *
|
||||||
* will always be available Open Source, but this is important because *
|
* because the inability to relicense code has caused devastating *
|
||||||
* the inability to relicense code has caused devastating problems for *
|
* problems for other Free Software projects (such as KDE and NASM). *
|
||||||
* other Free Software projects (such as KDE and NASM). We also *
|
|
||||||
* occasionally relicense the code to third parties as discussed above. *
|
|
||||||
* If you wish to specify special license conditions of your *
|
|
||||||
* contributions, just say so when you send them. *
|
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
* The free version of Nmap is distributed in the hope that it will be *
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Warranties, *
|
||||||
* license file for more details (it's in a COPYING file included with *
|
* indemnification and commercial support are all available through the *
|
||||||
* Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
* Npcap OEM program--see https://nmap.org/oem. *
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user