> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/packet-squirrel-mark-ii/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/packet-squirrel-mark-ii/getting-started/cloud-c.md).

# Cloud C²

Cloud C² makes it easy for pen testers and IT security teams to deploy and manage fleets of Hak5 gear from a simple cloud dashboard.

The Packet Squirrel supports Cloud C² in all [network modes](/packet-squirrel-mark-ii/getting-started/networking-and-modes.md) where the Packet Squirrel obtains an address (`NAT`, `BRIDGE`, and `JAIL`).  It is not available in `TRANSPARENT` or `ISOLATE` modes.

## Cloud C² server

The Packet Squirrel Mark II requires Cloud C² server 3.3 or higher.

## Enrolling Cloud C²

The Packet Squirrel can be enrolled in Cloud C² by uploading a `device.config` file via the Settings page in the web UI (available in Arming mode), or by copying a `device.config` file to `/etc/device.config` via `scp`.

An appropriate `device.config` can be obtained by creating a new device on your Cloud C² server; be sure to create a Packet Squirrel Mark II device!&#x20;

## Cloud C² payload commands

Once connected to a Cloud C² server, payloads may use additional commands:

<table><thead><tr><th width="158">Command</th><th width="178" data-type="content-ref">Documentation</th><th>Description</th></tr></thead><tbody><tr><td><code>C2EXFIL</code></td><td><a href="/pages/8xkATLK4LtsnPFt85yL0">/pages/8xkATLK4LtsnPFt85yL0</a></td><td>Send a file via Cloud C²</td></tr><tr><td><code>C2NOTIFY</code></td><td><a href="/pages/rkGEtvtBBcyIpHqD9fMs">/pages/rkGEtvtBBcyIpHqD9fMs</a></td><td>Send a notification via Cloud C²</td></tr><tr><td><code>C2WATCHDIR</code></td><td><a href="/pages/R2Z6ebsqRfEjQNi4c4OP">/pages/R2Z6ebsqRfEjQNi4c4OP</a></td><td>Watch for new files in a directory and automatically send them to Cloud C²</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.hak5.org/packet-squirrel-mark-ii/getting-started/cloud-c.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
