Documentation ¶
Index ¶
- Variables
- type Apache2449TraversalPlugin
- func (Apache2449TraversalPlugin) GetName() string
- func (Apache2449TraversalPlugin) GetProtocols() []string
- func (Apache2449TraversalPlugin) GetStage() string
- func (Apache2449TraversalPlugin) GetVersion() (int, int, int)
- func (plugin Apache2449TraversalPlugin) Run(ctx context.Context, event *l9format.L9Event, pluginOptions map[string]string) bool
- func (plugin Apache2449TraversalPlugin) RunRce(ctx context.Context, event *l9format.L9Event) bool
- type CouchDbOpenPlugin
- func (plugin CouchDbOpenPlugin) GetAddress(event *l9format.L9Event) string
- func (plugin CouchDbOpenPlugin) GetDatabaseInfo(ctx context.Context, event *l9format.L9Event, dbNames []string) (dbInfo []DatabaseInfo)
- func (plugin CouchDbOpenPlugin) GetInfos(ctx context.Context, event *l9format.L9Event, dbList []string) (hasLeak bool)
- func (CouchDbOpenPlugin) GetName() string
- func (CouchDbOpenPlugin) GetProtocols() []string
- func (CouchDbOpenPlugin) GetStage() string
- func (CouchDbOpenPlugin) GetVersion() (int, int, int)
- func (plugin CouchDbOpenPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- func (plugin CouchDbOpenPlugin) TestOpen(ctx context.Context, event *l9format.L9Event) bool
- type DatabaseInfo
- type DotDsStoreOpenPlugin
- func (DotDsStoreOpenPlugin) GetName() string
- func (DotDsStoreOpenPlugin) GetProtocols() []string
- func (DotDsStoreOpenPlugin) GetStage() string
- func (DotDsStoreOpenPlugin) GetVersion() (int, int, int)
- func (plugin DotDsStoreOpenPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- type ElasticSearchCatIndicesResponse
- type ElasticSearchCatNodesResponse
- type ElasticSearchExplorePlugin
- func (ElasticSearchExplorePlugin) GetName() string
- func (ElasticSearchExplorePlugin) GetProtocols() []string
- func (plugin ElasticSearchExplorePlugin) GetRansomNote(ctx context.Context, url string, event *l9format.L9Event) (ransomNote string, found bool)
- func (ElasticSearchExplorePlugin) GetStage() string
- func (ElasticSearchExplorePlugin) GetVersion() (int, int, int)
- func (plugin ElasticSearchExplorePlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- type ElasticSearchGreetResponse
- type ElasticSearchOpenPlugin
- func (ElasticSearchOpenPlugin) GetName() string
- func (ElasticSearchOpenPlugin) GetProtocols() []string
- func (ElasticSearchOpenPlugin) GetStage() string
- func (ElasticSearchOpenPlugin) GetVersion() (int, int, int)
- func (plugin ElasticSearchOpenPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- type ElasticSearchResponse
- type KafkaOpenPlugin
- func (KafkaOpenPlugin) GetName() string
- func (KafkaOpenPlugin) GetProtocols() []string
- func (KafkaOpenPlugin) GetStage() string
- func (KafkaOpenPlugin) GetVersion() (int, int, int)
- func (plugin KafkaOpenPlugin) Run(ctx context.Context, event *l9format.L9Event, pluginOptions map[string]string) (hasLeak bool)
- type MongoCollectionDetails
- type MongoOpenPlugin
- func (MongoOpenPlugin) GetName() string
- func (MongoOpenPlugin) GetProtocols() []string
- func (MongoOpenPlugin) GetStage() string
- func (MongoOpenPlugin) GetVersion() (int, int, int)
- func (plugin MongoOpenPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- type MongoSchemaPlugin
- func (MongoSchemaPlugin) GetName() string
- func (MongoSchemaPlugin) GetProtocols() []string
- func (MongoSchemaPlugin) GetStage() string
- func (MongoSchemaPlugin) GetVersion() (int, int, int)
- func (plugin MongoSchemaPlugin) Run(ctx context.Context, event *l9format.L9Event, pluginOptions map[string]string) (hasLeak bool)
- type MysqlSchemaPlugin
- func (MysqlSchemaPlugin) GetName() string
- func (MysqlSchemaPlugin) GetProtocols() []string
- func (MysqlSchemaPlugin) GetRansomNote(ctx context.Context, databaseName, tableName string, event *l9format.L9Event, ...) (ransomNote string, found bool)
- func (MysqlSchemaPlugin) GetStage() string
- func (MysqlSchemaPlugin) GetVersion() (int, int, int)
- func (plugin MysqlSchemaPlugin) Init() error
- func (plugin MysqlSchemaPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) (hasLeak bool)
- type MysqlWeakPlugin
- func (MysqlWeakPlugin) GetName() string
- func (MysqlWeakPlugin) GetProtocols() []string
- func (MysqlWeakPlugin) GetStage() string
- func (MysqlWeakPlugin) GetVersion() (int, int, int)
- func (plugin MysqlWeakPlugin) Init() error
- func (plugin MysqlWeakPlugin) Run(ctx context.Context, event *l9format.L9Event, options map[string]string) bool
- type RedisOpenPlugin
- type SSHOpenPlugin
Constants ¶
This section is empty.
Variables ¶
View Source
var ElasticSearchExplorePluginUA = "l9plugin-ElasticSearchExplorePlugin/v1.0.0 (+https://leakix.net/)"
Functions ¶
This section is empty.
Types ¶
type Apache2449TraversalPlugin ¶ added in v1.4.0
type Apache2449TraversalPlugin struct {
l9format.ServicePluginBase
}
func (Apache2449TraversalPlugin) GetName ¶ added in v1.4.0
func (Apache2449TraversalPlugin) GetName() string
func (Apache2449TraversalPlugin) GetProtocols ¶ added in v1.4.0
func (Apache2449TraversalPlugin) GetProtocols() []string
func (Apache2449TraversalPlugin) GetStage ¶ added in v1.4.0
func (Apache2449TraversalPlugin) GetStage() string
func (Apache2449TraversalPlugin) GetVersion ¶ added in v1.4.0
func (Apache2449TraversalPlugin) GetVersion() (int, int, int)
type CouchDbOpenPlugin ¶
type CouchDbOpenPlugin struct {
l9format.ServicePluginBase
}
func (CouchDbOpenPlugin) GetAddress ¶
func (plugin CouchDbOpenPlugin) GetAddress(event *l9format.L9Event) string
Helper to generate HTTP address
func (CouchDbOpenPlugin) GetDatabaseInfo ¶
func (plugin CouchDbOpenPlugin) GetDatabaseInfo(ctx context.Context, event *l9format.L9Event, dbNames []string) (dbInfo []DatabaseInfo)
Get database information from a list of names
func (CouchDbOpenPlugin) GetInfos ¶
func (plugin CouchDbOpenPlugin) GetInfos(ctx context.Context, event *l9format.L9Event, dbList []string) (hasLeak bool)
Iterate over the database list to get more informations
func (CouchDbOpenPlugin) GetName ¶
func (CouchDbOpenPlugin) GetName() string
func (CouchDbOpenPlugin) GetProtocols ¶
func (CouchDbOpenPlugin) GetProtocols() []string
func (CouchDbOpenPlugin) GetStage ¶
func (CouchDbOpenPlugin) GetStage() string
func (CouchDbOpenPlugin) GetVersion ¶
func (CouchDbOpenPlugin) GetVersion() (int, int, int)
type DatabaseInfo ¶
type DatabaseInfo struct { Info struct { Name string `json:"db_name"` DocCount int64 `json:"doc_count"` DiskSize int64 `json:"disk_size"` } `json:"info"` }
Minimal structure returned from the info endpoint
type DotDsStoreOpenPlugin ¶ added in v1.3.2
type DotDsStoreOpenPlugin struct {
l9format.ServicePluginBase
}
func (DotDsStoreOpenPlugin) GetName ¶ added in v1.3.2
func (DotDsStoreOpenPlugin) GetName() string
func (DotDsStoreOpenPlugin) GetProtocols ¶ added in v1.3.2
func (DotDsStoreOpenPlugin) GetProtocols() []string
func (DotDsStoreOpenPlugin) GetStage ¶ added in v1.3.2
func (DotDsStoreOpenPlugin) GetStage() string
func (DotDsStoreOpenPlugin) GetVersion ¶ added in v1.3.2
func (DotDsStoreOpenPlugin) GetVersion() (int, int, int)
type ElasticSearchCatNodesResponse ¶
type ElasticSearchCatNodesResponse struct { NodesSumary struct { Total int `json:"total"` Successful int `json:"successful"` Failed int `json:"failed"` } `json:"_nodes"` Nodes map[string]struct { Version string `json:"version"` OperatingSystem struct { Name string `json:"pretty_name"` Version string `json:"version"` } `json:"os"` } `json:"nodes"` }
type ElasticSearchExplorePlugin ¶
type ElasticSearchExplorePlugin struct {
l9format.ServicePluginBase
}
func (ElasticSearchExplorePlugin) GetName ¶
func (ElasticSearchExplorePlugin) GetName() string
func (ElasticSearchExplorePlugin) GetProtocols ¶
func (ElasticSearchExplorePlugin) GetProtocols() []string
func (ElasticSearchExplorePlugin) GetRansomNote ¶
func (ElasticSearchExplorePlugin) GetStage ¶
func (ElasticSearchExplorePlugin) GetStage() string
func (ElasticSearchExplorePlugin) GetVersion ¶
func (ElasticSearchExplorePlugin) GetVersion() (int, int, int)
type ElasticSearchGreetResponse ¶
type ElasticSearchGreetResponse struct { Name string `json:"name"` ClusterName string `json:"cluster_name"` ClusterUuid string `json:"cluster_uuid"` TagLine string `json:"tagline"` Version struct { Number string `json:"number"` BuildFlavor string `json:"build_flavor"` BuildType string `json:"build_type"` BuildHash string `json:"build_hash"` BuildDate string `json:"build_date"` BuildSnapshot bool `json:"build_snapshot"` LuceneVersion string `json:"lucene_version"` MinimumWireCompatibilityVersion string `json:"minimum_wire_compatibility_version"` MinimumIndexCompatibilityVersion string `json:"minimum_index_compatibility_version"` } `json:"version"` }
First thing we tried, turns out node API has more info we like
type ElasticSearchOpenPlugin ¶
type ElasticSearchOpenPlugin struct {
l9format.ServicePluginBase
}
func (ElasticSearchOpenPlugin) GetName ¶
func (ElasticSearchOpenPlugin) GetName() string
func (ElasticSearchOpenPlugin) GetProtocols ¶
func (ElasticSearchOpenPlugin) GetProtocols() []string
func (ElasticSearchOpenPlugin) GetStage ¶
func (ElasticSearchOpenPlugin) GetStage() string
func (ElasticSearchOpenPlugin) GetVersion ¶
func (ElasticSearchOpenPlugin) GetVersion() (int, int, int)
type ElasticSearchResponse ¶
type ElasticSearchResponse struct { Hits struct { Hits []struct { Source json.RawMessage `json:"_source"` } `json:"hits"` } `json:"hits"` }
type KafkaOpenPlugin ¶
type KafkaOpenPlugin struct {
l9format.ServicePluginBase
}
func (KafkaOpenPlugin) GetName ¶
func (KafkaOpenPlugin) GetName() string
func (KafkaOpenPlugin) GetProtocols ¶
func (KafkaOpenPlugin) GetProtocols() []string
func (KafkaOpenPlugin) GetStage ¶
func (KafkaOpenPlugin) GetStage() string
func (KafkaOpenPlugin) GetVersion ¶
func (KafkaOpenPlugin) GetVersion() (int, int, int)
type MongoCollectionDetails ¶
type MongoOpenPlugin ¶
type MongoOpenPlugin struct {
l9format.ServicePluginBase
}
func (MongoOpenPlugin) GetName ¶
func (MongoOpenPlugin) GetName() string
func (MongoOpenPlugin) GetProtocols ¶
func (MongoOpenPlugin) GetProtocols() []string
func (MongoOpenPlugin) GetStage ¶
func (MongoOpenPlugin) GetStage() string
func (MongoOpenPlugin) GetVersion ¶
func (MongoOpenPlugin) GetVersion() (int, int, int)
Implement interface :
type MongoSchemaPlugin ¶
type MongoSchemaPlugin struct {
l9format.ServicePluginBase
}
func (MongoSchemaPlugin) GetName ¶
func (MongoSchemaPlugin) GetName() string
func (MongoSchemaPlugin) GetProtocols ¶
func (MongoSchemaPlugin) GetProtocols() []string
func (MongoSchemaPlugin) GetStage ¶
func (MongoSchemaPlugin) GetStage() string
func (MongoSchemaPlugin) GetVersion ¶
func (MongoSchemaPlugin) GetVersion() (int, int, int)
type MysqlSchemaPlugin ¶
type MysqlSchemaPlugin struct {
l9format.ServicePluginBase
}
func (MysqlSchemaPlugin) GetName ¶
func (MysqlSchemaPlugin) GetName() string
func (MysqlSchemaPlugin) GetProtocols ¶
func (MysqlSchemaPlugin) GetProtocols() []string
func (MysqlSchemaPlugin) GetRansomNote ¶
func (MysqlSchemaPlugin) GetStage ¶
func (MysqlSchemaPlugin) GetStage() string
func (MysqlSchemaPlugin) GetVersion ¶
func (MysqlSchemaPlugin) GetVersion() (int, int, int)
func (MysqlSchemaPlugin) Init ¶ added in v1.2.0
func (plugin MysqlSchemaPlugin) Init() error
type MysqlWeakPlugin ¶
type MysqlWeakPlugin struct {
l9format.ServicePluginBase
}
func (MysqlWeakPlugin) GetName ¶
func (MysqlWeakPlugin) GetName() string
func (MysqlWeakPlugin) GetProtocols ¶
func (MysqlWeakPlugin) GetProtocols() []string
func (MysqlWeakPlugin) GetStage ¶
func (MysqlWeakPlugin) GetStage() string
func (MysqlWeakPlugin) GetVersion ¶
func (MysqlWeakPlugin) GetVersion() (int, int, int)
func (MysqlWeakPlugin) Init ¶ added in v1.2.0
func (plugin MysqlWeakPlugin) Init() error
type RedisOpenPlugin ¶
type RedisOpenPlugin struct {
l9format.ServicePluginBase
}
func (RedisOpenPlugin) GetName ¶
func (RedisOpenPlugin) GetName() string
func (RedisOpenPlugin) GetProtocols ¶
func (RedisOpenPlugin) GetProtocols() []string
func (RedisOpenPlugin) GetStage ¶
func (RedisOpenPlugin) GetStage() string
func (RedisOpenPlugin) GetVersion ¶
func (RedisOpenPlugin) GetVersion() (int, int, int)
type SSHOpenPlugin ¶
type SSHOpenPlugin struct {
l9format.ServicePluginBase
}
func (SSHOpenPlugin) GetName ¶
func (SSHOpenPlugin) GetName() string
func (SSHOpenPlugin) GetProtocols ¶
func (SSHOpenPlugin) GetProtocols() []string
func (SSHOpenPlugin) GetStage ¶
func (SSHOpenPlugin) GetStage() string
func (SSHOpenPlugin) GetVersion ¶
func (SSHOpenPlugin) GetVersion() (int, int, int)
Click to show internal directories.
Click to hide internal directories.