 |
Lsrunase : runas utility which accepts encrypted passwords as parameter. |
LSrunase can be used to run a command using another user account
and passing the password as a parameter.
This is a big improvement over the standard runas tool which is not able to accept a password.
LSrunase can be used in scripts.
LSrunase extends the normal lsrunas with the use of encrypted passwords.
Parameters:
-----------
/user: specifies the username
/password: specifies the password
/domain: specifies the domain
/command: specifies the command to execute and the parameters
/runpath: specifies the path where the command should start
Examples:
---------
lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:notepad.exe /runpath:c:\
lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:"C:\Program Files\Internet Explorer
\iexplore.exe" /runpath:c:\
lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:"C:\Program Files\Internet Explorer
\iexplore.exe http://www.google.be" /runpath:c:\
Some remarks:
- Works on Windows 2000, Windows 2003, XP
Lsrunase 2.0 is out and it is now part of the Lansweeper Premium User Pack

What's new in this version:
- Improved encryption. (RC4 + salt) (see CVE-2007-6340)
- The profile for the user is now automatically created.
- Improved parameter handling.
- Environment variables are now available.
|