1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 06:29:03 +00:00
Commit Graph

13018 Commits

Author SHA1 Message Date
dmiller
c13fff3d56 Fix DNS test for new function template 2024-07-01 16:17:42 +00:00
dmiller
dde9c509ed Allow nsock_iod_get_communication_info() to get latest UDP peer 2024-07-01 16:17:42 +00:00
dmiller
ba4a108868 Fix some bad patterns giving PCRE_ERROR_MATCHLIMIT 2024-07-01 16:17:41 +00:00
dmiller
1ec9caea3b Replace nested MAX/MIN macros with box() function 2024-06-27 19:36:05 +00:00
dmiller
dcb4ba569e Avoid multiple expansions of TIMEVAL_MSEC_SUBTRACT macro within MAX macro 2024-06-27 19:36:04 +00:00
dmiller
f0fab247db Simplify boostScanDelay to make it clear what limits are in place. 2024-06-27 19:36:03 +00:00
dmiller
eb21ac9ea0 Refactor HSS::nextTimeout for efficiency
Avoid function call in macro expansion. Reduce number of struct timeval
assignments.
2024-06-26 21:54:29 +00:00
dmiller
ba249b2d65 Avoid recalculating timeval that doesn't change for life of RateMeter 2024-06-26 21:54:28 +00:00
dmiller
7b20a38099 Minor efficiencies: avoid multiple expansions of function calls in TIMEVAL_* macros 2024-06-26 21:54:28 +00:00
dmiller
136e1c6ed7 Lua 5.4 change: userdata created with 1 uservalue by default. Set to 0 when possible 2024-06-20 20:47:10 +00:00
dmiller
13be028eb1 nse_dnet: try raw Ethernet sends if raw sockets don't work, e.g. Windows 2024-06-20 20:14:31 +00:00
dmiller
a5baf9de0b Consolidate device name checking in nse_dnet.cc 2024-06-20 20:14:31 +00:00
dmiller
b63eea5eea devname2ipaddr now requires address family, so correct addr is returned. 2024-06-20 20:14:30 +00:00
dmiller
32c1272bfa Fix error in targets-sniffer: interface name not set 2024-06-20 20:14:29 +00:00
dmiller
4b28defac6 Fix UDP checksum for IPv6 in packet.lua 2024-06-13 17:45:10 +00:00
dmiller
e82d515416 Correctly observe timeout in broadcast-ping 2024-06-13 17:45:09 +00:00
dmiller
94d6c605bb Fix get_script_interfaces: was crashing when filter function returned false 2024-06-13 17:45:08 +00:00
nnposter
1daf966347 Remove a comment leftover. Fixes #2858 2024-06-13 00:09:39 +00:00
nnposter
8f88a575f4 Fix spelling of "endianness". Closes #2850 2024-06-12 23:42:55 +00:00
dmiller
74b2b6fc05 Update upnp-info: structured output, correct targets added, etc. 2024-06-07 16:34:07 +00:00
dmiller
f43878f0f5 Update dnssd.lua and related scripts
* Structured output
* Fix adding new targets: was adding the multicast address, not the
  discovered unicast address.
* Extract service name and host name from responses
* broadcast-dns-service-discovery now lists services under each unicast
  address instead of under the single multicast/broadcast address.
2024-06-07 16:34:07 +00:00
dmiller
0671064cf9 Consolidate DNS code, fix a few small issues 2024-06-07 16:34:06 +00:00
dmiller
259d296b14 Allow outlib.sorted_by_key to specify sort function 2024-06-07 16:34:05 +00:00
dmiller
a908872dae Don't scan infinite random when no targets specified 2024-06-05 16:09:58 +00:00
dmiller
c6ffdbf7ae Also find pcre2/pcre2.h. Fixes #2851 2024-06-04 20:24:55 +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
e4a4b2854f Fix incorrect capture used in CPE. Fixes #2848 2024-06-03 20:23:05 +00:00
dmiller
ccb536f3c2 Use Npcap-specific error messages on Windows for privilege issues. 2024-06-03 19:29:18 +00:00
dmiller
365792fda1 Add more SSL ports/services 2024-06-03 19:00:34 +00:00
dmiller
74a88c0804 Let ssl-cert grab certs from DTLS services. Fix rules for TCP-only scripts 2024-06-03 19:00:33 +00:00
dmiller
ff0b70f6dd Make comm.lua able to talk DTLS 2024-06-03 19:00:31 +00:00
dmiller
af1b9543f9 Note and be strict about limits of comm.lua with UDP 2024-06-03 19:00:31 +00:00
dmiller
cf445db7b9 Make shortport.ssl match likely DTLS ports 2024-06-03 19:00:30 +00:00
dmiller
633bfe00b3 Allow NSE to connect via DTLS 2024-06-03 19:00:29 +00:00
dmiller
929a29d310 Fix a crash in rpc-grind when scanning a non-RPC service 2024-06-03 19:00:29 +00:00
dmiller
296d8bd1e7 Fix NSEdoc typo: 'inet6' is the address family, not 'ipv6' 2024-06-03 19:00:28 +00:00
dmiller
326f8bb22b Accept targets from CLI even when -iL is used 2024-06-03 19:00:28 +00:00
fyodor
c0e500f453 Regenerate PDF from the fodt using newer libreoffice to avoid false positive flagging by antivirus software (fixes nmap#2856) 2024-06-01 19:40:16 +00:00
dmiller
7b551b5909 Fix #2852: add TLS support to redis.lua, better detection with -sV 2024-05-30 17:57:53 +00:00
dmiller
b6e67f834c Fix #2854: crash if Ndiff exits with error status 2024-05-28 19:30:06 +00:00
dmiller
453f9a7e25 Use stdnse.get_script_interfaces() for all relevant scripts 2024-05-24 19:01:16 +00:00
dmiller
4ee4d9ea27 New utility function: get_script_interfaces() 2024-05-24 19:01:14 +00:00
dmiller
7e9aec6ce6 Fix inaccuracies in NSEdoc for get_interface() and get_interface_info() 2024-05-24 19:01:13 +00:00
dmiller
9ef418af4e Allow lltd-discovery to work in IPv6 mode and add IPv6 addresses 2024-05-21 18:49:39 +00:00
dmiller
881d741dab Remove NSEdoc for newtargets arg, provided by targets.lua instead 2024-05-21 18:49:38 +00:00
dmiller
8dfa9aef41 Note some future IPv6 possibilities 2024-05-21 18:49:38 +00:00
dmiller
41ec64ab14 Enable IPv6 capability for broadcast-bjnp-discover 2024-05-21 18:49:37 +00:00
dmiller
d59de990f2 Fix NSEdoc: new_socket option based on current address family 2024-05-21 18:49:37 +00:00
dmiller
be9c6d96ee Handle ENETDOWN in service scan. Generally do not fatal() on socket errors there. 2024-05-21 18:49:36 +00:00
dmiller
e9ea425f12 Update docs for parallel forward-DNS lookups. 2024-05-16 19:31:48 +00:00