'VBRUNASTEMPLATE.VBS 'V1.0 27 sEP 2003 'BurnDark 'burndark00@yahoo.com 'http://www.freewebs.com/burndark/ 'based on VBRUNAS by Jeffery Hicks 'USAGE: cscript|wscript VBRUNASTEMPLATE.VBS 'DESC: A script that calls RUNAS with pre-defined username, password, and command 'NOTES: It is highly reccomended that you use the script encoder to encode the final script. 'It is available at http://msdn.microsoft.com/ 'Failure to do so will leave the password for the account used available to any user with 'access to this script. You should keep an original copy of this script so that you can 'use it for multiple commands. This is meant to be used for local access. If you want 'to run a command across the network as another user, you must add the /NETONLY switch 'to the RUNAS command. ' ********************************************************************************** ' * THIS PROGRAM IS OFFERED AS IS AND MAY BE FREELY MODIFIED OR ALTERED AS * ' * NECESSARY TO MEET YOUR NEEDS. THE AUTHOR MAKES NO GUARANTEES OR WARRANTIES, * ' * EXPRESSED, IMPLIED OR OF ANY OTHER KIND TO THIS CODE OR ANY USER MODIFICATIONS.* ' * DO NOT USE IN A PRODUCTION ENVIRONMENT UNTIL YOU HAVE TESTED IN A SECURED LAB * ' * ENVIRONMENT. USE AT YOUR OWN RISK. * ' **********************************************************************************