Vulnerability & Exploit Database

Back to search

Windows Manage Run Command As User

This module will login with the specified username/password and execute the supplied command as a hidden process. Output is not returned by default, by setting CMDOUT to false output will be redirected to a temp file and read back in to display.By setting advanced option SETPASS to true, it will reset the users password and then execute the command.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

post/windows/manage/run_as

Authors

  • Kx499

Platforms

  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/windows/manage/run_as msf post(run_as) > sessions ...sessions... msf post(run_as) > set SESSION <session-id> msf post(run_as) > show options ...show and set options... msf post(run_as) > run