1
0
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:
batrick
2008-08-16 04:20:15 +00:00
parent e401cb4a00
commit 462c289f4a
15 changed files with 15 additions and 15 deletions

View File

@@ -5,7 +5,7 @@
-- author: Philip Pickering <pgpickering@gmail.com>
-- thanks to Patrick Donnelly for some optimizations
module(...,package.seeall)
module(... or "base64",package.seeall)
-- todo: make metatable/index --> '' for b64dctable

View File

@@ -1,6 +1,6 @@
-- Kris Katterjohn 04/2008
module(..., package.seeall)
module(... or "comm", package.seeall)
------
--

View File

@@ -1,6 +1,6 @@
-- Kris Katterjohn 03/2008
module(..., package.seeall)
module(... or "datafiles", package.seeall)
require 'stdnse'

View File

@@ -1,5 +1,5 @@
-- See nmaps COPYING for licence
module(...,package.seeall)
module(... or "http",package.seeall)
require 'stdnse'
require 'url'

View File

@@ -1,5 +1,5 @@
-- 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

View File

@@ -1,5 +1,5 @@
-- See nmaps COPYING for licence
module(..., package.seeall)
module(... or "listop", package.seeall)
--[[
--

View File

@@ -1,5 +1,5 @@
-- See nmaps COPYING for licence
module(..., package.seeall)
module(... or "match", package.seeall)
require "pcre"
--various functions for use with nse's nsock:receive_buf - function

View File

@@ -1,5 +1,5 @@
-- license = "See nmaps COPYING for license"
module("packet" ,package.seeall)
module(... or "packet" ,package.seeall)
-- Raw package parsing functions. Used with raw sockets
-- in nse.

View File

@@ -1,7 +1,7 @@
--- POP3 functions
--@copyright See nmaps COPYING for licence
module(...,package.seeall)
module(... or "pop3",package.seeall)
require 'base64'
require 'bit'

View File

@@ -1,5 +1,5 @@
-- See nmaps COPYING for licence
module(..., package.seeall)
module(... or "shortport", package.seeall)
portnumber = function(port, _proto, _state)
local port_table, state_table

View File

@@ -2,7 +2,7 @@
--@copyright See nmaps COPYING for licence
module(...,package.seeall)
module(... or "snmp",package.seeall)
---

View File

@@ -11,7 +11,7 @@ local pairs = pairs;
local concat = table.concat;
module("strbuf");
module(... or "strbuf");
-- String buffer functions. Concatenation is not efficient in
-- lua as strings are immutable. If a large amount of '..' sequential

View File

@@ -1,5 +1,5 @@
-- 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
NmapOutputTable.cc. See end for an example on how to use it. --]]

View File

@@ -1,6 +1,6 @@
-- Kris Katterjohn 06/2008
module(..., package.seeall)
module(... or "unpwdb", package.seeall)
---- Username/Password DB Library
--

View File

@@ -15,7 +15,7 @@ parse_query() and build_query() added For nmap (Eddie Bell <ejlbell@gmail.com>)
local string = require("string")
local base = _G
local table = require("table")
module(...,package.seeall)
module(... or "url",package.seeall)
_VERSION = "URL 1.0"