From 5fffad15ebe6358a779c2bef3a8fbb46eb9ab477 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 3 Nov 2008 23:47:22 +0000 Subject: [PATCH] Canonicalize script args in smb.lua. Canonicalize @copyright lines in netbios.lua, smb.lua, and msrpc.lua. --- nselib/msrpc.lua | 2 +- nselib/netbios.lua | 2 +- nselib/smb.lua | 56 +++++++++++++++++++++++----------------------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/nselib/msrpc.lua b/nselib/msrpc.lua index b39a711b4..0da4973a6 100644 --- a/nselib/msrpc.lua +++ b/nselib/msrpc.lua @@ -32,7 +32,7 @@ -- remove references to Samba. -- --@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 785cd254b..3d0e18b73 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/smb.lua b/nselib/smb.lua index 926ba42d3..ac1bd9d76 100644 --- a/nselib/smb.lua +++ b/nselib/smb.lua @@ -99,49 +99,49 @@ -- or calling RPC functions. Calling RPC functions is the interesting part, and it's done through -- the SMB_TRANS packet. The actual RPC protocol is built on top of the SMB protocol. -- --- Thanks go to Christopher R. Hertel and his book Implementing CIFS, which +-- Thanks go to Christopher R. Hertel and his book Implementing CIFS, which -- taught me everything I know about Microsoft's protocols. Additionally, I used Samba's -- list of error codes for my constants, although I don't believe they would be covered -- by GPL, since they're public now anyways, but I'm not a lawyer and, if somebody feels -- differently, let me know and we can sort this out. -- --- The following arguments are understood by this script. I don't know if putting them in the nselib file --- is the right thing to do, but they're here for now anyways. --- --- Here's an example of a script with parameters: --- nmap --script=smb-