Documentation
¶
Index ¶
Constants ¶
View Source
const ( IssueTargetNoResolve IssueType = "target might be unclaimed" IssueCnameTakeover = "points to unclaimed resource" IssueNsTakeover = "unclaimed zone delegation" )
View Source
const ( MethodCnameOnly DetectionMethod = "CNAME only" MethodPatternOnly = "response body only" MethodCnamePattern = "CNAME + response body" MethodCnameLookup = "CNAME target lookup" MethodServfail = "SERVFAIL check" )
View Source
const ( NoService = "n/a" NoTarget = "no domain" NoNameserver = "no nameserver" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectionMethod ¶
type DetectionMethod string
type DomainChecker ¶
type DomainChecker struct { Domains chan string // contains filtered or unexported fields }
func NewDomainChecker ¶
func NewDomainChecker(config *DomainCheckerConfig) *DomainChecker
func (*DomainChecker) Results ¶
func (d *DomainChecker) Results() <-chan *Finding
func (*DomainChecker) Scan ¶
func (d *DomainChecker) Scan()
type DomainCheckerConfig ¶
type Finding ¶
type Finding struct { Domain string `json:"domain"` Target string `json:"target"` Service string `json:"service"` Type IssueType `json:"type"` Method DetectionMethod `json:"method"` }
Click to show internal directories.
Click to hide internal directories.