Documentation
¶
Index ¶
Constants ¶
View Source
const (
NotSupportProtocol = "protocol is not support"
)
Variables ¶
View Source
var CDNCheck = false
View Source
var DomainDatabase = sync.Map{}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DeepInspection bool
Timeout time.Duration
Threads int
Interval time.Duration
HostDiscoverClosed bool
}
func DefaultConfig ¶
func DefaultConfig() *Config
type DomainClient ¶
type DomainClient struct {
HandlerIsCDN func(domain, CDNInfo string)
HandlerRealIP func(domain string, ip net.IP)
HandlerError func(domain string, err error)
// contains filtered or unexported fields
}
func NewDomainScanner ¶
func NewDomainScanner(config *Config) *DomainClient
func (*DomainClient) Push ¶
func (c *DomainClient) Push(domain string)
func (DomainClient) RunningThreads ¶
func (c DomainClient) RunningThreads() int
type FingerPrint ¶
type HydraClient ¶
type HydraClient struct {
HandlerSuccess func(addr net.IP, port int, protocol string, auth *hydra.Auth)
HandlerError func(addr net.IP, port int, protocol string, err error)
// contains filtered or unexported fields
}
func NewHydraScanner ¶
func NewHydraScanner(config *Config) *HydraClient
func (HydraClient) RunningThreads ¶
func (c HydraClient) RunningThreads() int
type IPClient ¶
type IPClient struct {
HandlerAlive func(addr net.IP)
HandlerDie func(addr net.IP)
HandlerError func(addr net.IP, err error)
// contains filtered or unexported fields
}
func NewIPScanner ¶
func (IPClient) RunningThreads ¶
func (c IPClient) RunningThreads() int
type PortClient ¶
type PortClient struct {
HandlerClosed func(addr net.IP, port int)
HandlerOpen func(addr net.IP, port int)
HandlerNotMatched func(addr net.IP, port int, response string)
HandlerMatched func(addr net.IP, port int, response *gonmap.Response)
HandlerError func(addr net.IP, port int, err error)
// contains filtered or unexported fields
}
func NewPortScanner ¶
func NewPortScanner(config *Config) *PortClient
func (PortClient) RunningThreads ¶
func (c PortClient) RunningThreads() int
type URLClient ¶
type URLClient struct {
HandlerMatched func(url *url.URL, banner *appfinger.Banner, finger *appfinger.FingerPrint)
HandlerError func(url *url.URL, err error)
// contains filtered or unexported fields
}
func NewURLScanner ¶
func (URLClient) RunningThreads ¶
func (c URLClient) RunningThreads() int
Click to show internal directories.
Click to hide internal directories.