bring

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BringCommand

func BringCommand(con *client.Client) *cobra.Command

BringCommand returns the `aims bring <agent-id>` command. It reads the agent from the server and writes a per-agent context payload — inert key<TAB>value data, display fields sanitized — that the trusted bring() shell function (installed by `aims init`) consumes to make the current shell "about" that c2 agent. It takes the connect pre-run bindRunners attaches to online leaves.

func InitCommand

func InitCommand(con *client.Client) *cobra.Command

InitCommand returns the `aims init <bash|zsh|fish>` command. It emits the fixed, trusted shell integration — the bring()/leave() functions and helpers — to be sourced once from the operator's shell rc (`source <(aims init zsh)`). This half carries no agent data. It needs no server connection: a benign PreRunE keeps bindRunners from attaching the connect pre-run, so it runs fully offline.

Types

This section is empty.

Directories

Path Synopsis
Package shell is the boundary between AIMS and the operator's interactive shell for the `bring` implant-context feature (see BRING.md).
Package shell is the boundary between AIMS and the operator's interactive shell for the `bring` implant-context feature (see BRING.md).

Jump to

Keyboard shortcuts

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