> For the complete documentation index, see [llms.txt](https://exploit-pack.gitbook.io/exploit-pack-manual-pages/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exploit-pack.gitbook.io/exploit-pack-manual-pages/control-pack/python-shell-agent.md).

# Python Shell Agent

Create a personalized agent to use within Control Pack. The created script could include a custom shellcode and be converted into an executable file.

{% embed url="<https://youtu.be/xBmtS8LpEVc?si=slfIMeuD5Xa9qEag>" %}

Deploy a Stage-1 Python agent with a low-footprint terminal shell (\*) plus lifecycle controls (stage2, exit, killagent). Upgrade to Stage-2 to unlock full operator tooling: host/context enumeration (systeminfo, getuid, currentpath), display capture (screenshot), and optional webcam snapshot (webcam). If intercepted early, only the lean Stage-1 footprint is exposed.
