msf_session_destroy
Terminate a Metasploit session by its ID to stop the active payload and free resources in the container. Use this to clean up after penetration testing.
Instructions
Destroy a specific Metasploit session.
Args: session_id: The session ID to destroy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |