1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
djalal
b18df4d50a Make functions that call Helper.GetProgramInfo() return a string message on errors. 2010-10-31 18:29:15 +00:00
djalal
63f25dcc97 Add more NSEDoc and remove obsolete functions: ToAclMode() replaced by FmodeToOctalString() and ToAclText() replaced by FpermToString(). 2010-10-20 17:33:06 +00:00
djalal
05d8430ecf NSEDoc cleaning and whitespace formatting. 2010-10-20 14:12:11 +00:00
djalal
4baeee0dfc Whitespace formatting and some code cleaning. 2010-09-27 13:19:25 +00:00
djalal
769db9823a o Added the debug level to some print_debug() functions that were missing this argument.
o Create the mutex in the RpcInfo() function before the connect call, to prevent some rare race conditions that can cause one of the running rpc and nfs scripts to fail. This mutex is used to cache the portmapper program list in the registry, to reduce the number of connections and RPC DUMP procedure calls.
o whitespace formatting.
2010-09-26 12:55:05 +00:00
david
3c89e089fc Change calls in these forms:
socket:connect(host.ip, port.number)
socket:connect(host.ip, port.number, port.protocol)

to this:

socket:connect(host, port)

connect can take host and port tables now, and the default protocol is
taken from the port table if possible.
2010-08-16 18:59:30 +00:00
david
7d0c08a097 Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
djalal
81d927513d Make value_follows variable local 2010-07-08 20:21:24 +00:00
djalal
53b2b629dc Merge r18534:r18591 from nmap-exp/djalal/nse-nfs/ 2010-07-06 00:29:54 +00:00
djalal
1c100da16b Merge r18143:18422 from nmap-exp/djalal/nse-nfs/nselib 2010-06-29 21:00:03 +00:00
david
32c8ee9f1f Fix some NSEDoc. 2010-06-24 17:01:55 +00:00
djalal
921f052f0b Merge r17766:18060 from /nmap-exp/djalal/nselib and nmap-exp/djalal/scripts contains new scripts nfs-ls.nse and lot of new code to the rpc.lua library to check files type and attributes to marshall/unmarshall file attributes and some new high level functions to manipulate NFS objects. 2010-06-12 23:45:59 +00:00
djalal
951667ffb4 [NSE] Cache the Portmapper list into the NSE registry 2010-05-18 01:09:21 +00:00
patrik
242bfadfef o [NSE] Improved error handling and reporting with patch from Djalal Harouni. [Patrik] 2010-04-25 18:44:21 +00:00
patrik
71ca5cceba o [NSE] Improved error handling and reporting and re-designed communication
class in RPC library with patch from Djalal Harouni. [Patrik]
2010-04-22 20:25:38 +00:00
david
dc03a70c79 Fix some NSEDoc. Some libraries had @copyright and @author right at the
top of the first comment, so the entire description got stuffed into the
@author field. I also discovered a limitation in the NSEDoc parser: the
first non-empty line following the first --- comment must be the
"module" call, or else the block isn't recognized as belonging to a
module. This was preventing @args from appearing in certain libraries.
Djalal Harouni told me about this.
2010-04-15 19:21:13 +00:00
batrick
98d4bee8e5 global bug fixes 2010-04-08 20:36:43 +00:00
patrik
f137a07847 o [NSE] Fixed bug in rpc.lua library that incorrectly required file handles
to be 32 octects when calling the ReadDir function. The bug was reported by
  Djalal Harouni. [Patrik]
2010-04-02 17:58:32 +00:00
david
5fa554266b Fix NSEDoc. 2010-03-31 20:28:14 +00:00
patrik
dd9a237fe2 o [NSE] Added RPC library and three new NFS scripts. Modified the rpcinfo and
nfs-showmount scripts to use the new library. The new scripts are:
  - nfs-acls shows the owner and directory mode of NFS exports
  - nfs-dirlist lists the contents of NFS exports
  - nfs-statfs shows file system statistics for NFS exports
  [Patrik]
2010-03-21 17:56:17 +00:00