This commit is contained in:
crusader 2018-10-24 02:23:21 +09:00
parent 76e8feee72
commit adf13e0f22

View File

@ -2,19 +2,28 @@ package matcher
import ( import (
osm "git.loafle.net/overflow/service_matcher-go" osm "git.loafle.net/overflow/service_matcher-go"
"git.loafle.net/overflow/service_matcher-go/activedirectory"
"git.loafle.net/overflow/service_matcher-go/cassandra"
"git.loafle.net/overflow/service_matcher-go/echo" "git.loafle.net/overflow/service_matcher-go/echo"
"git.loafle.net/overflow/service_matcher-go/elasticsearch" "git.loafle.net/overflow/service_matcher-go/elasticsearch"
"git.loafle.net/overflow/service_matcher-go/ftp" "git.loafle.net/overflow/service_matcher-go/ftp"
"git.loafle.net/overflow/service_matcher-go/http" "git.loafle.net/overflow/service_matcher-go/http"
"git.loafle.net/overflow/service_matcher-go/imap"
"git.loafle.net/overflow/service_matcher-go/ldap" "git.loafle.net/overflow/service_matcher-go/ldap"
"git.loafle.net/overflow/service_matcher-go/lpd" "git.loafle.net/overflow/service_matcher-go/lpd"
"git.loafle.net/overflow/service_matcher-go/mongodb" "git.loafle.net/overflow/service_matcher-go/mongodb"
"git.loafle.net/overflow/service_matcher-go/mysql" "git.loafle.net/overflow/service_matcher-go/mysql"
"git.loafle.net/overflow/service_matcher-go/nbss" "git.loafle.net/overflow/service_matcher-go/nbss"
"git.loafle.net/overflow/service_matcher-go/oracle"
"git.loafle.net/overflow/service_matcher-go/pop"
"git.loafle.net/overflow/service_matcher-go/postgresql" "git.loafle.net/overflow/service_matcher-go/postgresql"
"git.loafle.net/overflow/service_matcher-go/redis" "git.loafle.net/overflow/service_matcher-go/redis"
"git.loafle.net/overflow/service_matcher-go/rmi"
"git.loafle.net/overflow/service_matcher-go/smb"
"git.loafle.net/overflow/service_matcher-go/sqlserver"
"git.loafle.net/overflow/service_matcher-go/ssh" "git.loafle.net/overflow/service_matcher-go/ssh"
"git.loafle.net/overflow/service_matcher-go/telnet" "git.loafle.net/overflow/service_matcher-go/telnet"
"git.loafle.net/overflow/service_matcher-go/wmi"
) )
var ( var (
@ -31,19 +40,27 @@ var (
func init() { func init() {
//TCP //TCP
addTCPMatcher(ssh.NewMatcher()) addTCPMatcher(activedirectory.NewMatcher())
addTCPMatcher(cassandra.NewMatcher())
addTCPMatcher(echo.NewMatcher()) addTCPMatcher(echo.NewMatcher())
addTCPMatcher(mongodb.NewMatcher())
addTCPMatcher(mysql.NewMatcher())
addTCPMatcher(redis.NewMatcher())
addTCPMatcher(postgresql.NewMatcher())
addTCPMatcher(ftp.NewMatcher()) addTCPMatcher(ftp.NewMatcher())
addTCPMatcher(http.NewMatcher()) addTCPMatcher(http.NewMatcher())
addTCPMatcher(lpd.NewMatcher()) addTCPMatcher(imap.NewMatcher())
addTCPMatcher(telnet.NewMatcher())
addTCPMatcher(nbss.NewMatcher())
addTCPMatcher(ldap.NewMatcher()) addTCPMatcher(ldap.NewMatcher())
addTCPMatcher(lpd.NewMatcher())
addTCPMatcher(mongodb.NewMatcher())
addTCPMatcher(mysql.NewMatcher()) addTCPMatcher(mysql.NewMatcher())
addTCPMatcher(nbss.NewMatcher())
addTCPMatcher(oracle.NewMatcher())
addTCPMatcher(pop.NewMatcher())
addTCPMatcher(postgresql.NewMatcher())
addTCPMatcher(redis.NewMatcher())
addTCPMatcher(rmi.NewMatcher())
addTCPMatcher(smb.NewMatcher())
addTCPMatcher(sqlserver.NewMatcher())
addTCPMatcher(ssh.NewMatcher())
addTCPMatcher(telnet.NewMatcher())
addTCPMatcher(wmi.NewMatcher())
// UDP // UDP
// addUDPMatcher(dns.NewMatcher()) // addUDPMatcher(dns.NewMatcher())