Files
2026-02-15 20:58:07 -08:00

16 lines
916 B
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/shell
## Overview
Implements the 'shell' command group for the Sliver client console. Handlers map Cobra invocations to shell workflows such as filter reader generic and filter reader windows.
## Go Files
- `commands.go` Exposes the shell command group (`shell`, `shell ls`, `shell attach`, `shell kill`) and binds options.
- `completers.go` Shell-specific command completion helpers.
- `filter-reader_generic.go` Provides output filtering for shell streams on POSIX targets.
- `filter-reader_windows.go` Implements CRLF-aware filtering and decoding for Windows shell sessions.
- `ioloop.go` Handles attached shell stdin forwarding, escape handling, and fast local detach/exit behavior.
- `manager.go` Tracks managed shell tunnels so detached shells can be listed and re-attached.
- `shell.go` Launches/attaches shell tunnels and coordinates managed shell lifecycle.