mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
@@ -6,6 +6,8 @@ o Fixed an issue where TCP Connect scan (-sT) on Windows would fail to open any
|
||||
o [NSE] Fixed DNS TXT record parsing which caused asn-query to fail in Nmap
|
||||
7.80 and later. [David Fifield, Mike Pattrick]
|
||||
|
||||
o [NSE][GH#2727][GH#2728] Fixed packet size testing in KNX scripts [f0rw4rd]
|
||||
|
||||
Nmap 7.94 [2023-05-19]
|
||||
|
||||
o Zenmap and Ndiff now use Python 3! Thanks to the many contributors who made
|
||||
|
||||
@@ -93,7 +93,7 @@ local knxParseSearchResponse = function(ips, results, knxMessage)
|
||||
end
|
||||
|
||||
local message_format = '>B c1 c4 I2 BBB c1 I2 c2 c6 c4 c6 c30 BB'
|
||||
if #knxMessage - pos + 1 < string.packlen(message_format) then
|
||||
if #knxMessage - pos + 1 < string.packsize(message_format) then
|
||||
stdnse.debug1("Message too short for KNX message")
|
||||
return
|
||||
end
|
||||
|
||||
@@ -56,7 +56,7 @@ local knxParseDescriptionResponse = function(knxMessage)
|
||||
end
|
||||
|
||||
local message_format = '>BBB c1 I2 c2 c6 c4 c6 c30 BB'
|
||||
if #knxMessage - pos + 1 < string.packlen(message_format) then
|
||||
if #knxMessage - pos + 1 < string.packsize(message_format) then
|
||||
stdnse.debug1("Message too short for KNX message")
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user