forked from LeakIX/l9plugins
/
map.go
44 lines (39 loc) · 1012 Bytes
/
map.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package l9plugins
import (
"github.com/LeakIX/l9format"
"github.com/xsssends/l9plugins/tcp"
"github.com/xsssends/l9plugins/web"
)
var tcpPlugins = []l9format.ServicePluginInterface{
tcp.Apache2449TraversalPlugin{},
tcp.CouchDbOpenPlugin{},
tcp.ElasticSearchExplorePlugin{},
tcp.ElasticSearchOpenPlugin{},
tcp.KafkaOpenPlugin{},
tcp.MongoSchemaPlugin{},
tcp.MongoOpenPlugin{},
tcp.MysqlWeakPlugin{},
tcp.MysqlSchemaPlugin{},
tcp.RedisOpenPlugin{},
tcp.SSHOpenPlugin{},
tcp.DotDsStoreOpenPlugin{},
}
var webPlugins = []l9format.WebPluginInterface{
web.ApacheStatusHttpPlugin{},
web.ConfigJsonHttp{},
web.DotEnvHttpPlugin{},
web.GitConfigHttpPlugin{},
web.IdxConfigPlugin{},
web.LaravelTelescopeHttpPlugin{},
web.PhpInfoHttpPlugin{},
web.FirebaseHttpPlugin{},
web.WpUserEnumHttp{},
web.ConfluenceVersionIssue{},
web.JiraPlugin{},
}
func GetTcpPlugins() []l9format.ServicePluginInterface {
return tcpPlugins
}
func GetWebPlugins() []l9format.WebPluginInterface {
return webPlugins
}