1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 20:39:02 +00:00
Commit Graph

12446 Commits

Author SHA1 Message Date
dmiller
4e8775f0f7 Fix xml tag mismatch in install reference 2021-08-08 21:48:02 +00:00
dmiller
0d2323f039 Bump version to 7.92SVN 2021-08-08 21:26:07 +00:00
dmiller
dd82097c80 Merge changes from 7.92 release branch 2021-08-08 21:20:19 +00:00
fyodor
f7cc9612a0 typo 2021-08-08 02:20:24 +00:00
fyodor
cee01cc1a1 Add a couple other improvements we forgot to include in the changelog 2021-08-08 01:23:20 +00:00
fyodor
12bef342a7 Fix minor formatting issue 2021-08-08 00:31:30 +00:00
fyodor
5ccd15c3ce Update CHANGELOG for Nmap 7.92 release 2021-08-08 00:26:46 +00:00
dmiller
1e8f81c638 Clarify a changelog entry given the fix for #2293 2021-08-06 17:48:11 +00:00
dmiller
17b2da7731 Fix some errors in macosx build scripts 2021-08-06 17:44:37 +00:00
dmiller
2181443b63 Address a few code analysis warnings: uninitialized vars and undefined behavior 2021-08-06 16:17:46 +00:00
dmiller
ccfdc64a2c Fix build error on MSVC 2021-08-06 16:16:49 +00:00
dmiller
7b73985610 Auto-gen Nmap version for macOS build. Bump OpenSSL to 1.1.1k. 2021-08-06 16:16:06 +00:00
dmiller
a863ade3a7 Update protocol numbers from IANA 2021-08-06 05:09:07 +00:00
dmiller
43b46adbcd Merge latest service names from IANA 2021-08-06 05:09:07 +00:00
dmiller
2f8b4e20a1 Update nmap-mac-prefixes from IEEE 2021-08-06 05:09:06 +00:00
dmiller
e93109ef88 Make base_port a member of UltraScanInfo. 2021-08-06 02:47:58 +00:00
dmiller
180c716ca5 Combine tryno and pingseq
UltraProbe's tryno and pingseq attributes were mutually exclusive,
encoded in the same places in packets, and did not need more than 7 bits
to store. This change combines them into a bitfield. This simplifies
some logic, since they do not need to be distinguished from each other.

Additionally, in cases where the tryno is encoded in the source port
number, no further checks or decoding need to happen beyond comparing
the destination port of the response to the source port of the probe.
2021-08-06 02:47:57 +00:00
dmiller
01c1e00b83 Prefer UDP probes with 1 or fewer payloads as ping probes. 2021-08-06 02:47:56 +00:00
dmiller
9c97e008f7 Fix #2293: assertion failed probe->tryno == maxtries
When tying UDP payloads to tryno, we were exceeding the maxtries in
order to send all available payloads, leading to assertion failures.
Currently there are not more than 4 payloads for any given port; most
have none, many have 1, very few have more. So we will send them all at
the same time with the same source port/tryno.
2021-08-06 02:47:55 +00:00
dmiller
1ebd91fc0c Increment base port modulo a prime to avoid repeating.
Base port would repeat after 4035 increments (32280 / gcd(256, 32280))
Likely wouldn't cause problems, but this is cleaner and more correct
with the original intent.
2021-08-06 02:47:55 +00:00
dmiller
a34e52b931 Solution cleanup: remove unused zlibstat project. 2021-08-03 19:57:00 +00:00
dmiller
7b693c7026 Solution cleanup: remove/disable unused configurations 2021-08-03 19:44:23 +00:00
dmiller
76b25678d1 Remove VC++ 2008 runtime; Python uses VC 14+ same as our builds now. 2021-08-03 19:29:10 +00:00
dmiller
0dc7df9573 Switch to VC++ 2019 redistributable 2021-07-30 22:50:41 +00:00
dmiller
ab35a2eccc Use cli defines, not sed, to customize NSIS script. Also addresses #2316 2021-07-30 17:02:11 +00:00
dmiller
1820469f5a Bump supported Windows to Win7 (drop Vista) and update a deprecated API 2021-07-29 21:09:44 +00:00
dmiller
042ddd33b4 Get runtime version of OpenSSL, not header version. 2021-07-28 20:52:01 +00:00
dmiller
b7687223c1 Updates to build with VS 2019 2021-07-28 20:29:28 +00:00
dmiller
e876b37787 Remove an unused variable 2021-07-26 18:43:18 +00:00
dmiller
f22816da84 Use casts to fix build error C2664 with Windows SDK 8.1 2021-07-26 18:43:17 +00:00
dmiller
322dfed68a Silence a LGTM warning: we know it's useless for now. 2021-07-23 16:50:13 +00:00
dmiller
da2c3673f1 Do not delay-load iphlpapi.dll 2021-07-23 16:50:13 +00:00
dmiller
9b36c5b2b8 libdnet: Remove call to FreeLibrary after GetModuleHandle.
Per Windows API docs: "do not pass a handle returned by GetModuleHandle
to the FreeLibrary function. Doing so can cause a DLL module to be
unmapped prematurely."
2021-07-23 16:50:12 +00:00
dmiller
8bb25f535c Clarify HopByHop padding code, addressing LGTM.com finding 2021-07-23 16:50:11 +00:00
dmiller
95d98fe6ae Linker optimizations for all projects (Windows) 2021-07-22 17:19:53 +00:00
dmiller
d4ceb17a8d Use getaddrinfo instead of gethostbyname for FTP bouncescan 2021-07-22 17:19:12 +00:00
dmiller
d15747db32 Minor optimization for name resolution: null servname 2021-07-22 17:18:29 +00:00
dmiller
7bf0a7f016 Remove/change some text to describe Npcap, not WinPcap 2021-07-21 22:42:46 +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
bafb7b88ae Code analysis thinks this could be null; assert it 2021-07-21 15:46:38 +00:00
dmiller
8a6e1fbb6d Remove code for pre-NT Windows. 2021-07-21 15:45:45 +00:00
dmiller
a78fd44073 Silence LGTM warnings about weak crypto: these are compatibility, not security. 2021-07-21 00:59:42 +00:00
dmiller
5707fb14c5 Upgrade to VS 2019 2021-07-19 23:58:02 +00:00
dmiller
f6d7396392 Use macros instead of generating nmap.rc 2021-07-19 23:57:08 +00:00
dmiller
bd81beac1c Use more structure in defining Nmap version number 2021-07-19 23:06:50 +00:00
dmiller
c23d0f8345 Clarify braces around ifdefs 2021-07-19 23:06:49 +00:00
dmiller
51180ec958 Make a variable local 2021-07-02 20:01:31 +00:00
dmiller
7c61f7c9c3 TLS 1.3 support for NSE. Fixes #1691 2021-07-02 20:01:30 +00:00
ron
61f17067a3 Add new fingerprint to http-fingerprints.lua (BitWarden) 2021-06-04 19:10:23 +00:00