1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Standardize the @copyright fields of NSE modules; change "See nmaps COPYING for

license" to "Same as Nmap--See http://nmap.org/book/man-legal.html" like
scripts commonly use. I added the field to some modules I know to be under the
Nmap license: bin, datafiles, dns, nmap, unpwdb. I left alone bin, bit, pcre,
and url, which come from outside sources.
This commit is contained in:
david
2008-10-24 00:44:22 +00:00
parent efed9cf1a8
commit 7e15f259a4
21 changed files with 21 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
--- Base64 library. Follows RFC4648. --- Base64 library. Follows RFC4648.
--@author Philip Pickering <pgpickering@gmail.com> --@author Philip Pickering <pgpickering@gmail.com>
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
-- thanks to Patrick Donnelly for some optimizations -- thanks to Patrick Donnelly for some optimizations

View File

@@ -7,6 +7,7 @@
-- message. -- message.
-- @author Kris Katterjohn 03/2008 -- @author Kris Katterjohn 03/2008
-- @author jah 08/2008 -- @author jah 08/2008
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "datafiles", package.seeall) module(... or "datafiles", package.seeall)

View File

@@ -2,6 +2,7 @@ module(... or "dns", package.seeall)
--- Simple DNS library supporting packet creation, encoding, decoding, --- Simple DNS library supporting packet creation, encoding, decoding,
-- and querying. -- and querying.
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
require("ipOps") require("ipOps")
require("stdnse") require("stdnse")

View File

@@ -12,7 +12,7 @@
-- Multiple headers of the same name are concatenated and separated by -- Multiple headers of the same name are concatenated and separated by
-- commas. The body value is a string containing the body of the HTTP -- commas. The body value is a string containing the body of the HTTP
-- response. -- response.
-- @copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "http",package.seeall) module(... or "http",package.seeall)

View File

@@ -1,5 +1,5 @@
--- Utility functions for manipulating and comparing IP addresses. --- Utility functions for manipulating and comparing IP addresses.
-- @copyright See Nmap License: http://nmap.org/book/man-legal.html -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
local type = type local type = type
local table = table local table = table

View File

@@ -6,7 +6,7 @@
-- to Lua using Lua's central data structure, the table, as a base for its -- to Lua using Lua's central data structure, the table, as a base for its
-- list operations. Highlights include a map function applying a given -- list operations. Highlights include a map function applying a given
-- function to each element of a list. -- function to each element of a list.
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "listop", package.seeall) module(... or "listop", package.seeall)

View File

@@ -2,7 +2,7 @@
-- \n\n -- \n\n
-- The functions in this module can be used for delimiting data received -- The functions in this module can be used for delimiting data received
-- by the receive_buf function in the Network I/O API. -- by the receive_buf function in the Network I/O API.
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "match", package.seeall) module(... or "match", package.seeall)
require "pcre" require "pcre"

View File

@@ -27,7 +27,7 @@
-- code (or the table) to see what else is available. \n -- code (or the table) to see what else is available. \n
-- --
--@author Ron Bowes <ron@skullsecurity.net> --@author Ron Bowes <ron@skullsecurity.net>
--@copyright See nmap's COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
----------------------------------------------------------------------- -----------------------------------------------------------------------
module(... or "msrpc", package.seeall) module(... or "msrpc", package.seeall)

View File

@@ -2,7 +2,7 @@
-- NetBIOS name requests. -- NetBIOS name requests.
-- --
--@author Ron Bowes <ron@skullsecurity.net> --@author Ron Bowes <ron@skullsecurity.net>
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
----------------------------------------------------------------------- -----------------------------------------------------------------------
module(... or "netbios", package.seeall) module(... or "netbios", package.seeall)

View File

@@ -4,6 +4,7 @@
-- structures. The API provides target host details such as port states and -- structures. The API provides target host details such as port states and
-- version detection results. It also offers an interface to the Nsock library -- version detection results. It also offers an interface to the Nsock library
-- for efficient network I/O. -- for efficient network I/O.
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module "nmap" module "nmap"

View File

@@ -18,7 +18,7 @@
-- end -- end
-- </code> -- </code>
-- @author Sven Klemm <sven@c3d2.de> -- @author Sven Klemm <sven@c3d2.de>
-- @copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module "openssl" module "openssl"

View File

@@ -1,6 +1,6 @@
--- Facilities for manipulating raw packets. --- Facilities for manipulating raw packets.
-- @copyright See nmaps COPYING for license
-- @author Marek Majkowski <majek04+nse@gmail.com> -- @author Marek Majkowski <majek04+nse@gmail.com>
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "packet" ,package.seeall) module(... or "packet" ,package.seeall)

View File

@@ -1,5 +1,5 @@
--- POP3 functions. --- POP3 functions.
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "pop3",package.seeall) module(... or "pop3",package.seeall)

View File

@@ -2,7 +2,7 @@
-- \n\n -- \n\n
-- Since portrules are mostly the same for many scripts, this -- Since portrules are mostly the same for many scripts, this
-- module provides functions for the most common tests. -- module provides functions for the most common tests.
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "shortport", package.seeall) module(... or "shortport", package.seeall)

View File

@@ -69,7 +69,7 @@
-- taught me everything I know about Microsoft's protocols. \n -- taught me everything I know about Microsoft's protocols. \n
-- --
--@author Ron Bowes <ron@skullsecurity.net> --@author Ron Bowes <ron@skullsecurity.net>
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
----------------------------------------------------------------------- -----------------------------------------------------------------------
module(... or "smb", package.seeall) module(... or "smb", package.seeall)

View File

@@ -1,5 +1,5 @@
--- SNMP functions. --- SNMP functions.
--@copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "snmp",package.seeall) module(... or "snmp",package.seeall)

View File

@@ -2,7 +2,7 @@
-- \n\n -- \n\n
-- This module also contains functions for formatting key fingerprints. -- This module also contains functions for formatting key fingerprints.
-- @author Sven Klemm <sven@c3d2.de> -- @author Sven Klemm <sven@c3d2.de>
-- @copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "ssh1",package.seeall) module(... or "ssh1",package.seeall)

View File

@@ -1,6 +1,6 @@
--- Functions for the SSH-2 protocol. --- Functions for the SSH-2 protocol.
-- @author Sven Klemm <sven@c3d2.de> -- @author Sven Klemm <sven@c3d2.de>
-- @copyright See nmaps COPYING for licence -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "ssh2",package.seeall) module(... or "ssh2",package.seeall)

View File

@@ -33,7 +33,7 @@
-- print(strbuf.dump(buf)) -- no separator\n -- print(strbuf.dump(buf)) -- no separator\n
-- print(strbuf.dump(buf, ' ')) -- separated by spaces\n -- print(strbuf.dump(buf, ' ')) -- separated by spaces\n
-- strbuf.clear(buf) -- strbuf.clear(buf)
--@copyright See nmaps COPYING for license -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
-- DEPENDENCIES -- -- DEPENDENCIES --

View File

@@ -11,7 +11,7 @@
-- tab.add(t, 1, 'BBBBBBBBB1')\n -- tab.add(t, 1, 'BBBBBBBBB1')\n
-- tab.add(t, 2, 'BBB2')\n -- tab.add(t, 2, 'BBB2')\n
-- tab.dump(t) -- tab.dump(t)
--@copyright See nmaps COPYING for license -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "tab",package.seeall) module(... or "tab",package.seeall)

View File

@@ -16,6 +16,7 @@
-- or do they just separate the password from the comment? -- or do they just separate the password from the comment?
-- --
-- @author Kris Katterjohn 06/2008 -- @author Kris Katterjohn 06/2008
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "unpwdb", package.seeall) module(... or "unpwdb", package.seeall)