mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid unintentional passing of insert position from string.unpack
Fixes #1706
This commit is contained in:
parent
c491143358
commit
845bed4c2b
2 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
[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
|
||||
correctly populating ID Authority. [nnposter]
|
||||
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ VNC = {
|
|||
end
|
||||
|
||||
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
|
||||
self.vncsec = vncsec
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue