blink/v1/pkg/runner/options.go

23 lines
570 B
Go
Raw Normal View History

2024-07-08 01:04:54 +00:00
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
2024-07-09 16:25:03 +00:00
UDP bool // Query using UDP
IPv6 bool // Query for IPv6
2024-07-08 01:04:54 +00:00
// Verify bool // Verify query
Timeout int // Query timeout
Threads int // Concurrent threads
OnResult OnResultFunc // Result handler
}
// Result handler function
type OnResultFunc func(*dns.Result)