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

13036 Commits

Author SHA1 Message Date
nnposter
a97b4c83aa Add missing [NSE] tags to CHANGELOG 2024-08-25 17:53:43 +00:00
nnposter
2646596f0f Resolves ether_type incompatibility in packet.Frame
Frame:new() was populating the value as a 16-bit integer while
Frame:build_ether_frame() was expectng a two-byte string
Ethertype constants from various locations have been migrated to packet.lua
2024-08-25 17:43:17 +00:00
nnposter
5e35bc0952 Rectify shadowing of the packet module 2024-08-25 17:06:11 +00:00
nnposter
c661b0af64 Implement support for arbitrary separator in stdnse.tohex()
Closes #2901, fixes #2744, closes #2745
2024-08-25 13:27:58 +00:00
nnposter
a1ba7b7672 Prevent unintentional filename expansion 2024-08-24 21:38:13 +00:00
nnposter
5d7012bab6 Correct detection of end-of-options in the DHCP parser, which rectifies
false warning "Unexpected end of options" on valid packets.
2024-08-22 03:15:12 +00:00
nnposter
6adb9d3609 Correct the documentation for dhcp.dhcp_parse(), as it is explicitly
wired to process only DHCP replies. Any other DHCP packet types are rejected.
2024-08-22 03:01:54 +00:00
nnposter
95807a0aa7 Add a missing table iterator. See #2891, see #2892 2024-08-17 18:53:53 +00:00
nnposter
cefa051cfc Fix various typos in comments. Closes #2888 2024-08-16 02:40:23 +00:00
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