mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +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:
parent
21ba2011a4
commit
f91c3d0136
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue