mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
New tableaux library containing table auxiliary functions.
This commit is contained in:
@@ -2,6 +2,7 @@ local mssql = require "mssql"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
local table = require "table"
|
||||
local tableaux = require "table"
|
||||
|
||||
-- -*- mode: lua -*-
|
||||
-- vim: set filetype=lua :
|
||||
@@ -177,7 +178,7 @@ local function process_instance( instance )
|
||||
end
|
||||
|
||||
for k, v in pairs(dbs.rows) do
|
||||
if ( not( stdnse.contains( done_dbs, v[1] ) ) ) then
|
||||
if ( not( tableaux.contains( done_dbs, v[1] ) ) ) then
|
||||
local query = [[ SELECT so.name 'table', sc.name 'column', st.name 'type', sc.length
|
||||
FROM %s..syscolumns sc, %s..sysobjects so, %s..systypes st
|
||||
WHERE so.id = sc.id AND sc.xtype=st.xtype AND
|
||||
|
||||
Reference in New Issue
Block a user