blink/v1/pkg/runner/options.go
2024-07-09 19:27:00 +01:00

25 lines
610 B
Go

package runner
import (
"git.supernets.org/perp/blink/v1/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
Verify bool // Verify query
Threads int // Concurrent threads
OnResult OnResultFunc // Result handler
// Todo
// ENT bool // Query for ENT
}
// Result handler function
type OnResultFunc func(*dns.Result)