Files
BishopFox-sliver/client/command/exec
2026-02-22 16:37:30 -08:00
..
2025-12-31 10:04:27 -06:00
2026-02-02 19:19:14 -08:00
2026-02-19 16:45:39 -07:00
2026-02-05 20:41:00 -08:00
2025-10-04 11:49:32 -07:00
2026-02-02 19:19:14 -08:00
2026-02-02 19:19:14 -08:00
2024-04-23 11:49:54 -07:00
2024-04-23 11:49:54 -07:00
2025-12-31 10:04:27 -06:00

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.