1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-10 16:39:04 +00:00
Commit Graph

13027 Commits

Author SHA1 Message Date
nnposter
efa0dc36f2 Fix off-by-one overflow in the IP protocol table.
Fixes #2896, closes #2897, closes #2900
2024-08-08 01:31:06 +00:00
nnposter
667527c4b4 Add more GH references to the mssql library fix 2024-07-08 01:39:59 +00:00
nnposter
92995af023 Fix a typo in calling stdnse.format_ouptut(). See #2622 2024-07-04 20:31:02 +00:00
nnposter
a0d24d0518 More corrections of mssql.Helper.GetDiscoveredInstances() always returning a table. Closes #2784 2024-07-04 19:44:51 +00:00
nnposter
596f9c0fe0 Correct mssql.Helper.ConnectEx() parameter documentation 2024-07-04 19:21:04 +00:00
nnposter
40172ca726 mssql.Helper.GetDiscoveredInstances() always returns a table 2024-07-04 19:14:38 +00:00
nnposter
3ab8fc27f8 Correctly handle empty result sets. See #2784 2024-07-04 04:04:49 +00:00
nnposter
29741a6360 Avoid using hard-coded numerical codes. Replace repeated expression with a local variable 2024-07-04 03:21:53 +00:00
nnposter
f4b092259c Correct the test for an empty non-list table. See #2784 2024-07-04 02:41:11 +00:00
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