OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: FW: [NTBUGTRAQ] AT Jobs - Denial of serice/Privilege Elevation
From: Daniel Harter (harterdMITRE.ORG)
Date: Fri Mar 17 2000 - 13:15:28 CST


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     harterdmitre.org   The MITRE Corporation
Phone: 703-883-5541  Fax: 703-883-3315