Nmap Development mailing list archives

Re: [nmap-svn] r17816 - nmap-exp/djalal/scripts


From: Fyodor <fyodor () insecure org>
Date: Mon, 7 Jun 2010 16:18:09 -0700

On Thu, Jun 03, 2010 at 05:15:56PM -0700, commit-mailer () insecure org wrote:
Author: djalal

Log:
Default action now for nfs-ls script is to list NFS exports with their access controls.

Modified:
   nmap-exp/djalal/scripts/nfs-ls.nse

Modified: nmap-exp/djalal/scripts/nfs-ls.nse
==============================================================================
--- nmap-exp/djalal/scripts/nfs-ls.nse        (original)
+++ nmap-exp/djalal/scripts/nfs-ls.nse        Thu Jun  3 17:15:56 2010
@@ -6,25 +6,21 @@
 -- @output
 -- PORT    STATE SERVICE
 -- 111/tcp open  rpcbind
--- | nfs-ls:  
--- |   /home/storage/backup (1)
--- |     www.cqure.net
--- |   /home (5)
--- |     admin
--- |     lost+found
--- |     patrik
--- |     storage
--- |_    web
+-- | nfs-ls:
+-- |   /tmp
+-- |     mode: drwxrwxrwx  uid: 0  gid: 0
+-- |   /home/storage/backup
+-- |_    mode: drwxr-xr-x  uid: 0  gid: 0


Thanks Djalal, that is a nice improvement.  But I don't think we need
to remove the actual file listings along with this.  I would suggest
that nfs-ls.dirlist be true by default.  It could give the mountpoints
(along with the uid, gid, and mode on one line) and then the first
nfs-ls.maxfiles file listings for each mountpoint (also giving the
filesystem path, mode, and uid/gid of each).

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: