mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
New tableaux library containing table auxiliary functions.
This commit is contained in:
@@ -2,6 +2,7 @@ local ipOps = require "ipOps"
|
||||
local nmap = require "nmap"
|
||||
local stdnse = require "stdnse"
|
||||
local table = require "table"
|
||||
local tableaux = require "table"
|
||||
|
||||
description = [[
|
||||
Creates a reverse index at the end of scan output showing which hosts run a
|
||||
@@ -101,7 +102,7 @@ postaction = function()
|
||||
|
||||
local results = stdnse.output_table()
|
||||
for proto, ports in pairs(db) do
|
||||
local portnumbers = stdnse.keys(ports)
|
||||
local portnumbers = tableaux.keys(ports)
|
||||
table.sort(portnumbers)
|
||||
for _, port in ipairs(portnumbers) do
|
||||
local result_entries = ports[port]
|
||||
|
||||
Reference in New Issue
Block a user