fixed
address
This commit is contained in:
parent
e2e4228599
commit
26eead5021
|
@ -5,7 +5,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"log"
|
"log"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Internal interface {
|
type Internal interface {
|
||||||
|
|
|
@ -2,9 +2,9 @@ package activedirectory_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/activedirectory"
|
"git.loafle.net/overflow/commons_go/matcher/activedirectory"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ActiveDirectoryHealthCrawler struct {
|
type ActiveDirectoryHealthCrawler struct {
|
||||||
|
|
|
@ -3,10 +3,10 @@ package activedirectory_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -15,9 +15,9 @@ import (
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package cassandra_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/cassandra"
|
"git.loafle.net/overflow/commons_go/matcher/cassandra"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CassandraHealthCrawler struct {
|
type CassandraHealthCrawler struct {
|
||||||
|
|
|
@ -3,10 +3,10 @@ package cassandra_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -74,9 +74,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package dns_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/dns"
|
"git.loafle.net/overflow/commons_go/matcher/dns"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DNSHealthCrawler struct {
|
type DNSHealthCrawler struct {
|
||||||
|
|
|
@ -3,10 +3,10 @@ package dns_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -74,9 +74,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,8 +2,8 @@ package ftp_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"loafle.com/overflow/commons_go/matcher/packet"
|
"git.loafle.net/overflow/commons_go/matcher/packet"
|
||||||
"loafle.com/overflow/commons_go/model/scaninfo"
|
"git.loafle.net/overflow/commons_go/model/scaninfo"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -2,9 +2,9 @@ package ftp_protocol_crawler_go
|
||||||
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FTPHealthCrawler struct {
|
type FTPHealthCrawler struct {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
package ftp_protocol_crawler_go
|
package ftp_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"testing"
|
"testing"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setConfig() crawler.Crawler {
|
func setConfig() crawler.Crawler {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package ftps_protocol_crawler_go
|
package ftps_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"loafle.com/overflow/commons_go/matcher/packet"
|
"git.loafle.net/overflow/commons_go/matcher/packet"
|
||||||
"loafle.com/overflow/commons_go/model/scaninfo"
|
"git.loafle.net/overflow/commons_go/model/scaninfo"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package ftps_protocol_crawler_go
|
package ftps_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/ftp"
|
"git.loafle.net/overflow/commons_go/matcher/ftp"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FTPSHealthCrawler struct {
|
type FTPSHealthCrawler struct {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
package ftps_protocol_crawler_go
|
package ftps_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"testing"
|
"testing"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setConfig() crawler.Crawler {
|
func setConfig() crawler.Crawler {
|
||||||
|
|
|
@ -2,9 +2,9 @@ package http_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/http"
|
"git.loafle.net/overflow/commons_go/matcher/http"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type HTTPHealthCrawler struct {
|
type HTTPHealthCrawler struct {
|
||||||
|
@ -29,16 +29,16 @@ func NewHTTPHealthCrawler() *HTTPHealthCrawler {
|
||||||
//package main
|
//package main
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "log"
|
// "log"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "net"
|
// "net"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/http"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/http"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// "loafle.com/overflow/collector/discovery/types/timestamp"
|
// "git.loafle.net/overflow/collector/discovery/types/timestamp"
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
//type HttpProtocol struct {
|
//type HttpProtocol struct {
|
||||||
|
|
|
@ -3,10 +3,10 @@ package http_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -2,9 +2,9 @@ package imap_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/imap"
|
"git.loafle.net/overflow/commons_go/matcher/imap"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type IMAPHealthCrawler struct {
|
type IMAPHealthCrawler struct {
|
||||||
|
@ -32,11 +32,11 @@ func NewIMAPHealthCrawler() *IMAPHealthCrawler {
|
||||||
//import (
|
//import (
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/imap"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/imap"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package imap_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -75,9 +75,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package ldap_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/ldap"
|
"git.loafle.net/overflow/commons_go/matcher/ldap"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type LDAPHealthCrawler struct {
|
type LDAPHealthCrawler struct {
|
||||||
|
@ -31,11 +31,11 @@ func NewLDAPHealthCrawler() *LDAPHealthCrawler {
|
||||||
//import (
|
//import (
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/ldap"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/ldap"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package ldap_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -75,9 +75,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package mongodb_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/mongodb"
|
"git.loafle.net/overflow/commons_go/matcher/mongodb"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MongoDBHealthCrawler struct {
|
type MongoDBHealthCrawler struct {
|
||||||
|
@ -30,11 +30,11 @@ func NewMongoDBHealthCrawler() *MongoDBHealthCrawler {
|
||||||
//import (
|
//import (
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/mongodb"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/mongodb"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package mongodb_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -75,9 +75,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package mssql_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/mssql"
|
"git.loafle.net/overflow/commons_go/matcher/mssql"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MSSqlHeahthCrawler struct {
|
type MSSqlHeahthCrawler struct {
|
||||||
|
@ -29,14 +29,14 @@ func NewMSSqlHeahthCrawler() *MSSqlHeahthCrawler {
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/mssql"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/mssql"
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
//////////////// Delegate.Get implement /////////////////
|
//////////////// Delegate.Get implement /////////////////
|
||||||
|
|
|
@ -3,10 +3,10 @@ package mssql_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -3,9 +3,9 @@ package mysql_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/mysql"
|
"git.loafle.net/overflow/commons_go/matcher/mysql"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MysqlHeahthCrawler struct {
|
type MysqlHeahthCrawler struct {
|
||||||
|
@ -32,11 +32,11 @@ func NewMysqlHeahthCrawler() *MysqlHeahthCrawler {
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/mysql"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/mysql"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -4,10 +4,10 @@ package mysql_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -3,9 +3,9 @@ package netbios_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/netbios"
|
"git.loafle.net/overflow/commons_go/matcher/netbios"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type NetbiosHeahthCrawler struct {
|
type NetbiosHeahthCrawler struct {
|
||||||
|
@ -31,14 +31,14 @@ func NewNetbiosHeahthCrawler() *NetbiosHeahthCrawler {
|
||||||
|
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/netbios"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/netbios"
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
//////////////// Delegate.Get implement /////////////////
|
//////////////// Delegate.Get implement /////////////////
|
||||||
|
|
|
@ -4,10 +4,10 @@ package netbios_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -78,9 +78,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package oracle_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/oracle"
|
"git.loafle.net/overflow/commons_go/matcher/oracle"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OracleHeahthCrawler struct {
|
type OracleHeahthCrawler struct {
|
||||||
|
@ -33,16 +33,16 @@ func NewOracleHeahthCrawler() *OracleHeahthCrawler {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/oracle"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/oracle"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package oracle_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -94,9 +94,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package pgsql_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/pgsql"
|
"git.loafle.net/overflow/commons_go/matcher/pgsql"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PGSqlHeahthCrawler struct {
|
type PGSqlHeahthCrawler struct {
|
||||||
|
@ -30,14 +30,14 @@ func NewPGSqlHeahthCrawler() *PGSqlHeahthCrawler {
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/mssql"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/mssql"
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
//////////////// Delegate.Get implement /////////////////
|
//////////////// Delegate.Get implement /////////////////
|
||||||
|
|
|
@ -3,10 +3,10 @@ package pgsql_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -2,9 +2,9 @@ package pop3_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/pop"
|
"git.loafle.net/overflow/commons_go/matcher/pop"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type POP3HeahthCrawler struct {
|
type POP3HeahthCrawler struct {
|
||||||
|
@ -33,11 +33,11 @@ func NewPOP3HeahthCrawler() *POP3HeahthCrawler {
|
||||||
//import (
|
//import (
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/pop"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/pop"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package pop3_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -79,9 +79,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package redis_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/redis"
|
"git.loafle.net/overflow/commons_go/matcher/redis"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RedisHeahthCrawler struct {
|
type RedisHeahthCrawler struct {
|
||||||
|
|
|
@ -3,9 +3,9 @@ package redis_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"testing"
|
"testing"
|
||||||
"loafle.com/overflow/crawler_go/config"
|
"git.loafle.net/overflow/crawler_go/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setConfig() crawler.Crawler {
|
func setConfig() crawler.Crawler {
|
||||||
|
|
|
@ -2,9 +2,9 @@ package rmi_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/rmi"
|
"git.loafle.net/overflow/commons_go/matcher/rmi"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RMIHeahthCrawler struct {
|
type RMIHeahthCrawler struct {
|
||||||
|
@ -30,11 +30,11 @@ func NewRMIHeahthCrawler() *RMIHeahthCrawler {
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/rmi"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/rmi"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package rmi_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package smb_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/smb"
|
"git.loafle.net/overflow/commons_go/matcher/smb"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SMBHeahthCrawler struct {
|
type SMBHeahthCrawler struct {
|
||||||
|
@ -32,16 +32,16 @@ func NewSMBHeahthCrawler() *SMBHeahthCrawler {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
//
|
//
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/smb"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/smb"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package smb_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -79,9 +79,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package smtp_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/smtp"
|
"git.loafle.net/overflow/commons_go/matcher/smtp"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SMTPHeahthCrawler struct {
|
type SMTPHeahthCrawler struct {
|
||||||
|
@ -33,11 +33,11 @@ func NewSMTPHeahthCrawler() *SMTPHeahthCrawler {
|
||||||
//import (
|
//import (
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/smtp"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/smtp"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "log"
|
// "log"
|
||||||
// "net"
|
// "net"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
|
|
|
@ -3,10 +3,10 @@ package smtp_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package snmpv2c_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/snmp"
|
"git.loafle.net/overflow/commons_go/matcher/snmp"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SNMPV2CHeahthCrawler struct {
|
type SNMPV2CHeahthCrawler struct {
|
||||||
|
@ -31,16 +31,16 @@ func NewSNMPV2CHeahthCrawler() *SNMPV2CHeahthCrawler {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
//
|
//
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/snmp"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/snmp"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package snmpv2c_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -78,9 +78,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "time"
|
// "time"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package snmpv3_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/snmp"
|
"git.loafle.net/overflow/commons_go/matcher/snmp"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SNMPV3HeahthCrawler struct {
|
type SNMPV3HeahthCrawler struct {
|
||||||
|
@ -31,16 +31,16 @@ func NewSNMPV3HeahthCrawler() *SNMPV3HeahthCrawler {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
//
|
//
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/snmp"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/snmp"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package snmpv3_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "time"
|
// "time"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package ssh_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/ssh"
|
"git.loafle.net/overflow/commons_go/matcher/ssh"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SSHHeahthCrawler struct {
|
type SSHHeahthCrawler struct {
|
||||||
|
@ -32,16 +32,16 @@ func NewSSHHeahthCrawler() *SSHHeahthCrawler {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/ssh"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/ssh"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package ssh_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package telnet_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/telnet"
|
"git.loafle.net/overflow/commons_go/matcher/telnet"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TelnetHeahthCrawler struct {
|
type TelnetHeahthCrawler struct {
|
||||||
|
@ -31,16 +31,16 @@ func NewTelnetHeahthCrawler() *TelnetHeahthCrawler {
|
||||||
//package main
|
//package main
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/telnet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/telnet"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package telnet_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "time"
|
// "time"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package wmi_protocol_crawler_go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/commons_go/matcher/wmi"
|
"git.loafle.net/overflow/commons_go/matcher/wmi"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WMIHeahthCrawler struct {
|
type WMIHeahthCrawler struct {
|
||||||
|
@ -31,16 +31,16 @@ func NewWMIHeahthCrawler() *WMIHeahthCrawler {
|
||||||
//package wmi_protocol_crawler
|
//package wmi_protocol_crawler
|
||||||
//
|
//
|
||||||
//import (
|
//import (
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
// "crypto/tls"
|
// "crypto/tls"
|
||||||
// "net"
|
// "net"
|
||||||
//
|
//
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/wmi"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/wmi"
|
||||||
// "loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
// "git.loafle.net/overflow/collector/core/scan/service/matcher/packet"
|
||||||
// rpc "loafle.com/overflow/of_rpc/json"
|
// rpc "git.loafle.net/overflow/of_rpc/json"
|
||||||
//
|
//
|
||||||
// "log"
|
// "log"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package wmi_protocol_crawler_go
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
"loafle.com/overflow/of_rpc_go"
|
"git.loafle.net/overflow/of_rpc_go"
|
||||||
"loafle.com/overflow/of_rpc_go/client"
|
"git.loafle.net/overflow/of_rpc_go/client"
|
||||||
"loafle.com/overflow/of_rpc_go/models/param"
|
"git.loafle.net/overflow/of_rpc_go/models/param"
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -77,9 +77,9 @@ func TestRPC(t *testing.T) {
|
||||||
//import (
|
//import (
|
||||||
// "github.com/stretchr/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "time"
|
// "time"
|
||||||
// "loafle.com/overflow/of_rpc/models/protocol"
|
// "git.loafle.net/overflow/of_rpc/models/protocol"
|
||||||
// "loafle.com/overflow/of_rpc/models/param"
|
// "git.loafle.net/overflow/of_rpc/models/param"
|
||||||
// "loafle.com/overflow/of_rpc/json/client"
|
// "git.loafle.net/overflow/of_rpc/json/client"
|
||||||
// "testing"
|
// "testing"
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
//)
|
//)
|
||||||
|
|
|
@ -2,11 +2,11 @@ package crawler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"loafle.com/overflow/commons_go/matcher"
|
"git.loafle.net/overflow/commons_go/matcher"
|
||||||
"loafle.com/overflow/commons_go/matcher/packet"
|
"git.loafle.net/overflow/commons_go/matcher/packet"
|
||||||
"net"
|
"net"
|
||||||
"loafle.com/overflow/commons_go/model/scaninfo"
|
"git.loafle.net/overflow/commons_go/model/scaninfo"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "git.loafle.net/overflow/agent_api/config_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SocketHeahthCrawler struct {
|
type SocketHeahthCrawler struct {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"loafle.com/overflow/crawler_go/health_crawler/redis_protocol_crawler_go"
|
"git.loafle.net/overflow/crawler_go/health_crawler/redis_protocol_crawler_go"
|
||||||
"loafle.com/overflow/crawler_go"
|
"git.loafle.net/overflow/crawler_go"
|
||||||
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user