1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 21:51:28 +00:00
Commit Graph

537 Commits

Author SHA1 Message Date
dmiller
b63eea5eea devname2ipaddr now requires address family, so correct addr is returned. 2024-06-20 20:14:30 +00:00
dmiller
a908872dae Don't scan infinite random when no targets specified 2024-06-05 16:09:58 +00:00
dmiller
ccb536f3c2 Use Npcap-specific error messages on Windows for privilege issues. 2024-06-03 19:29:18 +00:00
dmiller
b940270375 Move random address generation to TargetGroup/NetBlock 2024-05-01 22:19:29 +00:00
dmiller
f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller
53752093d7 Fix unprivileged behavior for -PU and others
If not root, fallback to TCP ping from ICMP was incorrectly obliterating
other -P* options without warning, leading to unexpected behavior and
inconsistent error messages (i.e. including -PE would silence all
warnings usually given with -PU)
2023-11-27 23:05:02 +00:00
fyodor
ff92f5bae9 Small usage line clarification 2023-10-06 19:39:28 +00:00
dmiller
5f58debc51 Handle RLIM_INFINITY as socket limit. 2023-09-01 21:12:19 +00:00
dmiller
828ab48764 Upgrade libpcre to PCRE2 10.42. Windows/macOS builds not completed. 2023-06-24 01:53:07 +00:00
dmiller
aedf179178 Catch unsupported -P options for those that don't take a port argument 2023-05-09 14:16:46 +00:00
dmiller
f0ae60142a Deprecate the -PT option (effect the same as -PA) 2023-05-09 14:16:46 +00:00
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