reverse_shell_send_payload
Initiate a reverse shell by sending a payload command that runs in a background thread, then verify the session status to confirm connection.
Instructions
Send a payload command to trigger a reverse shell connection in a non-blocking way.
Executes the payload in a background thread to avoid blocking the server. Waits then returns session status to verify the connection was established.
Args: session_id: The session ID of the reverse shell listener payload_command: The payload command to execute (e.g., curl with reverse shell) timeout: Timeout for the payload execution in seconds (default: 10) wait_seconds: Seconds to wait before checking session status (default: 5)
Returns: Payload execution status and session info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| session_id | Yes | ||
| wait_seconds | No | ||
| payload_command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |