PHP Command Shell, Bind TCP (via php) | Metasploit Exploit Database (DB)

PHP Command Shell, Bind TCP (via php)

Listen for a connection and spawn a command shell via php

Search Other Modules


Rank

  • Normal

Authors

  • egypt < egypt [at] metasploit.com >
  • diaul < diaul [at] devilopers.org >

Similar Modules


Usage Information

$ msfconsole

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

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


Module Options

LPORT The listen port (default: 4444)
RHOST The target address (default: )
AutoRunScript A script to run automatically on session creation.
InitialAutoRunScript An initial script to run on session creation (before AutoRunScript)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module