blink/v1/pkg/runner/options.go
2024-07-09 17:28:55 +01:00

23 lines
570 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
// ENT bool // Query for ENT
UDP bool // Query using UDP
IPv6 bool // Query for IPv6
// Verify bool // Verify query
Timeout int // Query timeout
Threads int // Concurrent threads
OnResult OnResultFunc // Result handler
}
// Result handler function
type OnResultFunc func(*dns.Result)