Metasploit Penetration Testing Framework
BSD Execute Command
Execute an arbitrary command
Rank
Authors
- vlad902 < vlad902 [at] gmail.com >
Similar Modules
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/bsd/x86/exec
msf payload(exec) > set CMD [STRING]
msf payload(exec) > generate
Module Options
| CMD |
The command string to execute |
| AppendExit |
Append a stub that executes the exit(0) system call |
| PrependSetresuid |
Prepend a stub that executes the setresuid(0, 0, 0) system call |
| PrependSetreuid |
Prepend a stub that executes the setreuid(0, 0) system call |
| PrependSetuid |
Prepend a stub that executes the setuid(0) system call |
| WORKSPACE |
Specify the workspace for this module |