Bugtraq mailing list archives

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


From: harterd () MITRE ORG (Daniel Harter)
Date: Fri, 17 Mar 2000 14:15:28 -0500


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



Current thread: