reverse_shell_send_payload
Send a payload command to trigger a reverse shell connection on an active listener. Execute it in the background, wait, then verify the session status to confirm the shell established.
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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"payload_command": "<payload_command>"
},
"name": "reverse_shell_send_payload"
}
}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 |