Documentation ¶
Index ¶
Constants ¶
View Source
const (
DnsTimeout = 3e9
)
Variables ¶
View Source
var DefaultWordlist = [...]string{}/* 1009 elements not displayed */
Borrowed from dnsmap, thanks neighbour!
View Source
var PublicDnsServers = [...]string{
"8.8.8.8:53", "8.8.4.4:53",
"208.67.222.222:53", "208.67.220.220:53",
"209.244.0.3:53", "209.244.0.4:53",
"156.154.70.1:53", "156.154.71.1:53",
"4.2.2.1:53", "4.2.2.2:53",
"74.122.198.48:53", "72.14.183.109:53",
"69.164.196.21:53", "208.115.243.38:53",
}
Functions ¶
func ConvertMaskToRegex ¶
Converts a mask string with * into a regex
func GetRandomPublicDnsServer ¶
func GetRandomPublicDnsServer() string
Types ¶
type Request ¶
type Request struct { Hostname string DnsServer string // Results Error error IPAddresses []net.IP }
func CreateRequest ¶
type Session ¶
type Session struct { // Properties Domain string Concurrency int Wordlist []string IgnoredAddresses []string IgnoredAddressesRegex []*regexp.Regexp OutputPath string // contains filtered or unexported fields }
func CreateSession ¶
func (*Session) CheckIPAddressIgnored ¶
func (*Session) WorkerLoop ¶
func (s *Session) WorkerLoop()
Click to show internal directories.
Click to hide internal directories.