mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
o Updated zoneTrans.nse to replace length bytes in returned domain names to
periods itself rather than relying on NSE's old behavior of replacing non- printable characters with periods. Thanks to Rob Nicholls for reporting the problem. [Kris]
This commit is contained in:
@@ -83,6 +83,11 @@ o The NSE Comm library now defaults to trying to read as many bytes as are
|
||||
given. Thanks to Brandon for reporting a problem which he noticed in the
|
||||
dns-test-open-recursion script. [Kris]
|
||||
|
||||
o Updated zoneTrans.nse to replace length bytes in returned domain names to
|
||||
periods itself rather than relying on NSE's old behavior of replacing non-
|
||||
printable characters with periods. Thanks to Rob Nicholls for reporting the
|
||||
problem. [Kris]
|
||||
|
||||
o Changed the order preference of timing ping propes. [Michael]
|
||||
|
||||
o Enabled nmap to switch between multiple types of timing pings during port
|
||||
|
||||
@@ -100,11 +100,16 @@ function parse_domain(data, offset)
|
||||
end
|
||||
|
||||
-- RFC 1035 format name
|
||||
for i=0, x do
|
||||
for i=0, x-1 do
|
||||
offset = offset + 1
|
||||
record = record .. string.char(string.byte(data, offset))
|
||||
end
|
||||
|
||||
offset = offset + 1
|
||||
|
||||
-- replace length byte with a period
|
||||
record = record .. '.'
|
||||
|
||||
x = string.byte(data, offset)
|
||||
ptr = bto16(data, offset)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user