1
0
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:
nnposter
2016-09-30 20:22:09 +00:00
parent 7128753730
commit 8be2332c54

View File

@@ -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