mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
o [NSE] Applied patch from Daniel Miller that fixes bug in several scripts and
libraries http://seclists.org/nmap-dev/2012/q2/593 [Daniel Miller]
This commit is contained in:
@@ -746,7 +746,7 @@ end
|
||||
-- @param fqdn containing the fully qualified domain name
|
||||
-- @return encQ containing the encoded value
|
||||
local function encodeFQDN(fqdn)
|
||||
if ( not(fqdn) or #fqdn == 0 ) then return end
|
||||
if ( not(fqdn) or #fqdn == 0 ) then return string.char(0) end
|
||||
|
||||
local parts = stdnse.strsplit("%.", fqdn)
|
||||
local encQ = ""
|
||||
|
||||
Reference in New Issue
Block a user