Documentation ¶
Index ¶
- Constants
- Variables
- func CanariesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func GenerateBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func GenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func GenerateInfoCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func GenerateStagerCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func GetImplantProfileByName(name string, con *console.SliverConsoleClient) *clientpb.ImplantProfile
- func GetSliverBinary(profile *clientpb.ImplantProfile, con *console.SliverConsoleClient) ([]byte, error)
- func ImplantBuildByName(name string, con *console.SliverConsoleClient) *clientpb.ImplantConfig
- func ImplantBuildNameCompleter(prefix string, args []string, filters ImplantBuildFilter, ...) []string
- func ImplantsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ImplantsRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ParseDNSc2(args string) ([]*clientpb.ImplantC2, error)
- func ParseHTTPc2(args string) ([]*clientpb.ImplantC2, error)
- func ParseMTLSc2(args string) ([]*clientpb.ImplantC2, error)
- func ParseNamedPipec2(args string) ([]*clientpb.ImplantC2, error)
- func ParseTCPPivotc2(args string) ([]*clientpb.ImplantC2, error)
- func ParseWGc2(args string) ([]*clientpb.ImplantC2, error)
- func PrintCanaries(con *console.SliverConsoleClient, canaries []*clientpb.DNSCanary, ...)
- func PrintImplantBuilds(configs map[string]*clientpb.ImplantConfig, filters ImplantBuildFilter, ...)
- func PrintProfiles(profiles []*clientpb.ImplantProfile, con *console.SliverConsoleClient)
- func ProfileNameCompleter(prefix string, args []string, con *console.SliverConsoleClient) []string
- func ProfilesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ProfilesGenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ProfilesNewBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ProfilesNewCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ProfilesRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func RegenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- type ImplantBuildFilter
Constants ¶
const ( // DefaultMTLSLPort is the default port for mtls DefaultMTLSLPort = 8888 // DefaultWGPort is the default port for wg DefaultWGLPort = 53 // DefaultWGNPort is the default n port for wg DefaultWGNPort = 8888 // DefaultWGKeyExPort is the default port for wg key exchange DefaultWGKeyExPort = 1337 // DefaultHTTPLPort is the default port for http DefaultHTTPLPort = 80 // DefaultHTTPSLPort is the default port for https DefaultHTTPSLPort = 443 // DefaultDNSLPortis the default port for dns DefaultDNSLPort = 53 // DefaultTCPPivotPort is the default port for tcp pivots DefaultTCPPivotPort = 9898 // DefaultReconnect is the default reconnect time DefaultReconnect = 60 // DefaultPollTimeout is the default poll timeout DefaultPollTimeout = 360 // 6 minutes // DefaultMaxErrors is the default max reconnection errors before giving up DefaultMaxErrors = 1000 )
Variables ¶
var (
ErrBeaconIntervalTooShort = fmt.Errorf("beacon interval must be %v or greater", minBeaconInterval)
)
Functions ¶
func CanariesCmd ¶
func CanariesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
CanariesCmd - Display canaries from the database and their status
func GenerateBeaconCmd ¶ added in v1.5.0
func GenerateBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
GenerateBeaconCmd - The main command used to generate implant binaries
func GenerateCmd ¶
func GenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
GenerateCmd - The main command used to generate implant binaries
func GenerateInfoCmd ¶
func GenerateInfoCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
GenerateInfoCmd - Display information about the Sliver server's compiler configuration
func GenerateStagerCmd ¶
func GenerateStagerCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
GenerateStagerCmd - Generate a stager using Metasploit
func GetImplantProfileByName ¶
func GetImplantProfileByName(name string, con *console.SliverConsoleClient) *clientpb.ImplantProfile
GetImplantProfileByName - Get an implant profile by a specific name
func GetSliverBinary ¶
func GetSliverBinary(profile *clientpb.ImplantProfile, con *console.SliverConsoleClient) ([]byte, error)
GetSliverBinary - Get the binary of an implant based on it's profile
func ImplantBuildByName ¶ added in v1.5.0
func ImplantBuildByName(name string, con *console.SliverConsoleClient) *clientpb.ImplantConfig
ImplantBuildByName - Get an implant build by name
func ImplantBuildNameCompleter ¶ added in v1.5.0
func ImplantBuildNameCompleter(prefix string, args []string, filters ImplantBuildFilter, con *console.SliverConsoleClient) []string
ImplantBuildNameCompleter - Completer for implant build names
func ImplantsCmd ¶
func ImplantsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ImplantsCmd - Displays archived implant builds
func ImplantsRmCmd ¶
func ImplantsRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ImplantsRmCmd - Deletes an archived implant build from the server
func ParseDNSc2 ¶ added in v1.5.0
ParseDNSc2 - Parse DNS connection string arg
func ParseHTTPc2 ¶ added in v1.5.0
ParseHTTPc2 - Parse HTTP connection string arg
func ParseMTLSc2 ¶ added in v1.5.0
ParseMTLSc2 - Parse mtls connection string arg
func ParseNamedPipec2 ¶ added in v1.5.0
ParseNamedPipec2 - Parse named pipe connection string arg
func ParseTCPPivotc2 ¶ added in v1.5.0
ParseTCPPivotc2 - Parse tcp pivot connection string arg
func PrintCanaries ¶ added in v1.5.0
func PrintCanaries(con *console.SliverConsoleClient, canaries []*clientpb.DNSCanary, burnedOnly bool)
PrintCanaries - Print the canaries tracked by the server
func PrintImplantBuilds ¶ added in v1.5.0
func PrintImplantBuilds(configs map[string]*clientpb.ImplantConfig, filters ImplantBuildFilter, con *console.SliverConsoleClient)
PrintImplantBuilds - Print the implant builds on the server
func PrintProfiles ¶ added in v1.5.0
func PrintProfiles(profiles []*clientpb.ImplantProfile, con *console.SliverConsoleClient)
PrintProfiles - Print the profiles
func ProfileNameCompleter ¶ added in v1.5.0
func ProfileNameCompleter(prefix string, args []string, con *console.SliverConsoleClient) []string
ProfileNameCompleter - Completer for implant build names
func ProfilesCmd ¶
func ProfilesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ProfilesCmd - Display implant profiles
func ProfilesGenerateCmd ¶
func ProfilesGenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ProfilesGenerateCmd - Generate an implant binary based on a profile
func ProfilesNewBeaconCmd ¶ added in v1.5.0
func ProfilesNewBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ProfilesNewBeaconCmd - Create a new beacon profile
func ProfilesNewCmd ¶
func ProfilesNewCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ProfilesNewCmd - Create a new implant profile
func ProfilesRmCmd ¶
func ProfilesRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ProfilesRmCmd - Delete an implant profile
func RegenerateCmd ¶
func RegenerateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
RegenerateCmd - Download an archived implant build/binary