Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Domain string
Entries []string
Concurrency int
Timeout time.Duration
DNSServer string
Simulate bool
HitRate int
Attempts int
Force bool
Verbose bool
Rate int // max DNS queries per second across all workers (0 = unlimited)
Types []string // record types to look up (A, AAAA, CNAME); empty = A,AAAA
Recursive bool // enumerate subdomains of discovered subdomains
Depth int // max recursion depth (1 = no recursion)
}
Config holds all parameters needed to run a subdomain scan.
type Event ¶
type Event struct {
Kind EventKind
Domain string // EventResult: the resolved subdomain
Records []dns.Record // EventResult: the resolved records (A/AAAA/CNAME)
Processed int64 // EventProgress
Total int64 // EventProgress
Found int64 // EventProgress / EventDone
Message string // EventError / EventWildcard
}
Event is emitted on the events channel during a scan.
Click to show internal directories.
Click to hide internal directories.