Documentation
¶
Index ¶
- Variables
- func LoadL9ExplorePlugins()
- type ExploreServiceCommand
- func (cmd *ExploreServiceCommand) GetHttpClient(ctx context.Context, ip string, port string) *http.Client
- func (cmd *ExploreServiceCommand) LoadPlugins() error
- func (cmd *ExploreServiceCommand) Run() error
- func (cmd *ExploreServiceCommand) RunPlugin(event *l9format.L9Event, plugins []l9format.ServicePluginInterface)
- func (cmd *ExploreServiceCommand) RunWebPlugin(event *l9format.L9Event, plugins []l9format.WebPluginInterface)
Constants ¶
This section is empty.
Variables ¶
View Source
var TcpPlugins []l9format.ServicePluginInterface
View Source
var WebPlugins []l9format.WebPluginInterface
Functions ¶
func LoadL9ExplorePlugins ¶ added in v1.0.0
func LoadL9ExplorePlugins()
Types ¶
type ExploreServiceCommand ¶
type ExploreServiceCommand struct {
MaxThreads int `help:"Max threads" short:"t" default:"10"`
OnlyLeak bool `help:"Discards services events" short:"l"`
OpenPlugins []l9format.ServicePluginInterface `kong:"-"`
ExplorePlugins []l9format.ServicePluginInterface `kong:"-"`
ExfiltratePlugins []l9format.ServicePluginInterface `kong:"-"`
HttpPlugins []l9format.WebPluginInterface `kong:"-"`
ThreadManager *goccm.ConcurrencyManager `kong:"-"`
JsonEncoder *json.Encoder `kong:"-"`
JsonDecoder *json.Decoder `kong:"-"`
ExploreTimeout time.Duration `short:"x" default:"3s"`
DisableExploreStage bool `short:"e"`
DisableHTTPPlugins bool `short:"w"`
ExfiltrateStage bool `short:"x"`
Option map[string]string `short:"o"`
Debug bool
HttpRequests map[string]l9format.WebPluginRequest `kong:"-"`
}
func (*ExploreServiceCommand) GetHttpClient ¶ added in v0.9.0
func (*ExploreServiceCommand) LoadPlugins ¶
func (cmd *ExploreServiceCommand) LoadPlugins() error
func (*ExploreServiceCommand) Run ¶
func (cmd *ExploreServiceCommand) Run() error
func (*ExploreServiceCommand) RunPlugin ¶ added in v0.7.0
func (cmd *ExploreServiceCommand) RunPlugin(event *l9format.L9Event, plugins []l9format.ServicePluginInterface)
func (*ExploreServiceCommand) RunWebPlugin ¶ added in v0.9.0
func (cmd *ExploreServiceCommand) RunWebPlugin(event *l9format.L9Event, plugins []l9format.WebPluginInterface)
Click to show internal directories.
Click to hide internal directories.