tasks

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: GPL-3.0 Imports: 31 Imported by: 2

README

client/command/tasks

Overview

Implements the 'tasks' command group for the Sliver client console. Handlers map Cobra invocations to tasks workflows such as fetch and tasks cancel.

Go Files

  • commands.go – Registers task management commands for viewing and controlling job history.
  • fetch.go – Downloads task artifacts and output generated by implants.
  • helpers.go – Provides shared utilities for task lookups, formatting, and completion.
  • tasks-cancel.go – Cancels queued or running tasks targeting implants.
  • tasks.go – Lists recent tasks with filters for status and target.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeaconPendingTasksCompleter added in v1.6.0

func BeaconPendingTasksCompleter(con *console.SliverClient) carapace.Action

BeaconPendingTasksCompleter completes pending tasks.

func BeaconTaskIDCompleter added in v1.6.0

func BeaconTaskIDCompleter(con *console.SliverClient) carapace.Action

BeaconTaskIDCompleter returns a structured list of tasks completions, grouped by state.

func Commands added in v1.6.0

func Commands(con *console.SliverClient) []*cobra.Command

Commands returns the “ command and its subcommands.

func PrintBeaconTasks

func PrintBeaconTasks(tasks []*clientpb.BeaconTask, cmd *cobra.Command, con *console.SliverClient)

PrintBeaconTasks - Print beacon tasks.

func PrintTask

func PrintTask(task *clientpb.BeaconTask, con *console.SliverClient)

PrintTask - Print the details of a beacon task.

func SelectBeaconTask

func SelectBeaconTask(tasks []*clientpb.BeaconTask) (*clientpb.BeaconTask, error)

SelectBeaconTask - Select a beacon task interactively.

func TasksCancelCmd added in v1.5.25

func TasksCancelCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

TasksCancelCmd - Cancel a beacon task before it's sent to the implant.

func TasksCmd

func TasksCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

TasksCmd - Manage beacon tasks.

func TasksFetchCmd

func TasksFetchCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

TasksFetchCmd - Manage beacon tasks.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL