Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DnsServer = "8.8.8.8" DnsPort = "53" )
Functions ¶
func ShowUsageOnError ¶
func ShowUsageOnError(e error)
showUsageOnError function as a generic check for error when panic is too aggressive
func WriteResultsToCsv ¶
func WriteResultsToCsv(scanResults []DomainScan, outputFilePath string)
Output results to CSV
Types ¶
type CMS ¶
type CMS struct { Name string `csv:"name"` CName string `csv:"cname"` String string `csv:"string"` OverHTTP string `csv:"http"` }
func LoadProviders ¶
Load providers CSV file, which contains service provider data which could be vulnerable.
type Configuration ¶
type DomainScan ¶
type DomainScan struct { Domain string Cname string Provider string IsVulnerable bool IsTakenOver bool Response string }
func ScanDomain ¶
func ScanDomain(domain string, cmsRecords []*CMS, config Configuration) ([]DomainScan, error)
ScanDomain function to scan for each domain being read from the domains file
Click to show internal directories.
Click to hide internal directories.