# Quick Start

#### [Scan the Network for Admin Access](https://leo4j.gitbook.io/amnesiac/main-menu/0-scan-network-for-admin-access)

From the main menu, press `0`. This initiates a network scan to discover targets where you have admin access.

If you have admin access to any target, they will appear in the main menu under "Admin Sessions". Select the session you wish to interact with.

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2FGXzA9AiVSPksoU1pjShy%2Fimage.png?alt=media&#x26;token=300d7243-86ac-48f9-b45e-411fa4e94949" alt=""><figcaption></figcaption></figure>

#### [Single-Listener](https://leo4j.gitbook.io/amnesiac/main-menu/1-single-listener-single-target)

To execute a payload and obtain a shell, press `1`. The payload will be displayed on the screen for you to copy and paste into a terminal or any location where you have command execution, resulting in a session being established. Select the session to start the interaction.

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2F9GFjYyQ8WB9INtHoWwHe%2Fimage.png?alt=media&#x26;token=face2339-b56f-4efa-8bde-99acbfe1dbb6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2F0xMOIWhabUVmmOUFFApi%2Fimage.png?alt=media&#x26;token=2ff8a0d3-3316-4d98-88ca-470a2dd1ffb3" alt=""><figcaption></figcaption></figure>

#### [Global-Listener](https://leo4j.gitbook.io/amnesiac/main-menu/2-global-listener-multiple-targets)

Alternatively, you can press `2` to also generate a payload. While a session won't be established immediately upon executing the payload, you can catch the shell later by pressing `3`.

Finally, press any key to stop scanning, and select the session to start the interaction.<br>

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2FNqoQRgvKD0UZm7tEB6vO%2Fimage.png?alt=media&#x26;token=28e00448-93e9-4a3b-9402-317e19fe766c" alt=""><figcaption></figcaption></figure>

#### [Session Interaction](https://leo4j.gitbook.io/amnesiac/sessions)

Upon initiating interaction with a session, you'll enter a PowerShell cmd shell. You can issue commands as you normally would or type `help` to access a list of available commands.

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2FdKUi2Rd4q9c3RjizbmWv%2Fimage.png?alt=media&#x26;token=3f64625a-9e7f-4945-be1f-e87dae4b3da4" alt=""><figcaption></figcaption></figure>


---

# 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/get-started/quick-start.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.
