blink/pkg/runner/options.go

24 lines
567 B
Go
Raw Permalink Normal View History

2024-07-08 01:04:54 +00:00
package runner
import (
2024-07-20 05:19:34 +00:00
"git.supernets.org/perp/blink/pkg/dns"
2024-07-08 01:04:54 +00:00
)
// Configuration options
type Options struct {
2024-07-09 17:00:24 +00:00
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
2024-07-08 01:04:54 +00:00
}
// Result handler function
type OnResultFunc func(*dns.Result)