mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Fixed all the modules to give a default name if absent.
Also necessary for the documentation system to know the name of the module.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
-- author: Philip Pickering <pgpickering@gmail.com>
|
-- author: Philip Pickering <pgpickering@gmail.com>
|
||||||
-- thanks to Patrick Donnelly for some optimizations
|
-- thanks to Patrick Donnelly for some optimizations
|
||||||
|
|
||||||
module(...,package.seeall)
|
module(... or "base64",package.seeall)
|
||||||
|
|
||||||
|
|
||||||
-- todo: make metatable/index --> '' for b64dctable
|
-- todo: make metatable/index --> '' for b64dctable
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
-- Kris Katterjohn 04/2008
|
-- Kris Katterjohn 04/2008
|
||||||
|
|
||||||
module(..., package.seeall)
|
module(... or "comm", package.seeall)
|
||||||
|
|
||||||
------
|
------
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
-- Kris Katterjohn 03/2008
|
-- Kris Katterjohn 03/2008
|
||||||
|
|
||||||
module(..., package.seeall)
|
module(... or "datafiles", package.seeall)
|
||||||
|
|
||||||
require 'stdnse'
|
require 'stdnse'
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for licence
|
-- See nmaps COPYING for licence
|
||||||
module(...,package.seeall)
|
module(... or "http",package.seeall)
|
||||||
|
|
||||||
require 'stdnse'
|
require 'stdnse'
|
||||||
require 'url'
|
require 'url'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for licence
|
-- See nmaps COPYING for licence
|
||||||
module(...,package.seeall)
|
module(... or "ipOps",package.seeall)
|
||||||
|
|
||||||
|
|
||||||
-- check to see if ip is part of RFC 1918 address space
|
-- check to see if ip is part of RFC 1918 address space
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for licence
|
-- See nmaps COPYING for licence
|
||||||
module(..., package.seeall)
|
module(... or "listop", package.seeall)
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for licence
|
-- See nmaps COPYING for licence
|
||||||
module(..., package.seeall)
|
module(... or "match", package.seeall)
|
||||||
require "pcre"
|
require "pcre"
|
||||||
|
|
||||||
--various functions for use with nse's nsock:receive_buf - function
|
--various functions for use with nse's nsock:receive_buf - function
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- license = "See nmaps COPYING for license"
|
-- license = "See nmaps COPYING for license"
|
||||||
module("packet" ,package.seeall)
|
module(... or "packet" ,package.seeall)
|
||||||
|
|
||||||
-- Raw package parsing functions. Used with raw sockets
|
-- Raw package parsing functions. Used with raw sockets
|
||||||
-- in nse.
|
-- in nse.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
--- POP3 functions
|
--- POP3 functions
|
||||||
--@copyright See nmaps COPYING for licence
|
--@copyright See nmaps COPYING for licence
|
||||||
|
|
||||||
module(...,package.seeall)
|
module(... or "pop3",package.seeall)
|
||||||
|
|
||||||
require 'base64'
|
require 'base64'
|
||||||
require 'bit'
|
require 'bit'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for licence
|
-- See nmaps COPYING for licence
|
||||||
module(..., package.seeall)
|
module(... or "shortport", package.seeall)
|
||||||
|
|
||||||
portnumber = function(port, _proto, _state)
|
portnumber = function(port, _proto, _state)
|
||||||
local port_table, state_table
|
local port_table, state_table
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
--@copyright See nmaps COPYING for licence
|
--@copyright See nmaps COPYING for licence
|
||||||
|
|
||||||
|
|
||||||
module(...,package.seeall)
|
module(... or "snmp",package.seeall)
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ local pairs = pairs;
|
|||||||
local concat = table.concat;
|
local concat = table.concat;
|
||||||
|
|
||||||
|
|
||||||
module("strbuf");
|
module(... or "strbuf");
|
||||||
|
|
||||||
-- String buffer functions. Concatenation is not efficient in
|
-- String buffer functions. Concatenation is not efficient in
|
||||||
-- lua as strings are immutable. If a large amount of '..' sequential
|
-- lua as strings are immutable. If a large amount of '..' sequential
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- See nmaps COPYING for license
|
-- See nmaps COPYING for license
|
||||||
module("tab" ,package.seeall)
|
module(... or "tab" ,package.seeall)
|
||||||
|
|
||||||
--[[ Provide NSE scripts with a way to output structured tables similar to
|
--[[ Provide NSE scripts with a way to output structured tables similar to
|
||||||
NmapOutputTable.cc. See end for an example on how to use it. --]]
|
NmapOutputTable.cc. See end for an example on how to use it. --]]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
-- Kris Katterjohn 06/2008
|
-- Kris Katterjohn 06/2008
|
||||||
|
|
||||||
module(..., package.seeall)
|
module(... or "unpwdb", package.seeall)
|
||||||
|
|
||||||
---- Username/Password DB Library
|
---- Username/Password DB Library
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ parse_query() and build_query() added For nmap (Eddie Bell <ejlbell@gmail.com>)
|
|||||||
local string = require("string")
|
local string = require("string")
|
||||||
local base = _G
|
local base = _G
|
||||||
local table = require("table")
|
local table = require("table")
|
||||||
module(...,package.seeall)
|
module(... or "url",package.seeall)
|
||||||
|
|
||||||
_VERSION = "URL 1.0"
|
_VERSION = "URL 1.0"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user