recon

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanSubs

func ScanSubs(domain, wordPath, resolver string, workers int) (<-chan DNSResultAny, error)

Types

type DNSResult

type DNSResult struct {
	Domain string   `json:"domain"`
	A      []string `json:"a,omitempty"`
	AAAA   []string `json:"aaaa,omitempty"`
	MX     []string `json:"mx,omitempty"`
	NS     []string `json:"ns,omitempty"`
	TXT    []string `json:"txt,omitempty"`
	CNAME  []string `json:"cname,omitempty"`
}

func QueryDNS

func QueryDNS(domain, resolver string) (DNSResult, error)

type DNSResultAny

type DNSResultAny struct {
	Domain   string `json:"domain"`
	Response bool   `json:"response"`
}

func QueryDNSAny

func QueryDNSAny(domain, resolver string) DNSResultAny

func ScanSub

func ScanSub(word, domain, resolver string) DNSResultAny

type PassiveResult

type PassiveResult struct {
	Domain     string   `json:"domain"`
	Source     string   `json:"source"`
	Subdomains []string `json:"subdomains"`
	TotalCerts int      `json:"certificates_found"`
	FirstSeen  string   `json:"first_seen,omitempty"`
	LastSeen   string   `json:"last_seen,omitempty"`
}

func PassiveRecon

func PassiveRecon(domain string, limit int) (PassiveResult, error)

type WhoisResult

type WhoisResult struct {
	Domain      string   `json:"domain"`
	Registrar   string   `json:"registrar"`
	CreatedDate string   `json:"created_date"`
	ExpiryDate  string   `json:"expiry_date"`
	UpdatedDate string   `json:"updated_date"`
	Nameservers []string `json:"nameservers"`
	Status      []string `json:"status"`
	Raw         string   `json:"-"`
}

func Lookup

func Lookup(domain string) (WhoisResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL