[14359] in bugtraq

home help back first fref pref prev next nref lref last post

Re: FW: [NTBUGTRAQ] AT Jobs - Denial of serice/Privilege Elevation

daemon@ATHENA.MIT.EDU (Daniel Harter)
Mon Mar 20 10:25:19 2000

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id:  <38D28450.D6DA4DF@mitre.org>
Date:         Fri, 17 Mar 2000 14:15:28 -0500
Reply-To: Daniel Harter <harterd@MITRE.ORG>
From: Daniel Harter <harterd@MITRE.ORG>
X-To:         Andy Caus <andy@PROMETAL.BE>
To: BUGTRAQ@SECURITYFOCUS.COM

Andy Caus wrote:
>
> You should ALWAYS use:
>
> if exist <driveletter> net use <driveletter> /d
>
> before you use "net use" in such a script.
>

This will not catch a SUBST entry, though.  You could also add the
line to be sure:

   if exist H: subst H: /d

Good day,

--
Daniel B. Harter     harterd@mitre.org   The MITRE Corporation
Phone: 703-883-5541  Fax: 703-883-3315

home help back first fref pref prev next nref lref last post