#73777 - 2003-03-06 01:51 AM
Re: RUNAS
|
ShaneEP
MM club member
   
Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
|
You can try using AutoIT scripting. Comes with compiler to make it into password protected EXE as well. Heres a short example used to install the citrix web client.
code:
OS: SetEnv, OS, %A_OSVERSION% IfInString, OS, XP, Goto, RUNAS IfInString, OS, 2000, Goto, RUNAS IfInString, OS, NT4, Goto, JUSTRUN IfInString, OS, 95, Goto, JUSTRUN IfInString, OS, 98, Goto, JUSTRUN IfInString, OS, ME, Goto, JUSTRUN MsgBox,0,AutoIt,OS detection failed. Exit
RUNAS: SplashTextOn,300,150,ICA Update,Your ICA client is now being updated...Please be patient. Run, runas /user:domain\\Admin "ica32t.exe" Sleep, 1000 Send, password{ENTER} BlockInput,on WinWaitActive,Citrix ICA Web Client,Setup completed Exit
JUSTRUN: BlockInput,on Run, ica32t.exe WinWaitActive,Citrix ICA Web Client,Setup completed Exit
[ADLIB] Citrix ICA Web Client,The source file, Send,!y Citrix ICA Web Client,The system needs to be restarted,Send,!n ICA,Are you sure you want to cancel,send,n Security Warning,,send,y
|
|
Top
|
|
|
|
#73778 - 2004-04-16 05:20 PM
Re: RUNAS
|
burnsc
Starting to like KiXtart
Registered: 2004-04-14
Posts: 171
|
Was just drudgeing around in the history. I realize this has been out for a while. A solution could be crafted by learning from the way NT handles passwords. The password that is placed in the scriot could be put there in a form that has a reversable decryption method. This way the real password is not shown, but the core data is there.
|
|
Top
|
|
|
|
#73779 - 2004-04-27 01:56 AM
Re: RUNAS
|
ipeter
Lurker
Registered: 2004-04-27
Posts: 3
|
There was not mentioned utility cpau (Create Process As User), see http://www.jsiinc.com/SUBO/tip7200/rh7258.htm or home page http://www.joeware.net/win32/
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 320 anonymous users online.
|
|
|