Documentation ¶
Overview ¶
Package runner executes the enumeration process.
Index ¶
Constants ¶
View Source
const ( Comma = "," NewLine = "\n" )
View Source
const (
DefaultResumeFile = "resume.cfg"
)
View Source
const ToolName = `dnsx`
Name
Variables ¶
View Source
var PDCPApiKey string
Functions ¶
func AuthWithPDCP ¶ added in v1.2.0
func AuthWithPDCP()
AuthWithPDCP is used to authenticate with PDCP
func DoHealthCheck ¶ added in v1.1.1
func GetUpdateCallback ¶ added in v1.1.3
func GetUpdateCallback() func()
GetUpdateCallback returns a callback function that updates dnsx
Types ¶
type Options ¶
type Options struct { Resolvers string Hosts string Domains string WordList string Threads int RateLimit int Retries int OutputFormat string OutputFile string Raw bool Silent bool Verbose bool Version bool NoColor bool Response bool ResponseOnly bool A bool AAAA bool NS bool CNAME bool PTR bool MX bool SOA bool ANY bool TXT bool SRV bool AXFR bool JSON bool OmitRaw bool Trace bool TraceMaxRecursion int WildcardThreshold int WildcardDomain string ShowStatistics bool RCode string Resume bool HostsFile bool Stream bool CAA bool QueryAll bool ExcludeType []string OutputCDN bool ASN bool HealthCheck bool DisableUpdateCheck bool PdcpAuth string // contains filtered or unexported fields }
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line options for application
func (*Options) ShouldLoadResume ¶ added in v1.0.6
ShouldLoadResume resume file
func (*Options) ShouldSaveResume ¶ added in v1.0.6
ShouldSaveResume file
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is a client for running the enumeration process.
func (*Runner) HandleOutput ¶
func (r *Runner) HandleOutput()
func (*Runner) InputWorker ¶
func (r *Runner) InputWorker()
func (*Runner) InputWorkerStream ¶ added in v1.1.0
func (r *Runner) InputWorkerStream()
func (*Runner) IsWildcard ¶
IsWildcard checks if a host is wildcard
func (*Runner) SaveResumeConfig ¶ added in v1.0.6
SaveResumeConfig to file
Click to show internal directories.
Click to hide internal directories.