c2profiles

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: 24 Imported by: 0

README

client/command/c2profiles

Overview

Implements the 'c2profiles' command group for the Sliver client console. Handlers map Cobra invocations to c2profiles workflows such as C2 profiles.

Go Files

  • c2profiles.go – Implements listing, import/export, and generation routines for HTTP C2 profiles, including protobuf/JSON conversion helpers.
  • commands.go – Binds the c2profiles command suite with flag handling and completions for profile management operations.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C2ConfigToJSON

func C2ConfigToJSON(profileName string, profile *clientpb.HTTPC2Config) (*assets.HTTPC2Config, error)

convert protobuf to json

func C2ConfigToProtobuf

func C2ConfigToProtobuf(profileName string, config *assets.HTTPC2Config) *clientpb.HTTPC2Config

convert json to protobuf

func C2ProfileCmd

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

C2ProfileCmd list available http profiles

func Commands

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

Commands returns the “ command and its subcommands.

func ExportC2ProfileCmd

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

func GenerateC2ProfileCmd

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

func ImportC2ProfileCmd

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

func PrintC2Profiles

func PrintC2Profiles(profile *clientpb.HTTPC2Config, con *console.SliverClient)

PrintImplantBuilds - Print the implant builds on the server

Types

This section is empty.

Jump to

Keyboard shortcuts

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