mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix some incorrect conversions from bin to string unpacking
This commit is contained in:
@@ -63,7 +63,7 @@ local function processOptions(data)
|
||||
return false, "Failed to parse options"
|
||||
end
|
||||
else
|
||||
pos, option = string.unpack("B", data, pos)
|
||||
option, pos = string.unpack("B", data, pos)
|
||||
result[option] = result[option] or {}
|
||||
table.insert(result[option], cmd)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user