blink/v1/pkg/runner/options.go

25 lines
610 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 {
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
2024-07-09 18:27:00 +00:00
Verify bool // Verify query
2024-07-09 17:00:24 +00:00
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)