This document provides a cheat sheet for using the msfpayload and msfencode tools in Metasploit. It lists the options for msfpayload to generate payloads, and for msfencode to encode payloads using different encoder types. Examples are given to generate a Windows reverse TCP shell payload, encode it using different encoders, and handle the session in Metasploit.