mailing list archives
Re: [NSE] Patch for duplicate in smb.lua's default shares list
From: David Fifield <david () bamsoftware com>
Date: Thu, 3 Feb 2011 21:58:28 -0800
On Thu, Feb 03, 2011 at 11:14:29AM -0600, Ron wrote:
On Mon, 31 Jan 2011 15:34:37 -0600 Chris Woodbury <chris3e3 () gmail com> wrote:
The default list of shares to look for (line 2783) has "BACKUP" listed
twice. I've attached a patch with the duplicate removed and the
share names listed alphabetically to make this easier to avoid in the
While I was looking at the functionality, I wondered whether it would
be worthwhile to check for most of those share names as hidden shares
(i.e. with a trailing '$') as well. I've attached another patch
that takes the list of shares from  (with hidden shares removed),
adds the alphabet shares, and then goes through the list, adding a
hidden share for each.
I think it's a good idea, trying everything as hidden. Honestly, I forget why I didn't do that in the first place.
This looks fine to me, if you want to check it in, Ron.
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/