mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
merge soc07 r4989 - applied mathew boyle's patch for print_debug
This commit is contained in:
parent
7652ebeefb
commit
e988f4878d
3 changed files with 18 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue