nnposter
3d99250c83
Allow crypto IVs with leading zero. Close #2928 , fix #2640
2024-09-13 21:36:46 +00:00
nnposter
51b5a50004
Apply CHANGELOG entry tags consistently
2024-09-13 21:31:38 +00:00
nnposter
66bbf3dc96
Rectify heap corruption due to an uninitialized pointer in the libssh2 wrapper
...
Close #2925 , close #2917
2024-09-07 17:43:12 +00:00
nnposter
36ba840489
Fix broken loading of SSH public keys from a file. Close #2919 , see #2917
2024-09-07 16:40:14 +00:00
nnposter
5039f7efca
Add configure test for presence of python setuptools. Close #2915 , see #2913
2024-09-07 02:40:36 +00:00
dmiller
75f6b387fe
Don't call WSACleanup if WSAStartup wasn't called
2024-09-04 18:41:44 +00:00
nnposter
fbadb5256b
Add a new username prompt to telnet-brute. Closes #2629
2024-09-02 23:48:25 +00:00
nnposter
bef25962e7
Improve tests for finding libpcre2. Close #2907 , see #2851 , see #2913
...
- Include definition of PCRE2_CODE_UNIT_WIDTH to allow the header test
to compile correctly
- Add description to the definition of HAVE_PCRE2_PCRE2_H
to prevent an autoheader missing template error
2024-09-01 20:36:02 +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
ec17ad7e02
Remove redundant code, already part of Frame:new()
2024-08-25 18:27:05 +00:00
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