---
description: Single Target Payloads
---

# \[1] Single-Listener (single target)

This option generates a payload intended for execution on a single target system. To successfully establish a new session, the payload must be executed on the target within 30 seconds, time after which the user will be redirected to the main menu.

The process begins by creating a named pipe locally with a unique name. Right after, a payload is created and printed on screen. The payload produced by this option, when executed on the target machine, establishes a connection back to the machine running Amnesiac. This connection is made specifically to the named pipe created with that unique name.

To execute the payload, paste it into the command prompt or run it anywhere you have gained command execution on the target system.

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2FDYl7edgBvCnDWkCP0yPg%2Fimage.png?alt=media&#x26;token=4d6343d5-e2ba-4d8e-8ac6-f6099b0cfc62" alt=""><figcaption></figcaption></figure>

The sessions established using this option will be displayed under "Single Listener Sessions"

<figure><img src="https://1622982705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZYmkSsz78lM8RvvHGKL%2Fuploads%2F7fB6hNAAwNJtCzoXfGQa%2Fimage.png?alt=media&#x26;token=9925f64f-30aa-4e0d-95e0-4cbbc51932ed" alt=""><figcaption></figcaption></figure>

The payload type generated can be changed using the `Toggle` command. For more details, please refer to the [Payload Types](payload-types) section of the documentation.

**It's important to note that:**

* the named pipe generated using this option is accessible to anyone. However, once the target connects, it becomes exclusively available for that connection, preventing others from connecting to it.
* The same target system is capable of running various payloads created through this method. This doesn't imply that a single payload can be used repeatedly on the same target. Rather, it means you can craft several different payloads using this approach, and each one can be executed on the same target system.
