Documentation
¶
Index ¶
- Variables
- func C2ConfigToJSON(profileName string, profile *clientpb.HTTPC2Config) (*assets.HTTPC2Config, error)
- func C2ConfigToProtobuf(profileName string, config *assets.HTTPC2Config) *clientpb.HTTPC2Config
- func C2ProfileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func Commands(con *console.SliverClient) []*cobra.Command
- func ExportC2ProfileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func GenerateC2ProfileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func ImportC2ProfileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func PrintC2Profiles(profile *clientpb.HTTPC2Config, con *console.SliverClient)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoSelection = errors.New("no selection")
)
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.
Click to show internal directories.
Click to hide internal directories.