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

182 Commits

Author SHA1 Message Date
dmiller
5d629274a4 Simplify using a local pointer 2025-07-11 17:08:57 +00:00
dmiller
de03f68d7d Ensure DLT_EN10MB before calling arpping. Fixes #3148 2025-07-10 17:38:11 +00:00
dmiller
42170b067f Remove unneeded g_has_npcap_loopback 2025-04-16 00:00:05 +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
2184f98858 Consolidate cases: arpping is used for both IPv4 and IPv6 2024-09-27 19:20:40 +00:00
dmiller
f43fdaa1d7 Use no-route instead of unknown-response for ARP failure 2024-09-20 17:25:59 +00:00
nnposter
cefa051cfc Fix various typos in comments. Closes #2888 2024-08-16 02:40:23 +00:00
dmiller
1ec9caea3b Replace nested MAX/MIN macros with box() function 2024-06-27 19:36:05 +00:00
dmiller
a908872dae Don't scan infinite random when no targets specified 2024-06-05 16:09:58 +00:00
dmiller
03c9f34959 Fix sign and width issues around max_ips_to_scan. Fixes #2838. Fixes #2836 2024-06-04 18:22:17 +00:00
dmiller
d70f66a761 Use mass_dns to do forward lookups. Fixes #1451 2024-05-01 22:19:32 +00:00
dmiller
cc2b798375 Make NetBlockRandomIPv4 responsible for tracking number of random addrs 2024-05-01 22:19:31 +00:00
dmiller
5829b53691 Move log_bogus_target() to output.cc 2024-05-01 22:19:31 +00:00
dmiller
9c15b1ed55 Make HostGroupState in charge of expression parsing 2024-05-01 22:19:30 +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
6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +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
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
1fd272f8dd const all the things! 2021-04-23 20:37:41 +00:00
dmiller
0de714e8d3 New option --unique to prevent scanning same address twice. See #2180 2020-11-15 04:57:44 +00:00
dmiller
ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller
bdc676238f Fix --resume from IPv6 scans 2020-07-13 16:10:00 +00:00
dmiller
d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
dmiller
824f9dcb2f Rearrange declarations to put all addrset functions in nbase.h, hide struct addrset internals. 2018-11-01 04:35:00 +00:00
dmiller
27807aadb4 Straighten out some headers and the (struct) addrset type 2018-11-01 04:34:59 +00:00
dmiller
d03b10ea36 Deprecate/disable -PR option as it was not really being checked.
Fixes #1361
2018-10-24 03:55:42 +00:00
dmiller
9a6f9c5abe Replace redundant checks with a call to o.RawScan() 2018-10-24 03:55:41 +00:00
dmiller
59efc272ec Don't allow -Pn to override a MAC address failure with --send-eth 2018-08-17 03:02:40 +00:00
dmiller
42661c4447 Avoid scanning targets we can't reach anyway.
See d8ff55b72e (commitcomment-30112744)
2018-08-16 22:38:12 +00:00
dmiller
16193bc5e8 Don't quit if no MAC can be found, just mark the target as down. Unusual case, see #1293 2018-08-05 20:22:43 +00:00
fyodor
ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
dmiller
a66e75173e Keep resolved, scanned addresses separate from unscanned addresses. 2017-08-07 14:25:13 +00:00
dmiller
817dd2a944 Move TargetGroup class to TargetGroup files; make NetBlock class private 2017-08-06 03:20:40 +00:00
dmiller
675ae460b3 Move NewTargets class to its own h/cc files 2017-08-05 21:11:00 +00:00
dmiller
0ef9cc7f83 Correct a comment: there has only been one target_needs_new_hostgroup since 2012 2017-08-05 20:49:53 +00:00
dmiller
cde6853481 Simplify get_next_host and name resolution. 2017-08-04 02:05:20 +00:00
dmiller
d5e7649829 Simplify AF checking for literal IP addresses. 2017-08-03 22:05:18 +00:00
dmiller
9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller
e813de759a Reduce use of utils.h for error functions 2017-04-20 22:39:08 +00:00
dmiller
86edcb0e5b Remove some unused includes 2017-04-19 19:06:47 +00:00
dmiller
891c3be3b9 remove tcpip.h from other headers' includes 2017-04-19 13:53:57 +00:00
fyodor
4bd67aa2fb Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml 2016-12-14 00:12:23 +00:00
abhishek
9d288db7fd Add support for decoys in IPv6 closes #433 and fixes #98 2016-08-17 06:09:09 +00:00
tudor
3ba4a87c75 o.ping_group_sz can be increased above 4096 with a higher --min-hostgroup value, calls to target_needs_new_hostgroup limited as much as possible 2016-08-09 06:12:17 +00:00
dmiller
67fd101b01 Enable Nmap, Nping to use Npcap over Winpcap if available. 2016-06-14 14:16:46 +00:00
dmiller
6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller
fcae4fa15d Fix build failures under --without-liblua 2015-10-26 16:16:02 +00:00