mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
Fixes unpacking of the Java serialization magic marker. This complements the change in r36149.
This commit is contained in:
@@ -883,7 +883,7 @@ function RmiDataStream:readReturnData(dis)
|
||||
return doh("Not enough data received")
|
||||
end
|
||||
|
||||
local status, magic = dis:readShort() -- read magic
|
||||
local status, magic = dis:readUnsignedShort() -- read magic
|
||||
local status, version = dis:readShort() -- read version
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user