mirror of
https://github.com/nmap/nmap.git
synced 2026-01-10 16:39:04 +00:00
Added a minor patch contributed by the Nepenthes Development Team. It changes the 'alloc hint' argument to be the expected value, which happens to be the size of the arguments, instead of the static value I was using. No target I've ever seen cares about the value of this argument, but this brings us slightly more in line with the standard
This commit is contained in:
@@ -311,7 +311,7 @@ local function call_function(smbstate, opnum, arguments)
|
||||
0x18 + string.len(arguments), -- Frag length (0x18 = the size of this data)
|
||||
0x0000, -- Auth length
|
||||
0x41414141, -- Call ID (I use 'AAAA' because it's easy to recognize)
|
||||
0x00000038, -- Alloc hint
|
||||
0x0 + string.len(arguments), -- Alloc hint
|
||||
0x0000, -- Context ID
|
||||
opnum, -- Opnum
|
||||
arguments
|
||||
|
||||
Reference in New Issue
Block a user