Commit Graph

13818 Commits

Author SHA1 Message Date
dmiller 248fe810c7 Get runtime version of libdnet if possible 2026-09-25 16:04:15 +00:00
dmiller bb69aeafb5 Propagate Nsock test failure 2026-09-25 16:04:14 +00:00
dmiller a2f996605c Update libdnet to 1.18.2 2026-09-24 18:30:14 +00:00
dmiller c6af16ff97 Fix crash in proxy_node_new when proxychain string has consecutive commas 2026-09-24 18:30:10 +00:00
nnposter 0cef34fa47 Avoid shifting into the sign bit. Fix #3514 2026-09-23 23:51:12 +00:00
nnposter 843315b8f5 Use the correct test order. Close #3513 2026-09-23 21:38:54 +00:00
dmiller b218bfc230 Fix off-by-one in TCP Option vectorization
Effect was potential mischaracterization of OS with 17 TCP options, due
to option type of 17th overwriting the length of the 1st.
2026-09-23 21:21:57 +00:00
dmiller f3147377ca Fix a couple of format string issues 2026-09-23 19:15:30 +00:00
dmiller 6b9e1aea01 Mark log functions as printf-like 2026-09-23 19:15:29 +00:00
dmiller 24229f2e65 Avoid re-downloading or clobbering build dependencies on Windows 2026-09-22 19:28:38 +00:00
dmiller f06312d885 Silence a few MS CRT warnings 2026-09-22 19:28:38 +00:00
nnposter d70c2d9fd1 Update links to OMP2 documentation 2026-09-22 02:44:42 +00:00
nnposter 4a609cd770 Streamlined code for OMP2 credential handling 2026-09-22 02:39:16 +00:00
dmiller e135983b21 Portability fixes for ndifftest.py 2026-09-19 18:54:50 +00:00
dmiller a9171ad0de Fix ndifftest.py to work with Python 3.12+
Fixes #3468. Closes #3471. Code by @gargamel778
2026-09-19 18:54:49 +00:00
dmiller 3b71f8059f Ensure ProFTPD service match compares the entire response. Fixes #3491 2026-09-19 18:25:14 +00:00
dmiller 2b15708362 Avoid duplicate requests in vulners 2026-09-19 15:47:02 +00:00
dmiller 3da280ba11 Fix version truncation. Fixes #3492. Closes #3493 2026-09-19 15:47:01 +00:00
dmiller 8a11c8c204 Use portable format spec for 64-bit int 2026-09-19 02:26:43 +00:00
dmiller 24a8f46197 Remove unused variable 2026-09-19 02:26:42 +00:00
dmiller 9369f7a9df Fix mismatch between switch condition and case size
On macOS (and probably other BSDs), the sa_family member is 8 bits, so
comparing with 0xffff and other 16-bit values overflows. Cast to a wider
type to resolve the issue.
2026-09-19 02:26:42 +00:00
dmiller 6e5eb5f3a9 Add/configure openssl for macos and ubuntu-arm64 autobuilds 2026-09-19 02:26:41 +00:00
dmiller 469fff8ccd Use signal-safe _exit() in signal handler 2026-09-19 02:26:40 +00:00
dmiller 4d67c06d2e Signal -k children individually, not the process group. Fixes #3489
Ncat inherits the process group of whatever launched it, so the
kill(0, ...) that forwarded a termination signal also terminated the
caller: a shell script or test harness that starts a listener was taken
down with it.  Track the PIDs forked for connections and signal those
instead, releasing a slot when the child is reaped. SIGCHLD is blocked
while the signal is forwarded so that a PID cannot be recycled in the
middle of it, and the children restore the default dispositions so that
they terminate rather than forward it again. Commit by @MRX-72
2026-09-19 02:26:40 +00:00
dmiller 0d53946b3f Catch configparser exceptions in ProfileEditor. Fixes #3497 2026-09-19 02:26:39 +00:00
dmiller e855fb0096 Upgrade Lua to 5.4.9 2026-09-17 18:02:26 +00:00
dmiller ce22c51169 Restore libpcre/NMAP_MODIFICATIONS 2026-09-17 16:38:25 +00:00
dmiller f2698d74fe Upgrade libpcre2 to 10.48 2026-09-17 16:36:31 +00:00
dmiller 6e868eba03 Upgrade libpcap to 1.10.7 2026-09-17 16:36:26 +00:00
dmiller ac07518423 Generate .PHONY targets 2026-09-16 18:47:23 +00:00
dmiller 8ad239dbe4 Fix build-fuzz target dependencies 2026-09-16 18:47:23 +00:00
dmiller 438b81e071 Fix build for OpenSSL < 1.1 2026-09-16 18:47:22 +00:00
dmiller 9d21ad6a63 Fix unused variable warnings 2026-09-16 18:47:21 +00:00
dmiller 7e6037360c fix signedness comparison warnings 2026-09-16 18:47:21 +00:00
dmiller 58b0649c64 Add missing header (non-SSL build) 2026-09-16 18:47:20 +00:00
dmiller c691f47baf Use receive_buf to simplify receiving a known length 2026-09-16 18:47:19 +00:00
dmiller 6e7b60c83d check for SOA record to end AXFR response 2026-09-15 19:34:19 +00:00
dmiller 9d9f7c2ed7 Let dns.query() use host table, not just IP address for host option 2026-09-15 19:34:18 +00:00
dmiller 890a181837 NSE DNS over TCP: limit to receiving one message 2026-09-15 19:34:17 +00:00
dmiller 5ac65cacc9 Do not attempt recursion for version.bind/id.server lookups 2026-09-15 19:34:16 +00:00
dmiller cd6ddce888 Throw error on MSRPC unmarshall problems 2026-09-14 17:42:08 +00:00
dmiller 5fda523bc0 Ensure OSPF header length is reasonable 2026-09-14 17:42:08 +00:00
dmiller e7f92e5ade Fix some EIGRP parsing based on RFC 2026-09-14 17:42:07 +00:00
dmiller c6ae85544d Limit db2 packet to size needed for info struct 2026-09-14 17:42:06 +00:00
dmiller f0e4ac576a Limit rpc.lua fragment to what can be received in one socket timeout 2026-09-14 17:42:06 +00:00
dmiller e345f159b3 Add a function to check for EOF on socket 2026-09-14 17:42:05 +00:00
dmiller 64bc1a76e7 Fix warning about mismatched signedness in comparison 2026-09-14 17:42:04 +00:00
dmiller 9160335bc4 Fix C4098: void return type function returning a value 2026-09-14 17:42:04 +00:00
dmiller 2dea08f9ed Compare buffer addresses modulo buffer size 2026-09-14 17:42:03 +00:00
dmiller 68a895bd6d Check for end of string 2026-09-14 17:42:02 +00:00