The ssh-download command allows you to download a file from a remote system using scp and upload it directly to Mythic. This process occurs in memory; the file being downloaded never touches the host's disk during transfer, and the command does not spawn any shell commands for the SSH connection.
To use this command, enter parameters through the Mythic UI using the Download parameter group.
Parameters
credentials: Select credentials from the Mythic credentials database.plaintext credential types use the plain text password.key credential types use the plain text SSH private key.- The
Account Name from the credentials is used as the username.
use ssh agent: A boolean option to use a connected SSH agent for authentication. If enabled, Thanatos uses the supplied username but relies on the agent for the remaining authentication fields.host: The hostname or IP address of the remote machine.port: The SSH connection port.download path: The absolute path of the file on the remote system.
Browser Script Integration
You can issue ssh -download tasks directly from the browser script provided by the ssh -ls command. In the ACTIONS menu next to a file, click the Download button.