[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6.1.2.0.0.20041122160957.04e99c50@localhost>
From: lists at domain-logic.com (rp)
Subject: Windows user privileges
At 12:43 PM 11/22/2004, you wrote:
>>Are we able to run Explorer.exe using runas utility...
>Of course. You can run any binary using runas. You may have to use
>absolute paths, but that's a minor inconvenience.
Just to clear that up, depending which script/utility you are using to
initiate the code you can use:
%windir%\explorer.exe
I remember dissecting a bit of malicious code attached to an email about 6
years ago.
I remember thinking 'whoever wrote this can't be older than 12'.
It had hardcoded
c:\windows\...blah blah blah
and
c:\win95..blah blah blah
I guess these were attempts to cover their bases. Why not just use %winnt%
or %windir%?
I adjusted the script with %windir%and it worked (I think it might have
been WSH, but that would be Win98, but in any case I remember it worked).
rp
Powered by blists - more mailing lists