diff --git a/nselib/base64.lua b/nselib/base64.lua index 2ce1e2f79..0be069085 100644 --- a/nselib/base64.lua +++ b/nselib/base64.lua @@ -1,6 +1,6 @@ --- Base64 library. Follows RFC4648. --@author Philip Pickering ---@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 diff --git a/nselib/datafiles.lua b/nselib/datafiles.lua index 7ee4e5bca..fbcd3424d 100644 --- a/nselib/datafiles.lua +++ b/nselib/datafiles.lua @@ -7,6 +7,7 @@ -- message. -- @author Kris Katterjohn 03/2008 -- @author jah 08/2008 +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "datafiles", package.seeall) diff --git a/nselib/dns.lua b/nselib/dns.lua index 05583b73e..be83d0335 100644 --- a/nselib/dns.lua +++ b/nselib/dns.lua @@ -2,6 +2,7 @@ module(... or "dns", package.seeall) --- Simple DNS library supporting packet creation, encoding, decoding, -- and querying. +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html require("ipOps") require("stdnse") diff --git a/nselib/http.lua b/nselib/http.lua index 477cb3deb..2763bae55 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -12,7 +12,7 @@ -- Multiple headers of the same name are concatenated and separated by -- commas. The body value is a string containing the body of the HTTP -- response. --- @copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "http",package.seeall) diff --git a/nselib/ipOps.lua b/nselib/ipOps.lua index ea90bf99f..0b4ad401a 100644 --- a/nselib/ipOps.lua +++ b/nselib/ipOps.lua @@ -1,5 +1,5 @@ --- 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 table = table diff --git a/nselib/listop.lua b/nselib/listop.lua index 2763672a5..b7fa2dce8 100644 --- a/nselib/listop.lua +++ b/nselib/listop.lua @@ -6,7 +6,7 @@ -- 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 -- 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) diff --git a/nselib/match.lua b/nselib/match.lua index 671074b8c..478b647f3 100644 --- a/nselib/match.lua +++ b/nselib/match.lua @@ -2,7 +2,7 @@ -- \n\n -- The functions in this module can be used for delimiting data received -- 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) require "pcre" diff --git a/nselib/msrpc.lua b/nselib/msrpc.lua index 45c1a9bc6..e9afd81af 100644 --- a/nselib/msrpc.lua +++ b/nselib/msrpc.lua @@ -27,7 +27,7 @@ -- code (or the table) to see what else is available. \n -- --@author Ron Bowes ---@copyright See nmap's COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html ----------------------------------------------------------------------- module(... or "msrpc", package.seeall) diff --git a/nselib/netbios.lua b/nselib/netbios.lua index a150777dd..863cfc5c6 100644 --- a/nselib/netbios.lua +++ b/nselib/netbios.lua @@ -2,7 +2,7 @@ -- NetBIOS name requests. -- --@author Ron Bowes ---@copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html ----------------------------------------------------------------------- module(... or "netbios", package.seeall) diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc index ef1c49c9c..a2a013e21 100644 --- a/nselib/nmap.luadoc +++ b/nselib/nmap.luadoc @@ -4,6 +4,7 @@ -- structures. The API provides target host details such as port states and -- version detection results. It also offers an interface to the Nsock library -- for efficient network I/O. +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module "nmap" diff --git a/nselib/openssl.luadoc b/nselib/openssl.luadoc index 4075ceba7..562966a0d 100644 --- a/nselib/openssl.luadoc +++ b/nselib/openssl.luadoc @@ -18,7 +18,7 @@ -- end -- -- @author Sven Klemm --- @copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module "openssl" diff --git a/nselib/packet.lua b/nselib/packet.lua index 4dbc042a9..7a7356643 100644 --- a/nselib/packet.lua +++ b/nselib/packet.lua @@ -1,6 +1,6 @@ --- Facilities for manipulating raw packets. --- @copyright See nmaps COPYING for license -- @author Marek Majkowski +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "packet" ,package.seeall) diff --git a/nselib/pop3.lua b/nselib/pop3.lua index 29d7c3589..7adc212ec 100644 --- a/nselib/pop3.lua +++ b/nselib/pop3.lua @@ -1,5 +1,5 @@ --- 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) diff --git a/nselib/shortport.lua b/nselib/shortport.lua index 56cb0ce50..841ec58f1 100644 --- a/nselib/shortport.lua +++ b/nselib/shortport.lua @@ -2,7 +2,7 @@ -- \n\n -- Since portrules are mostly the same for many scripts, this -- 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) diff --git a/nselib/smb.lua b/nselib/smb.lua index 8150b09be..90584cd38 100644 --- a/nselib/smb.lua +++ b/nselib/smb.lua @@ -69,7 +69,7 @@ -- taught me everything I know about Microsoft's protocols. \n -- --@author Ron Bowes ---@copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html ----------------------------------------------------------------------- module(... or "smb", package.seeall) diff --git a/nselib/snmp.lua b/nselib/snmp.lua index effd1743a..968fdb2bf 100644 --- a/nselib/snmp.lua +++ b/nselib/snmp.lua @@ -1,5 +1,5 @@ --- 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) diff --git a/nselib/ssh1.lua b/nselib/ssh1.lua index 37a5eb72e..76f3f7256 100644 --- a/nselib/ssh1.lua +++ b/nselib/ssh1.lua @@ -2,7 +2,7 @@ -- \n\n -- This module also contains functions for formatting key fingerprints. -- @author Sven Klemm --- @copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "ssh1",package.seeall) diff --git a/nselib/ssh2.lua b/nselib/ssh2.lua index 4ffa4a57f..898314be7 100644 --- a/nselib/ssh2.lua +++ b/nselib/ssh2.lua @@ -1,6 +1,6 @@ --- Functions for the SSH-2 protocol. -- @author Sven Klemm --- @copyright See nmaps COPYING for licence +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "ssh2",package.seeall) diff --git a/nselib/strbuf.lua b/nselib/strbuf.lua index 5afa2d093..801fe0cac 100644 --- a/nselib/strbuf.lua +++ b/nselib/strbuf.lua @@ -33,7 +33,7 @@ -- print(strbuf.dump(buf)) -- no separator\n -- print(strbuf.dump(buf, ' ')) -- separated by spaces\n -- strbuf.clear(buf) ---@copyright See nmaps COPYING for license +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html -- DEPENDENCIES -- diff --git a/nselib/tab.lua b/nselib/tab.lua index 24ac58ce3..a355a6dc1 100644 --- a/nselib/tab.lua +++ b/nselib/tab.lua @@ -11,7 +11,7 @@ -- tab.add(t, 1, 'BBBBBBBBB1')\n -- tab.add(t, 2, 'BBB2')\n -- 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) diff --git a/nselib/unpwdb.lua b/nselib/unpwdb.lua index a4d8ff93e..7a8bc48d0 100644 --- a/nselib/unpwdb.lua +++ b/nselib/unpwdb.lua @@ -16,6 +16,7 @@ -- or do they just separate the password from the comment? -- -- @author Kris Katterjohn 06/2008 +-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html module(... or "unpwdb", package.seeall)