1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
dmiller
6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00
dmiller
75f6b387fe Don't call WSACleanup if WSAStartup wasn't called 2024-09-04 18:41:44 +00:00
dmiller
f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller
6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller
cd992b995b Fix incorrect Packet.dll function name 2022-08-29 16:12:38 +00:00
dmiller
4f6e7307e4 Don't try to get a list of devices just to confirm Packet.dll was found. 2022-05-12 21:56:59 +00:00
dmiller
c2d6b01f35 Update links to npcap.com 2022-02-18 17:38:54 +00:00
dmiller
dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor
3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller
a2690ffa45 Require Npcap 2021-07-21 21:56:28 +00:00
dmiller
e0f78dbed5 Remove unused GetVersionEx calls that probably didn't work anyway. 2021-07-21 15:47:29 +00:00
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