Metasploit Penetration Testing Framework


OSVDB: CVE:
BID: MSB:
TEXT:


OSX Command Shell, Bind TCP Inline

Listen for a connection and spawn a command shell

Rank

  • Normal

Authors

  • hdm < hdm [at] metasploit.com >

Similar Modules

Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use payload/osx/armle/shell_bind_tcp
msf payload(shell_bind_tcp) > generate

Module Options

LPORT The local port (default: 4444)
RHOST The target address (default: )
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)
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
WORKSPACE Specify the workspace for this module
Copyright © 2003-2010 Rapid7 LLC