MSFPAYLOAD(1) Metasploit Framework - Payload Generator MSFPAYLOAD(1)NAMEmsfpayload - Payload Generator
SYNOPSISmsfpayload <options>
msfpayload <payload> [var=val] [<output>]
OPTIONS-h Help banner
-l List available payloads
output:
[S]ummary Provides a configuration summary
[C] Outputs the payload in C format
[P]erl Outputs the payload in Perl format
Rub[y] Outputs the payload in Ruby format
[R]aw Outputs the the payload in Raw format
[J]s Outputs the the payload in JavaScript format
e[X]e Outputs the the payload in Windows executable
[D]ll Outputs the the payload as a Dll
[V]BA Outputs the the payload as a VBA script
[W]ar Outputs the the payload in War format
DESCRIPTIONmsfpayload is a command-line instance of Metasploit that is used to
generate and output all of the various types of shellcode that are
available in Metasploit. The most common use of this tool is for the
generation of shellcode for an exploit that is not currently in the
Metasploit Framework or for testing different types of shellcode and
options before finalizing a module.
EXAMPLEmsfpayload windows/shell_bind_tcp EXITFUNC=seh LPORT=1234 C
SEE ALSOmsfcli(1)msfvenom(1)msfconsole(1)msfencode(1)AUTHORS
Creator
HD Moore - @hdmoore / hdm@metasploit.com
COPYRIGHT
Copyright (C) 2006-2013, Rapid7 Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without mod‐
ification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copy‐
right notice, this list of conditions and the following dis‐
claimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Rapid7 LLC nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBU‐
TORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUEN‐
TIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUB‐
STITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIA‐
BILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUD‐
ING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
The Metasploit Framework is provided under the 3-clause BSD
license above.
The copyright on this package is held by Rapid7 LLC.
This license does not apply to several components within the
Metasploit Framework source tree. For more details see the
LICENSE file.
4.6.0‐dev.15168 March 20, 2013 MSFPAYLOAD(1)