Files
2025-10-04 11:49:32 -07:00

20 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# client/command/exec
## Overview
Implements the 'exec' command group for the Sliver client console. Handlers map Cobra invocations to exec workflows such as execute assembly, execute shellcode, execute, and migrate.
## Go Files
- `commands.go` Registers the exec command family and binds shared flags across execution techniques.
- `execute-assembly.go` Uploads .NET assemblies and triggers in-memory execution, handling results and loot capture.
- `execute-shellcode.go` Executes raw shellcode via RPC, supporting interactive injection and task result printing.
- `execute.go` Runs arbitrary commands, streams combined stdout/stderr, and persists output as loot when requested.
- `migrate.go` Implements process migration, moving implants into new host processes and reporting completion.
- `msf-inject.go` Coordinates Metasploit payload injection tasks and prints remote execution responses.
- `msf.go` Launches Metasploit jobs on targets and tracks their beacon callbacks.
- `psexec.go` Provides PsExec-style remote service deployment using generated binaries and random filenames.
- `sideload.go` Executes unmanaged DLL exports in a remote process and summarizes task output.
- `spawndll.go` Spawns new processes with DLL injection, capturing returned handles and statuses.
- `ssh.go` Runs remote commands over SSH, sourcing credentials from loot and presenting command output.