Metasploit Penetration Testing Framework


OSVDB: CVE:
BID: MSB:
TEXT:


Unix Command Shell, Bind TCP (via netcat -e)

Listen for a connection and spawn a command shell via netcat

Rank

  • Normal

Authors

  • hdm < hdm [at] metasploit.com >

Similar Modules

Usage Information

$ msfconsole

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

msf > use payload/cmd/unix/bind_netcat
msf payload(bind_netcat) > generate

Module Options

LPORT The local port (default: 4444)
RHOST The target address (default: )
AutoRunScript A script to automatically on session creation.
InitialAutoRunScript An initial script to run on session created (before AutoRunScript)
WORKSPACE Specify the workspace for this module
Copyright © 2003-2010 Rapid7 LLC