Basic Syntax
Common Options
Listener
Windows Payloads
Meterpreter (Recommended)
EXE
Staged HTTPS
DLL
ASPX
HTA
Normal Shell
Encoded Payload
Linux Payloads
Meterpreter ELF
Normal Shell
Python Payload
cmd/unix/reverse_python payload is a shell one-liner (it pipes a base64 stub into python), not Python source. Run it directly in a shell, not via python3 -c:
Bash One-liner
PHP Webshell
Web Payloads
Example: