module

SSH User Code Execution

Disclosed
1999-01-01
Created
2018-05-30

Description

This module connects to the target system and executes the necessary
commands to run the specified payload via SSH. If a native payload is
specified, an appropriate stager will be used.

Authors

Spencer McIntyre
Brandon Knight

Platform

BSD,Linux,OSX,Python,Unix

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/multi/ssh/sshexec
msf exploit(sshexec) > show targets
...targets...
msf exploit(sshexec) > set TARGET < target-id >
msf exploit(sshexec) > show options
...show and set options...
msf exploit(sshexec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.