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 Command Shell, Bind TCP Stager
Listen for a connection, Spawn a command shell (staged)
Rank
- Normal
Authors
- skape < mmiller [at] hick.org >
Similar Modules
- payload/linux/x86/shell/bind_ipv6_tcp
- payload/linux/x86/shell/find_tag
- payload/linux/x86/shell/reverse_ipv6_tcp
- payload/linux/x86/shell/reverse_tcp
- payload/linux/x86/shell_bind_ipv6_tcp
- payload/linux/x86/shell_bind_tcp
- payload/linux/x86/shell_find_port
- payload/linux/x86/shell_find_tag
- payload/linux/x86/shell_reverse_tcp
- payload/linux/x86/shell_reverse_tcp2
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/shell/bind_tcp
msf payload(bind_tcp) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/shell/bind_tcp
msf payload(bind_tcp) > generate
Module Options
| LPORT | The listen port (default: 4444) |
| RHOST | The target address (default: ) |
| AppendExit | Append a stub that executes the exit(0) system call |
| AutoRunScript | A script to run automatically on session creation. |
| 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 |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
