mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Avoid unintentional passing of insert position from string.unpack
Fixes #1706
This commit is contained in:
@@ -8,6 +8,9 @@ o [Windows] Add support for the new loopback behavior in Npcap 0.9983. This
|
|||||||
Adapter to be installed, which was a source of problems for some users.
|
Adapter to be installed, which was a source of problems for some users.
|
||||||
[Daniel Miller]
|
[Daniel Miller]
|
||||||
|
|
||||||
|
o [NSE][GH#1706] VNC handshakes were failing with insert position out of bounds
|
||||||
|
error. [nnposter]
|
||||||
|
|
||||||
o [NSE][GH#1720] Function marshall_dom_sid2 in library msrpctypes was not
|
o [NSE][GH#1720] Function marshall_dom_sid2 in library msrpctypes was not
|
||||||
correctly populating ID Authority. [nnposter]
|
correctly populating ID Authority. [nnposter]
|
||||||
|
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ VNC = {
|
|||||||
end
|
end
|
||||||
|
|
||||||
for i=1, vncsec.count do
|
for i=1, vncsec.count do
|
||||||
table.insert( vncsec.types, string.unpack("B", tmp, i) )
|
table.insert( vncsec.types, (string.unpack("B", tmp, i)) )
|
||||||
end
|
end
|
||||||
self.vncsec = vncsec
|
self.vncsec = vncsec
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user