blink/pkg/runner/options.go
2024-07-20 06:19:34 +01:00

24 lines
567 B
Go

package runner
import (
"git.supernets.org/perp/blink/pkg/dns"
)
// Configuration options
type Options struct {
Domains []string // Target domains
Wordlist []string // Target wordlist
Resolvers []string // Target resolvers
UDP bool // Query using UDP
IPv6 bool // Query for IPv6
Timeout int // Query timeout
Threads int // Concurrent threads
OnResult OnResultFunc // Result handler
// Todo
// ENT bool // Query for ENT
}
// Result handler function
type OnResultFunc func(*dns.Result)