Files
BishopFox-sliver/client/command/alias
cmprmsd a903d2f596 Add support for predefined argument completion choices. in extensions and aliases
Example:
{
      "name": "browser",
      "desc": "target browser (chrome, edge, brave, all)",
      "type": "string",
      "optional": true,
      "choices": ["chrome", "edge", "brave", "all"]
    },
2026-01-11 22:11:40 +01:00
..
2021-12-27 17:09:13 -06:00
2025-12-31 10:04:27 -06:00
2025-10-04 11:49:32 -07:00
2025-12-31 10:04:27 -06:00

client/command/alias

Overview

Implements the 'alias' command group for the Sliver client console. Handlers map Cobra invocations to alias workflows such as install, load, and remove.

Go Files

  • alias.go Implements runtime alias management, printing installed aliases and exposing tab-completion helpers.
  • alias_test.go (tests) Exercises manifest parsing logic to ensure alias metadata is interpreted correctly.
  • commands.go Wires Cobra commands for listing, installing, loading, and removing aliases into the client console.
  • install.go Handles installing alias bundles from directories or archives, writing manifests and payload artifacts to disk.
  • load.go Loads alias manifests, validates target compatibility, and registers commands against the active console.
  • remove.go Removes installed aliases, prompting for confirmation and deleting associated on-disk assets.