# Sessions

A session in Amnesiac is the interactive environment where users can interact with a target system and issue commands. It serves as a connection point between the user and the compromised or targeted system. Within a session, users have access to a set of commands that enable them to perform various tasks on the target system. These commands are organized into several categories for ease of use.

Within an active session, the `help` command will access the list of commands available to that specific session.

<figure><img src="/files/jPnZYkjG3V1iSYowpWbr" alt=""><figcaption></figcaption></figure>

In summary, a session in Amnesiac provides users with a powerful set of commands and capabilities to interact with and manipulate a target system during penetration testing or red teaming activities. These commands cover a wide range of tasks, from basic system information retrieval to more advanced exploitation and remote access techniques.


---

# Agent Instructions: 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://leo4j.gitbook.io/amnesiac/sessions.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.
