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

526 Commits

Author SHA1 Message Date
dmiller
8cd2130cd4 Use switch instead of chained if/else for -P* options 2023-05-09 14:16:45 +00:00
dmiller
6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller
2fcfac9329 Closes #2541. Consolidate nmap-payloads and nmap-service-probes; use port scan responses in version scan. 2022-10-21 21:15:48 +00:00
dmiller
b092262a22 Clarify docs around timing templates [ci skip] 2022-09-23 21:41:58 +00:00
dmiller
7013eefb05 Support MA-S, MA-M, and MA-L reg lookups for OUI/MAC/EUI-48 2022-09-08 23:37:54 +00:00
dmiller
e0771f5d7d Change 'consecutive' to 'sequential' when describing -r option. See #1750 2022-07-05 16:20:16 +00:00
dmiller
c58b7b2526 Fix #2496: new targets couldn't be added because singleton object was not created 2022-06-27 23:01:44 +00:00
dmiller
dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
dmiller
2cbc7712da Avoid duplicating udp payloads in memory
Storing a pointer instead of the whole struct payload enables us to
reuse the same struct for as many ports as the payload defines, saving
memory as well as the time to copy the struct and its std::string
member. This commit also avoids several copy constructions and deletions
of the payload vector for each port defined in the file.
2021-12-12 23:42:38 +00:00
dmiller
2cea59aca0 Allow cleanup of netutil's interfaces cache 2021-12-12 23:42:38 +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
fda782cafe Catch most likely editor munges of hyphens in options. See #2335 2021-08-16 21:02:46 +00:00
dmiller
042ddd33b4 Get runtime version of OpenSSL, not header version. 2021-07-28 20:52:01 +00:00
dmiller
e876b37787 Remove an unused variable 2021-07-26 18:43:18 +00:00
dmiller
d4ceb17a8d Use getaddrinfo instead of gethostbyname for FTP bouncescan 2021-07-22 17:19:12 +00:00
dmiller
7bf0a7f016 Remove/change some text to describe Npcap, not WinPcap 2021-07-21 22:42:46 +00:00
dmiller
169dc44b73 Allow --host-timeout=0 to override the timeout of -T5. 2021-05-13 21:57:14 +00:00
dmiller
a889c3ebe0 Be clear about which max-scan-delay options are set with -T4 and -T5 2021-05-13 21:57:13 +00:00
dmiller
14c7f87d6f XML output: include host times and a flag if the host timed out 2021-05-07 22:08:44 +00:00
dmiller
f17fa67008 Avoid copying script results; store pointers instead. 2021-04-29 17:52:24 +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
fyodor
7bd0318e3d slight wording change. Fixes #2261. 2021-03-07 03:29:16 +00:00
dmiller
ef2bafb09c Report system error message when fopen fails 2020-12-28 17:51:16 +00:00
nnposter
27b9a90f3e Document Nmap option --noninteractive. See #1152 2020-12-07 00:52:53 +00:00
dmiller
0de714e8d3 New option --unique to prevent scanning same address twice. See #2180 2020-11-15 04:57:44 +00:00
dmiller
74296582e2 Hide a minor warning behind -v. Fixes #2166 2020-10-30 14:07:02 +00:00
dmiller
ee6bc18844 Only warn about protocol specs in port list with -p. Fixes #2135 2020-10-06 18:44:12 +00:00
dmiller
ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +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
9b113b03be Add a requested feature 2020-09-10 22:02:11 +00:00
dmiller
3d382bdf17 New option --discovery-ignore-rst. Closes #1616 2020-08-31 15:20:49 +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
210adf941e Remove nmap-update
This feature was never publicly released, and has not been distributed
in our binary builds for a couple versions now. It needed to be removed
in order to reduce the number of places Nmap looks for data files. See #2051
2020-08-27 19:13:31 +00:00
dmiller
bdc676238f Fix --resume from IPv6 scans 2020-07-13 16:10:00 +00:00
dmiller
ee32b56ebb Comment some empty blocks. #1834 2019-12-25 20:01:18 +00:00
dmiller
8192ce2b6c Avoid using global names as function params. #1834 2019-12-25 20:01:14 +00:00
dmiller
e356ad1123 Add thread-safe wrapper for ctime. 2019-12-20 20:53:32 +00:00
dmiller
4a1c9424d3 Replace localtime calls with thread-safe alternative. See #1834 2019-12-15 05:05:57 +00:00
dmiller
3a744a85c2 Check o.debugging *after* parsing options, otherwise it's always false. 2019-10-30 23:34:34 +00:00
dmiller
7d7f0672d2 Use 64-bit file sizes when resuming scans. See #1742 2019-09-16 16:33:04 +00:00
nnposter
635675b143 Reduced resume argument buffer back to 4K
This will align it with arg_parse() in utils.cc
2019-07-14 16:54:55 +00:00
nnposter
4e6fef4a0d Increases resume command line buffer. Closes #1659 2019-07-14 16:15:45 +00:00
dmiller
23ee017b95 Check for WSL and warn, suggest native Windows build of Nmap. 2019-07-08 16:12:08 +00:00
dmiller
a668cdb9c7 Remove some unused windows headers and silence warnings 2019-05-29 16:39:05 +00:00
dmiller
d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
dmiller
8962c827e1 Avoid crashing --version when Npcap can't be loaded (missing) 2019-04-08 14:58:54 +00:00
dmiller
b1efd74249 Warn for raw scan options without needed privileges 2018-11-29 20:27:05 +00:00
dmiller
3a240371fc Require 'options' to -s* and -P* to be joined to them, e.g. not '-s SUV' 2018-11-27 18:12:43 +00:00