Command Shell, Java Bind TCP stager | Metasploit Exploit Database (DB)

Command Shell, Java Bind TCP stager

Listen for a connection, Spawn a piped command shell (cmd.exe on Windows, /bin/sh everywhere else)

Search Other Modules


Rank

  • Normal

Authors

  • mihi < >
  • egypt < egypt [at] metasploit.com >

Similar Modules


Usage Information

$ msfconsole

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

msf > use payload/java/shell/bind_tcp
msf payload(bind_tcp) > generate


Module Options

LPORT The listen port (default: 4444)
RHOST The target address (default: )
AutoRunScript A script to run automatically on session creation.
InitialAutoRunScript An initial script to run on session creation (before AutoRunScript)
Spawn Number of subprocesses to spawn
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module