dmiller
92e2c5f2aa
Simplify decoy address resolution
2025-06-17 21:50:11 +00:00
dmiller
a600528532
Set ss_family when generating random decoys. Fixes #2757 .
2025-06-17 21:50:10 +00:00
dmiller
75f3f97763
Skip extension header values as protocol numbers. Fixes #2899
2025-06-17 18:07:01 +00:00
dmiller
b05b0b04ec
Use ISO 8601 timezone, avoid encoding problems
2025-05-08 17:40:53 +00:00
dmiller
6db5c9cb85
Bump copyright date
2025-02-26 17:44:43 +00:00
dmiller
390e0266db
Consolidate private IP checking. Add IPv6.
2025-01-16 23:00:13 +00:00
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