mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
merge soc07 r4989 - applied mathew boyle's patch for print_debug
This commit is contained in:
@@ -50,7 +50,7 @@ action = function(host, port)
|
||||
if title ~= nil then
|
||||
result = string.gsub(title , "[\n\r\t]", "")
|
||||
if string.len(title) > 50 then
|
||||
nmap.print_debug_unformatted("showHTMLTitle.nse: Title got truncated!");
|
||||
nmap.print_debug("showHTMLTitle.nse: Title got truncated!");
|
||||
result = string.sub(result, 1, 62) .. "..."
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user