Full Disclosure mailing list archives
RE: Windows user privileges
From: rp <lists () domain-logic com>
Date: Mon, 22 Nov 2004 16:17:10 -0500
At 12:43 PM 11/22/2004, you wrote:
Of course. You can run any binary using runas. You may have to use absolute paths, but that's a minor inconvenience.Are we able to run Explorer.exe using runas utility...
Just to clear that up, depending which script/utility you are using to initiate the code you can use:
%windir%\explorer.exeI 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 blahI 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
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- RE: Windows user privileges Todd Towles (Nov 20)
- Re: Windows user privileges GuidoZ (Nov 20)
- <Possible follow-ups>
- RE: Windows user privileges Sandeep Singh Rawat (Nov 22)
- RE: Windows user privileges Paul Schmehl (Nov 22)
- RE: Windows user privileges rp (Nov 22)
- RE: Windows user privileges Phillip R. Paradis (Nov 23)
- Re: Windows user privileges James Tucker (Nov 24)
- Re: Windows user privileges devis (Nov 25)
- RE: Windows user privileges Paul Schmehl (Nov 22)