mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Take out "other" in "X other hosts had status Y" in http-vhosts.nse. It
looks funny when it's the only line and I think it still looks fine this way when there are multiple lines.
This commit is contained in:
@@ -499,7 +499,7 @@ local collapse = function(result)
|
||||
local limit = tonumber(stdnse.get_script_args("http-vhosts.collapse")) or 10
|
||||
for code, group in next, result do
|
||||
if #group > limit then
|
||||
collapsed[#collapsed + 1] = #group .. " other names had status " .. code
|
||||
collapsed[#collapsed + 1] = #group .. " names had status " .. code
|
||||
else
|
||||
for _,name in ipairs(group) do
|
||||
collapsed[#collapsed + 1] = name
|
||||
|
||||
Reference in New Issue
Block a user