| View previous topic :: View next topic |
| Author |
Message |
dmonckton Contributor


Joined: 09 Aug 2002 Posts: 117 Location: Lewes, U.K.
|
Posted: Wed Oct 18, 2006 11:33 am Post subject: RunAs Script |
|
|
Hi All
This is very cheeky but can anyone convert this VB Script to VDS?
| Code: |
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "runas /user:administrator ""c:test.bat"""
WScript.Sleep 100
WshShell.Sendkeys "password~"
|
The original article said that the script could be encoded to hide
the password but the encoding was weak and could be hacked.
I want to use the MD5 routine in VDS to tighten up the password
hiding. This would be a great app to have as some of our s/w
requires admin rights to run and we don't want to give our users
full rights to corrupt their PC's!
Thanks
David...
PS. Original Article: http://searchwinit.techtarget.com/tip/0,289483,sid1_gci929880,00.html |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
dmonckton Contributor


Joined: 09 Aug 2002 Posts: 117 Location: Lewes, U.K.
|
Posted: Wed Nov 08, 2006 5:46 pm Post subject: |
|
|
Thanks for the info, I looked through the code but found it a bit over the
top for what I wanted to do.
Cheers
David... |
|
| Back to top |
|
 |
|