Linux Command Shell, Find Port Inline
Spawn a shell on an established connection
Rank
- Normal
Authors
- ramon < ramon [at] risesecurity.org >
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/metsvc_reverse_tcp
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/shell_find_port
msf payload(shell_find_port) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/shell_find_port
msf payload(shell_find_port) > generate
Module Options
| CPORT | The local client port (default: 42896) |
| 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 |
