dmiller
5ae1b0fda2
Update static data in libnetutil
2022-10-21 21:15:46 +00:00
dmiller
495e220120
Remove libnetutil from Ncat dependencies
2022-10-21 21:15:45 +00:00
nnposter
cb7edf43ed
Fixes URL typo. Closes #2545
2022-10-20 22:01:21 +00:00
dmiller
bda95e0437
Fix edge cases: SSL renegotiation, exec programs
2022-10-14 00:58:24 +00:00
dmiller
1251467f88
Detect send errors and shut down the connection when they happen
2022-10-14 00:58:23 +00:00
dmiller
c87ccb2ea5
Pass a pointer, not a copy of struct fdinfo
2022-10-14 00:58:23 +00:00
dmiller
349da3b98a
Make removing fd from fd_list_t a little more efficient
2022-10-14 00:58:22 +00:00
dmiller
6a9acb1f1a
Make sure Unix socket path is null-terminated, per unix(7)
2022-10-14 00:58:22 +00:00
dmiller
ca691d2789
Simplify/unify target string representation
2022-10-14 00:58:21 +00:00
dmiller
84e2e9be52
Add DTLS tunnel scanning to -sV
2022-10-10 20:48:15 +00:00
dmiller
4e6c8feb15
Enable multiple UDP connections in listen mode. Fixes #1223
2022-10-10 20:48:14 +00:00
dmiller
1641a291e9
Fix a double-free due to uninitialized should_free in bignum_data_t
2022-10-06 17:28:39 +00:00
dmiller
c75665f88e
Update some syntax and note some areas of further need in Japanese translation
2022-10-04 20:22:19 +00:00
dmiller
ac1affb18e
Update Japanese manpage translation. Closes #2507
2022-10-04 20:22:18 +00:00
dmiller
350d9a23f7
Silence compiler warnings about returning value from void function. Fixes #2529
2022-09-30 20:27:02 +00:00
dmiller
914cd2b272
Fix stdnse.tohex not adding separators. Fixes #2531
2022-09-30 20:03:37 +00:00
dmiller
2b4b822557
Use TCP receive buffer, not manual one, for socks proxy handshake.
...
Should address this Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969314
Data read during SOCKS handshake was being written immediately to
STDOUT, which meant it was not passed to any program started with --exec
and friends.
2022-09-30 17:44:33 +00:00
dmiller
32eaa828b7
Faster RPC number lookup
2022-09-29 22:19:28 +00:00
dmiller
d81ead72dc
New C backend for datafiles.lua; avoid copies of large data sets
2022-09-29 22:19:28 +00:00
dmiller
9d0e5ac2b9
Avoid warning about missing legacy provider unless debugging. Fixes #2532
2022-09-29 22:19:27 +00:00
dmiller
b5dd2956dd
Check for sd > FD_SETSIZE before it is unrecoverable. Fixes #1857
2022-09-29 00:13:10 +00:00
dmiller
de9f84d080
Get better error message. See #2179
2022-09-28 21:40:57 +00:00
dmiller
fc7513cae6
Add service name for 27350/tcp. Fixes #2103
2022-09-28 21:40:57 +00:00
dmiller
894bfd4976
New script tftp-version. Closes #548
2022-09-28 20:52:47 +00:00
dmiller
ed19887f41
More efficiently check if any non-stdin fds are in the call to select on Windows
2022-09-23 21:42:00 +00:00
dmiller
8dbefeba86
Don't wait around if STDIN has data. Closes #2426
2022-09-23 21:41:59 +00:00
dmiller
b092262a22
Clarify docs around timing templates [ci skip]
2022-09-23 21:41:58 +00:00
dmiller
276699f877
Update version number in a few places [ci skip]
2022-09-23 21:41:58 +00:00
dmiller
10862c46e8
Don't bother with interactive input if we can't open the TTY. See #2042
2022-09-23 14:49:40 +00:00
dmiller
6fd0261731
Also check fd_set operations on Windows. Fixes #455
2022-09-23 01:35:09 +00:00
dmiller
5e39a04749
Use Lua's built-in utf8 lib for unicode.lua ops
2022-09-23 01:35:09 +00:00
dmiller
a3c725acd4
Prevent smb-flood from using all sockets. Fixes #947
2022-09-22 20:16:44 +00:00
dmiller
d2280e0911
Ncat can proxy IPv6 to IPv4 and back. Update tests.
2022-09-22 01:35:20 +00:00
dmiller
bf14c06d4c
Some useful print statements for testing
2022-09-22 01:35:20 +00:00
dmiller
aa0500e9a4
Generate cert for Ncat tests automatically
2022-09-22 01:35:19 +00:00
dmiller
e8271b7070
Prevent system from going to sleep during scans. Fixes #1192
2022-09-21 21:31:14 +00:00
dmiller
e3ab97215d
Handle internationalized domain names (IDN)
2022-09-21 21:03:57 +00:00
dmiller
2f9fde995c
Remove xfail from some tests that were fixed in r36651
2022-09-21 19:17:22 +00:00
dmiller
872f40491a
Be smarter about single argument: if it's clearly not a port, assume it's a target
2022-09-21 19:17:21 +00:00
dmiller
478c5d4f19
Avoid a duplicate -l option in test
2022-09-21 19:17:21 +00:00
dmiller
04c4c70c77
Support decimal integer representation of target addresses. Fixes #375
2022-09-21 01:53:19 +00:00
dmiller
758b6d1792
Remove unimplemented function prototype
2022-09-21 01:53:19 +00:00
dmiller
a3fb546708
Fix proxy parsing to fail on empty string. Fixes #177
2022-09-20 23:37:29 +00:00
dmiller
0afb05b155
Add tests for nsock proxy parsing
2022-09-20 23:37:28 +00:00
dmiller
7eda670f4b
Fix socks4 proxy parsing when target resolves to IPv6
2022-09-20 23:37:28 +00:00
dmiller
1bc5302911
Restore log handler after log tests
2022-09-20 23:37:27 +00:00
dmiller
c236ade401
Increase stress level of tests for nsock
2022-09-20 23:37:26 +00:00
dmiller
e9f3b12e07
Move a useful function to nbase
2022-09-20 23:37:25 +00:00
dmiller
5ae6b75bf4
Note correct order of nsock function calls for proxychains. Fixes #176
2022-09-20 23:37:25 +00:00
dmiller
e319c6d519
Use charpool for service names
...
Small strings have greater malloc alignment overhead which we save
(~300KB) with this method. string_pool was a slight memory savings but
greater computational cost due to memory overhead and insertion
calculation.
2022-09-19 17:51:46 +00:00