1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +00:00
Commit Graph

12968 Commits

Author SHA1 Message Date
nnposter
1a87f11f42 Default rule base for script mysql-audit. See #2125 2020-10-04 02:52:31 +00:00
dmiller
46f1954c0f Update macosx build to OpenSSL 1.1.1h, use jhbuild for all build steps 2020-09-30 03:10:24 +00:00
dmiller
e214019922 Make IOCP the default Nsock engine on Windows. See #2126 2020-09-29 18:17:10 +00:00
dmiller
eb6e160cb9 Add missing prototype 2020-09-29 18:05:06 +00:00
dmiller
1504a353cf Properly handle pcap reads in iocp engine. Fixes #2126
Still has an odd code smell, but this fixes my test case with Nping.
2020-09-29 00:39:29 +00:00
dmiller
4bee1dbfc1 Remove duplicate test conditionals already tested in enclosing block 2020-09-18 18:47:42 +00:00
dmiller
8ba183531d Allow %F date format to mean YYYY-mm-dd like GNU date 2020-09-17 21:42:03 +00:00
dmiller
c4ae093630 Fix a meaningless error message when parsing IPv6 extension headers. 2020-09-17 21:41:18 +00:00
dmiller
c6270d73bf Update IPv6 classifier based on new submissions through 2020-09-14 2020-09-17 20:44:41 +00:00
dmiller
dfd8e4f74c Fix a config issue with LGTM (libverbs not linked in libpcap) 2020-09-15 23:29:05 +00:00
dmiller
7375c0520d Improve docs on -Pn and host discovery
"Host discovery" is the preferred term over "ping scan" because of
confusion with ICMP Echo Request, a.k.a. "ping" as used by the "ping"
utility. Warn when users use -Pn because it has negative impact on scan
times since ultrascan timing parameters fall back to slow initial
defaults.
2020-09-15 23:29:05 +00:00
dmiller
dff084edcb Be explicit about truncating division (timeout is in whole milliseconds) 2020-09-14 17:41:39 +00:00
dmiller
75318985a1 Silence static analysis warning
LGTM points out that since comparison with sizeof(buf) coerces n to
unsigned, all negative values become very large values, which are
necessarily larger than sizeof(buf), so the test is redundant. We still
want the test in our code to be explicit that we are checking for it, so
reordering the comparisons should silence the warning. A good optimizing
compiler should be able to combine the two conditions anyway.

See https://github.com/github/codeql/issues/4249
2020-09-14 17:41:39 +00:00
nnposter
fa6bd3f901 Update the SSH protocol flow. Closes #1460
Allows the server to start the key exchange before the protocol version
exchange (banner exchange) is completed
2020-09-13 00:12:48 +00:00
nnposter
dd6650b887 Replace hyphens in the client SSH banner
Hyphen is not allowed in the software version string (RFC 4253, section 4.2)
2020-09-13 00:01:40 +00:00
dmiller
3b633fd97c Try to make sure enough data is present before parsing. See #2117 2020-09-10 22:02:12 +00:00
dmiller
9b113b03be Add a requested feature 2020-09-10 22:02:11 +00:00
dmiller
444e7ff88c Process a few service fingerprint submissions 2020-09-10 16:28:22 +00:00
dmiller
f6d21da5cd Only get SSL options if we use them, currently for NO_SSLv2 2020-09-10 16:25:10 +00:00
dmiller
f01567b353 Process new Linux and OpenBSD fingerprints 2020-09-10 16:21:53 +00:00
dmiller
85e22fb89b Tell LGTM to use the correct version of Python (2) 2020-09-10 15:36:03 +00:00
dmiller
19c53f62ec Add some missing changelog entries 2020-09-09 21:34:56 +00:00
dmiller
9c1cfd8405 Correctly check for unsigned subtraction underflow. 2020-09-09 21:34:56 +00:00
dmiller
3521f15180 Use signed value for tcp header offset and option lengths to detect underflow 2020-09-09 21:34:55 +00:00
dmiller
b8c8fe8047 Call superclass's init method from derived class 2020-09-09 21:34:54 +00:00
dmiller
f66f765607 Update dated 'class' network terms to CIDR. Closes #2054 2020-09-09 17:29:24 +00:00
dmiller
bdc5963b6a Remove a todo item that is done (--resolve-all) 2020-09-09 17:29:24 +00:00
dmiller
e278afa57d Handle too-short response in s7-info. See #2117 2020-09-09 17:16:13 +00:00
dmiller
d3f47863ee Update nmap-services from IANA 2020-09-08 21:08:28 +00:00
dmiller
dd4c5e6981 Update nmap-mac-prefixes 2020-09-08 21:08:24 +00:00
dmiller
942b7f9852 Add some popular favicon hashes 2020-09-04 13:41:12 +00:00
dmiller
cbe650092c Fix loopback detection on Windows with new Npcap 2020-09-03 20:14:00 +00:00
dmiller
24cbfa0e66 One last libeay32->libcrypto name change 2020-09-03 20:13:45 +00:00
dmiller
04e50e0f3e More OpenSSL DLL name changes 2020-09-03 19:19:52 +00:00
dmiller
74e9104173 OpenSSL 1.1.X renamed libs: libeay32->libcrypto ssleay32->libssl 2020-09-03 17:49:21 +00:00
dmiller
8e65c92264 Pass error along instead of printing (link error) 2020-09-02 17:05:55 +00:00
dmiller
8390fa0be0 Use ASCII chars for some payload data where it makes sense 2020-09-01 17:09:48 +00:00
dmiller
424ebfbd70 New UDP payloads. Closes #1860 2020-09-01 17:09:47 +00:00
dmiller
9c83be3833 Allow multiple UDP payloads per port. Closes #1859 (payloads to be committed later) 2020-09-01 17:09:46 +00:00
dmiller
083475eb6f Use larger buffer size for socket errors (WSAETIMEDOUT was longer). 2020-08-31 21:11:00 +00:00
dmiller
e2cb529b7a include string_pool in Windows build 2020-08-31 15:20:50 +00:00
dmiller
92f99bd0a4 Nbase is needed for __attribute__ on Windows 2020-08-31 15:20:50 +00:00
dmiller
3d382bdf17 New option --discovery-ignore-rst. Closes #1616 2020-08-31 15:20:49 +00:00
nnposter
05ad57df21 Speed improvement for script afp-ls. Closes #2098 2020-08-31 00:25:09 +00:00
nnposter
fd16f90242 Fix line wrapping 2020-08-30 22:59:57 +00:00
nnposter
c3431b9025 Stop using Shellshock in header name. Fixes #1983 2020-08-30 22:50:11 +00:00
dmiller
a0b05c0f4f Require trailing '/' to match a directory name with --script. See #2051 2020-08-28 15:06:10 +00:00
dmiller
8417aa5576 Remove an unused variable 2020-08-28 15:06:09 +00:00
dmiller
3635595b24 Do not search NMAPDATADIR on Windows as it is not defined. See #2051 2020-08-28 15:06:08 +00:00
dmiller
a734cd752c If fetchfile didn't find the XSL, use a relative path on all platforms. 2020-08-28 15:06:07 +00:00