ing
This commit is contained in:
parent
ac4d422cd9
commit
9975361ba2
|
@ -1,13 +1,6 @@
|
|||
package: git.loafle.net/commons_go/network_service_matcher
|
||||
import:
|
||||
- package: git.loafle.net/commons_go/logging
|
||||
- package: git.loafle.net/overflow/overflow_discovery
|
||||
subpackages:
|
||||
- service/matcher
|
||||
- service/matcher/snmp
|
||||
- package: git.loafle.net/overflow/overflow_probe
|
||||
subpackages:
|
||||
- matcher/snmp
|
||||
testImport:
|
||||
- package: github.com/stretchr/testify
|
||||
subpackages:
|
||||
|
|
|
@ -3,16 +3,16 @@ package http
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/discovery/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
func TestHTTPMatcher_Packet(t *testing.T) {
|
||||
hm := NewMatcher().(*HTTPMatcher)
|
||||
fmt.Println(hm)
|
||||
fmt.Println(hm.sendPackets[0])
|
||||
fmt.Println(hm.Packet(0))
|
||||
}
|
||||
|
||||
func TestHTTPMatcher_Match(t *testing.T) {
|
||||
|
|
|
@ -3,12 +3,10 @@ package imap
|
|||
import (
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/core/scan/port"
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/core/scan/service/matcher/scaninfo"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
func ImapRun(client net.Conn, t *testing.T) {
|
||||
|
|
|
@ -4,11 +4,10 @@ import (
|
|||
"crypto/tls"
|
||||
"fmt"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/scan/matcher/scaninfo"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
//func SetUp() {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package protected
|
||||
|
||||
//import (
|
||||
// "git.loafle.net/overflow/overflow_discovery/collector/core/scan/service/matcher/packet"
|
||||
// "net"
|
||||
// "testing"
|
||||
//)
|
||||
|
|
|
@ -3,10 +3,10 @@ package rmi
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/discovery/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
func TestNew(t *testing.T) {
|
||||
|
|
|
@ -2,11 +2,10 @@ package ssh
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
//"git.loafle.net/overflow/overflow_discovery/match/ssh"
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
func TestSSHMatcher_Match(t *testing.T) {
|
||||
|
|
|
@ -2,12 +2,10 @@ package wmi
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/scan/matcher/scaninfo"
|
||||
//"git.loafle.net/overflow/overflow_discovery/collector/discovery/types"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
cnsm "git.loafle.net/commons_go/network_service_matcher"
|
||||
)
|
||||
|
||||
func TestWMI(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user