address
This commit is contained in:
snoop 2017-05-29 19:52:11 +09:00
parent ce43ef3550
commit 456cd0b7d2
27 changed files with 75 additions and 75 deletions

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -3,8 +3,8 @@ package cassandra
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -3,8 +3,8 @@ package dns
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
) )
type Dns_frame_header struct { type Dns_frame_header struct {

View File

@ -2,8 +2,8 @@ package ftp
import ( import (
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
"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"
) )
// FTP Status codes, defined in RFC 959 // FTP Status codes, defined in RFC 959

View File

@ -5,9 +5,9 @@ import (
"testing" "testing"
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
"loafle.com/overflow/collector/discovery/scan/matcher/packet" "git.loafle.net/overflow/collector/discovery/scan/matcher/packet"
"loafle.com/overflow/collector/discovery/scan/matcher/scaninfo" "git.loafle.net/overflow/collector/discovery/scan/matcher/scaninfo"
"loafle.com/overflow/collector/discovery/types" "git.loafle.net/overflow/collector/discovery/types"
"net" "net"
) )

View File

@ -1,8 +1,8 @@
package http package http
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"
"strings" "strings"
) )

View File

@ -1,8 +1,8 @@
package imap package imap
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 (

View File

@ -3,8 +3,8 @@ package ldap
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
) )
type LDAPMatcher struct { type LDAPMatcher struct {

View File

@ -1,29 +1,29 @@
package matcher package matcher
import ( import (
//"loafle.com/overflow/collector/core/scan/service/matcher/activedirectory" //"git.loafle.net/overflow/collector/core/scan/service/matcher/activedirectory"
//"loafle.com/overflow/collector/core/scan/service/matcher/cassandra" //"git.loafle.net/overflow/collector/core/scan/service/matcher/cassandra"
//"loafle.com/overflow/collector/core/scan/service/matcher/dns" //"git.loafle.net/overflow/collector/core/scan/service/matcher/dns"
//"loafle.com/overflow/collector/core/scan/service/matcher/ftp" //"git.loafle.net/overflow/collector/core/scan/service/matcher/ftp"
//"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/imap" //"git.loafle.net/overflow/collector/core/scan/service/matcher/imap"
//"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/mongodb" //"git.loafle.net/overflow/collector/core/scan/service/matcher/mongodb"
//"loafle.com/overflow/collector/core/scan/service/matcher/mssql" //"git.loafle.net/overflow/collector/core/scan/service/matcher/mssql"
//"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/netbios" //"git.loafle.net/overflow/collector/core/scan/service/matcher/netbios"
"loafle.com/overflow/commons_go/matcher/oracle" "git.loafle.net/overflow/commons_go/matcher/oracle"
"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"
//"loafle.com/overflow/collector/core/scan/service/matcher/pop" //"git.loafle.net/overflow/collector/core/scan/service/matcher/pop"
//"loafle.com/overflow/collector/core/scan/service/matcher/redis" //"git.loafle.net/overflow/collector/core/scan/service/matcher/redis"
//"loafle.com/overflow/collector/core/scan/service/matcher/rmi" //"git.loafle.net/overflow/collector/core/scan/service/matcher/rmi"
//"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/smtp" //"git.loafle.net/overflow/collector/core/scan/service/matcher/smtp"
//"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/ssh" //"git.loafle.net/overflow/collector/core/scan/service/matcher/ssh"
//"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/wmi" //"git.loafle.net/overflow/collector/core/scan/service/matcher/wmi"
) )
var ( var (

View File

@ -5,8 +5,8 @@ import (
"encoding/binary" "encoding/binary"
"math/rand" "math/rand"
"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 (

View File

@ -3,8 +3,8 @@ package mssql
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"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"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -3,8 +3,8 @@ package netbios
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -3,8 +3,8 @@ package oracle
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
) )
type OracleMatcher struct { type OracleMatcher struct {

View File

@ -3,8 +3,8 @@ package pgsql
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
"strings" "strings"
) )

View File

@ -2,7 +2,7 @@ package pgsql
import ( import (
"loafle.com/overflow/commons_go/matcher/packet" "git.loafle.net/overflow/commons_go/matcher/packet"
"net" "net"
"testing" "testing"
"crypto/tls" "crypto/tls"

View File

@ -1,8 +1,8 @@
package pop package pop
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 (

View File

@ -1,8 +1,8 @@
package redis package redis
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"
"strings" "strings"
) )

View File

@ -1,8 +1,8 @@
package redis package redis
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 (

View File

@ -3,8 +3,8 @@ package rmi
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -3,8 +3,8 @@ package smb
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
"strings" "strings"
) )

View File

@ -1,8 +1,8 @@
package smtp package smtp
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"
"strings" "strings"
) )

View File

@ -3,8 +3,8 @@ package snmp
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (

View File

@ -3,8 +3,8 @@ package snmp
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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"
) )
type snmpv3GlobalData struct { type snmpv3GlobalData struct {

View File

@ -1,8 +1,8 @@
package ssh package ssh
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"
"strings" "strings"
) )

View File

@ -1,8 +1,8 @@
package telnet package telnet
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 (

View File

@ -3,8 +3,8 @@ package wmi
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"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 (