mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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:
parent
e947e5dedf
commit
528681c04a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue