mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Fixed global declarations in smb.lua
This commit is contained in:
parent
8fdda62255
commit
44b46bb148
1 changed files with 2 additions and 2 deletions
|
|
@ -2162,8 +2162,8 @@ local function receive_transaction2(smb)
|
|||
data_offset = data_offset - 0x20 - 0x01 - #parameters - 0x02;
|
||||
|
||||
-- I'm not sure I entirely understand why the '+1' is here, but I think it has to do with the string starting at '1' and not '0'.
|
||||
function_parameters = string.sub(data, parameter_offset + 1, parameter_offset + parameter_count)
|
||||
function_data = string.sub(data, data_offset + 1, data_offset + data_count)
|
||||
local function_parameters = string.sub(data, parameter_offset + 1, parameter_offset + parameter_count)
|
||||
local function_data = string.sub(data, data_offset + 1, data_offset + data_count)
|
||||
|
||||
local response = {}
|
||||
response['parameters'] = function_parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue