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

2133 Commits

Author SHA1 Message Date
dmiller
b2ebc18360 NSEdoc fixes 2025-03-13 18:13:21 +00:00
dmiller
91af22e54b Update latest TLS identifiers from IANA 2025-03-06 21:26:52 +00:00
nnposter
65e0368740 Use the same pipeline request timeout consistently across connections 2024-12-01 15:08:42 +00:00
nnposter
c98b77bd65 Preserve global pipeline connection options. Closes #2941 2024-12-01 14:36:47 +00:00
dmiller
6e3d70ff3f dicom.lua: use length-prefixed string packing 2024-11-13 19:15:13 +00:00
dmiller
274ecc0248 simplify a loop 2024-11-13 19:15:13 +00:00
dmiller
d21a4ee4ce Correctly pack TCP payload size for dns.lua 2024-11-13 19:15:12 +00:00
dmiller
82586d6327 Remove unused functions from snmp.lua 2024-11-12 20:05:58 +00:00
dmiller
fdf5a2d7e9 Configurable retries for snmp.lua 2024-11-12 20:05:57 +00:00
dmiller
10321be656 snmp.lua: add configurable timeout 2024-11-12 20:05:57 +00:00
dmiller
2d43280b16 NSE libssh2 bindings: allow exec without pty 2024-11-11 21:07:01 +00:00
dmiller
79b35dcb04 Add binding for libssh2_userauth_publickey_frommemory 2024-10-03 19:18:13 +00:00
dmiller
325a4f680c http.lua parse_redirect support URL params 2024-10-03 19:18:12 +00:00
nnposter
28e47f9361 Collapse Packet.ether_parse() into the constructor.
It was called from there anyway and never called on its own from elsewhere.
Furthermore, its documentation did not match its behavior.
2024-08-25 23:25:18 +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
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
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
4b28defac6 Fix UDP checksum for IPv6 in packet.lua 2024-06-13 17:45:10 +00:00
dmiller
94d6c605bb Fix get_script_interfaces: was crashing when filter function returned false 2024-06-13 17:45:08 +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
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
296d8bd1e7 Fix NSEdoc typo: 'inet6' is the address family, not 'ipv6' 2024-06-03 19:00:28 +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
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
d59de990f2 Fix NSEdoc: new_socket option based on current address family 2024-05-21 18:49:37 +00:00
dmiller
c4a4e0db45 Add 4 scripts from the DINA Community 2024-04-11 16:02:48 +00:00
dmiller
b7ee15c186 Add ssh banner to ssh-auth-methods 2024-03-27 19:51:37 +00:00
dmiller
4089b69ec0 Update MS SQL server fingerprints 2024-03-18 18:19:21 +00:00
nnposter
96dcf4e9ed Remove various "the the" repeats. Closes #2804 2024-03-16 01:16:34 +00:00
dmiller
cc5759a6d2 Correctly decode MySql error packets. 2024-01-29 18:31:38 +00:00
dmiller
034ea73ce3 Fix EdDSA in default TLS 1.2 signature algorithms. Closes #2766 2024-01-29 18:31:36 +00:00
dmiller
66f43184f6 Strip carriage returns from unpwdb input files 2024-01-19 21:54:09 +00:00
dmiller
1a7a96274a Avoid format-string bugs. Fixes #2634 2023-07-20 17:24:16 +00:00