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

12388 Commits

Author SHA1 Message Date
dmiller
c3a2faaa7b Remove some unused methods 2021-04-27 19:22:13 +00:00
dmiller
74e066d356 Another round of const 2021-04-27 19:22:12 +00:00
dmiller
68d2c0e960 Use stack for global special value so we don't have to clean it up. 2021-04-27 19:22:10 +00:00
dmiller
6b2de50416 Handle new_targets memory management within the class. 2021-04-27 19:22:10 +00:00
dmiller
bf9d60734d Use std::multiset to keep script outputs in order instead of sorting. 2021-04-27 19:22:09 +00:00
dmiller
3adaa69cb2 Fix an out-of-bounds memory access when parsing PTR records 2021-04-27 19:22:08 +00:00
dmiller
c9b7c2f590 Moar const 2021-04-26 17:58:01 +00:00
dmiller
d142d1f808 a few more consts 2021-04-26 15:04:47 +00:00
dmiller
1fd272f8dd const all the things! 2021-04-23 20:37:41 +00:00
dmiller
1717b4a9a9 Correct explanation of bug that was fixed. 2021-04-23 20:37:39 +00:00
dmiller
28fde911fe Remove an unused state variable from HostScanStats 2021-04-23 20:37:39 +00:00
dmiller
a744a969da Fix -sU modifying payloads when retrieving them. Closes #2269. Fixes #2268 2021-04-22 23:22:46 +00:00
nnposter
004c8627c1 Do not override snprintf in VS 2015 and newer
MSVC preprocessor triggers #error in <stdio.h> if redefined

From MS doc:
Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is
no longer identical to _snprintf. The snprintf function behavior is now C99
standard compliant.

Closes #2255
2021-04-16 02:33:39 +00:00
nnposter
4b46fa7097 Label the function as intentionally empty
See https://seclists.org/nmap-dev/2021/q1/31
2021-04-07 18:42:28 +00:00
nnposter
068e77a37f Restore Supported Point Formats Extension. Fixes #1187
Some servers are not compliant with RFC 4492, section 4,
and abort the handshake when the extension is missing.
2021-03-21 02:37:18 +00:00
nnposter
024bbf84f1 Make sure that SOCKS proxied server data are processed
There was a race condition where proxied server data could arrive appended
to the final SOCKS handshake response, causing the data to get skipped.
2021-03-16 02:34:35 +00:00
nnposter
3913c63136 Use more descriptive error messages 2021-03-16 02:09:39 +00:00
fyodor
7bd0318e3d slight wording change. Fixes #2261. 2021-03-07 03:29:16 +00:00
fyodor
b319123646 Word-wrap a paragraph and fix a typo 2021-03-06 18:04:18 +00:00
dmiller
05faa0287a Fix addrset matching with overlapping CIDR specs. Fixes #2257 2021-03-01 18:42:00 +00:00
ron
056b63833a Add new fingerprints to http-fingerprints.lua (Wordpress, Health) 2021-02-19 20:21:09 +00:00
nnposter
d4f4124c91 Clarify the expected format of the Nikto database 2021-02-17 04:13:20 +00:00
nnposter
6d1c3f091e Fix Nikto db path resolution 2021-02-17 03:42:33 +00:00
dmiller
d4bf034df9 Fix TDS7/mssql login packet for non-ascii usernames. See #2056 2021-02-08 22:49:19 +00:00
dmiller
e2f1df924c Fix expansion of %F strftime-like filenames. 2021-01-27 21:38:46 +00:00
dmiller
b305ba6b5d Prevent ssl-* from printing to jetdirect ports. Fixes #2237 2021-01-25 17:00:40 +00:00
dmiller
c425bb6d62 Changelog entry for previous changes [ci skip] 2021-01-19 19:57:38 +00:00
dmiller
a20fda6480 Respect --max-retries in UDP scan even when some payloads haven't been sent. 2021-01-19 19:57:37 +00:00
dmiller
6310b7d9e3 Ensure all UDP payloads get sent before giving up on a port. 2021-01-18 22:23:55 +00:00
nnposter
58617a79f7 SMB2 dialect refactoring. Fixes #2203, closes #2208 2021-01-18 21:21:43 +00:00
nnposter
4564749ccd Reject non-useable routes. Fixes #2206 2021-01-18 20:11:40 +00:00
dmiller
5258ac6b3c Be clear about why unpwdb/passdb are not valid. See #2224 2021-01-18 18:15:03 +00:00
dmiller
6fadd16d6a Document iocp nsock engine in Nmap man page; note the default for --nsock-engine 2021-01-17 16:19:58 +00:00
fyodor
3bb502fcb0 Update author name/email 2021-01-14 18:26:56 +00:00
fyodor
80a9f4b2e3 Add the NPSL 0.92 to 0.93 upgrade to the CHANGELOG, noting that Nmap 7.90 and 7.91 may be used under this newer version if desired 2021-01-13 00:02:25 +00:00
fyodor
a3c846c368 Rewrite a poorly worded clause which was not interpreted in the way it was intended and bump the version number to 0.93 2021-01-12 23:40:30 +00:00
nnposter
2f78ac2eb5 Fix broken JSON unit tests. Closes #2222 2021-01-08 04:14:21 +00:00
dmiller
67cccec38d Use checked_fd_set in 2 more places: bounce scan and pcap_select 2021-01-07 18:31:09 +00:00
dmiller
28bfe0dfd2 Use checked versions of FD_* macros. Closes #2202 2021-01-07 17:52:24 +00:00
dmiller
3ecec3f4dc Correct to DTD, explicitly show empty output. See #2216
This shouldn't happen, so we'll print a "bug" error message so users
notify us.
2021-01-01 19:25:56 +00:00
dmiller
9a3a8d1593 Check for output before returning. See #2212 2020-12-30 23:31:36 +00:00
dmiller
1943c0a2fc Simplify output_table __index metamethod
From Lua 5.3 docs: "Despite the name, the metamethod for this event can
be either a function or a table. [...] If it is a table, the final
result is the result of indexing this table with key."
2020-12-30 23:31:35 +00:00
dmiller
e7b40571ef Correct the DTD for hosthint element. Fixes #2217 2020-12-30 23:31:35 +00:00
nnposter
77f764fe72 Add script nbns-interfaces. Closes #2201 2020-12-30 03:51:21 +00:00
dmiller
ef2bafb09c Report system error message when fopen fails 2020-12-28 17:51:16 +00:00
nnposter
f6fbb29481 Improve output formatting
- EHLO output no longer has a trailing separator
- Strings "214" and "250" are now removed only from the line beginning
2020-12-27 00:38:53 +00:00
nnposter
eecf225310 Fix word-wrapping 2020-12-27 00:25:40 +00:00
nnposter
9334c9fd5d Ncat certs should last for one year
Old Ncat versions were using one year but during OpenSSL API refresh (r36533),
the duration was accidentally changed to one minute by copying Ncat test code
from ncat/test/test-wildcard.c
Fixes #2167, closes #2168
2020-12-24 00:35:38 +00:00
dmiller
cd63da6ba0 Update DTD and changelog entry for previous change 2020-12-17 22:12:05 +00:00
dmiller
38671f2225 Enhance output to print proto, reason, and port list for ignored ports
Normal output will report count, protocol, and reason for each group of
ports in an ignored state (usually closed or filtered when there are
more than 25 ports in one of those states).

XML output will contain a consolidated list of port numbers as well.
2020-12-17 22:12:04 +00:00