dmiller
ef8213a36c
Reintegrate Nmap 7.90 release branch
2020-10-05 23:00:30 +00:00
dmiller
77421962aa
Remove mostly-unused winclude.h
2019-05-29 15:11:13 +00:00
dmiller
8cae7b4fc7
Remove/relocate unused includes of pcap.h and Packet32.h
2019-05-29 13:39:28 +00:00
dmiller
274b8f979c
Remove checks and unnecessary includes of sys/timeb.h (handled within nbase)
2019-05-29 13:22:13 +00:00
dmiller
d639a53088
Bump copyright date in license headers
2019-05-28 21:36:04 +00:00
dmiller
30db709755
Optimistically revert mutex that was needed with WinPcap. Npcap likely is unaffected.
2018-10-03 16:57:54 +00:00
fyodor
b3cece27e0
Update Npcap URL to new SSL version
2018-09-28 23:42:55 +00:00
dmiller
c95330ddf0
Avoid calling GetLastError twice.
2018-08-06 21:23:06 +00:00
fyodor
ff62300249
Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text
2018-01-28 21:18:17 +00:00
dmiller
bdd67aa68a
Update some error messages to refer to Npcap, not WinPcap.
2017-06-23 04:44:21 +00:00
dmiller
9c7ea727a7
Update license terms for 2017
2017-06-07 12:32:38 +00:00
fyodor
4bd67aa2fb
Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml
2016-12-14 00:12:23 +00:00
dmiller
3a01e58f36
Avoid comparisons with uninitialized pcap_driver
2016-09-01 03:34:21 +00:00
dmiller
7b2f115d24
Use CloseServiceHandle instead of CloseHandle to avoid debugging crash
2016-09-01 03:34:20 +00:00
dmiller
8c8e4a08c6
Be clearer about npf/npcap service status in Nping, just like r36061. Fixes #485
2016-08-01 04:43:33 +00:00
dmiller
3db511e83d
Consolidate warnings about npf service, avoid starting if --unprivileged. Fixes #465
2016-07-31 19:26:39 +00:00
dmiller
67fd101b01
Enable Nmap, Nping to use Npcap over Winpcap if available.
2016-06-14 14:16:46 +00:00
dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
dmiller
857a62ba8f
Add mutex protection to a couple more WinPcap calls
2015-11-10 16:47:33 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
dmiller
ddcfa8cc90
Spellcheck: common misspellings in the entire source tree
2014-02-21 21:10:51 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
fyodor
6a42ef47c0
Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license.
2012-12-06 01:21:42 +00:00
david
a8c51eeda0
Remove vestiges of WinIP library.
...
This was an old library removed in r2811 and r2812, of which a few
traces remained.
I don't know the purpose of this in nbase_misc.c:
if(sd != 501) // Hack related to WinIP Raw Socket support
ioctlsocket (sd, FIONBIO, &one);
2012-10-01 19:54:17 +00:00
fyodor
684f42c4ad
One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list.
2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24
Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification
2012-03-01 06:32:23 +00:00
fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
david
47bc61d69d
Restrict the search path for DLLs to prevent DLL hijacking. If the
...
SetDllDirectory function is available, as it is on Windows XP SP1 and later,
use it to remove the current directory from the DLL search path. If the
function is not available, call SetCurrentDirectory to the directory containing
the executable.
I believe that such an attack is not currently possible against Nmap, because
it doesn't register any file type associations. This protects us in case such
associations are added in the future.
2010-09-04 04:52:23 +00:00
david
5246761a67
Fix a couple of typos.
2010-09-04 01:10:56 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
david
ab3b1f409d
Don't try to start NPF if o.isr00t is false (in other words, the --unprivileged
...
option was used). This idea was from Michael Pattrick.
2010-01-15 19:58:57 +00:00
david
d541e795ba
Give more information about possible causes and solutions when WinPcap fails to
...
load on Windows, in particular information about the NPF service and UAC.
2010-01-15 05:39:25 +00:00
david
ecca7974a9
Add a function to winfix.cc that checks if the NPF service is running and tries
...
to start it (with elevated privileges) if not.
2010-01-15 03:54:26 +00:00
fyodor
d0e21e1d03
Suggest that people send patches to nmap-dev rather than to me directly
2009-04-15 00:37:03 +00:00
fyodor
eccc235d5a
Increase copyright year to 2009, simplify/reword some derivative works text, and remove a confusing clause about selling proprietary front-ends to Nmap
2009-03-31 04:16:12 +00:00
david
b87ef8aabd
Give a better error message "requires root privileges" when trying to run a raw
...
scan on Windows with --unprivileged. Previously Nmap assumed that the only way
o.isr00t could be false on Windows was if pcap functions were not available, so
the user would get the false message "requires that WinPcap version 3.1 or
higher...". NmapOps now has a state variable have_pcap so the meaning of isr00t
isn't overloaded.
2008-11-20 00:15:42 +00:00
kris
3daeae2fc5
Instead of having my_close() in mswin32/winfix.cc (which only calls closesocket()),
...
and having close() #defined to my_close() in nbase_winunix.h, I'm just defining close()
to closesocket() in nbase_winunix.h and removing my_close() from winfix.cc. I'm also
defining EWOULDBLOCK to WSAEWOULDBLOCK in nbase_winunix.h.
Nmap builds fine with these changes, and since it's just defining close() to something
that already exists, it shouldn't negatively affect other branches.
These are things I noticed while trying to cleanly "re-port" Ncat to VC++2008.
2008-07-10 03:20:38 +00:00
fyodor
779b96a197
trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db
2008-05-22 20:45:32 +00:00
fyodor
10b54b773b
minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL)
2008-05-05 04:10:00 +00:00
fyodor
1accc12fb2
fix typo in legal header found by Leigh Zhao (missing word: of)
2008-02-28 18:52:06 +00:00
fyodor
29c912f394
URL change from http://insecure.org/nmap/ * to http://nmap.org/ *
2008-01-17 07:22:03 +00:00
fyodor
8220c8a42f
update copyright line at the top of files from 1996-2006 to 1996-2008
2007-12-22 06:32:03 +00:00
david
aa94d1e9d1
Fixed an error that showed itself on Windows when attempting to scan
...
localhost as an unprivileged user (nmap --unprivileged localhost). The
error looked like
Skipping SYN Stealth Scan against localhost (127.0.0.1) because Windows does not support scanning your own machine (localhost) this way.
Now connect scan is used instead of SYN scan.
2007-12-20 10:02:14 +00:00