Windows Execute Command | Metasploit Exploit Database (DB)

Windows Execute Command

Execute an arbitrary command

Search Other Modules


Rank

  • Normal

Authors

  • vlad902 < vlad902 [at] gmail.com >
  • sf < stephen_fewer [at] harmonysecurity.com >

Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use payload/windows/exec
msf payload(exec) > set CMD [STRING]
msf payload(exec) > generate


Module Options

CMD The command string to execute
EXITFUNC Exit technique: seh, process, thread, none (default: process)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module