> For the complete documentation index, see [llms.txt](https://106-sam.gitbook.io/ejptv2-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://106-sam.gitbook.io/ejptv2-notes/crto/cobalt-strike/beacon-payloads/generating-payloads/stager-payload-generator.md).

# Stager payload generator

These payload generators produce source code files for a variety of languages, equivalent to Metasploit's `msfvenom`  utility. These are useful when you want a byte array that you can drop into your own shellcode runners.

<figure><img src="https://lwfiles.mycourse.app/66e95234fe489daea7060790-public/508622a023d831deed681846c3d68f10.png" alt=""><figcaption></figcaption></figure>

For example, outputting a stager in C produces the following

```

/* length: 888 bytes */
unsigned char buf[] = "\xfc\x48\x83\xe4[...snip...]\x12\x1d\x9b\x09";
```

\
Stager payload do not allow you to specify any additional configuration details, such as guardails.
