source

package
v0.0.0-...-79aecd9 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableSourceNames

func AvailableSourceNames() []string

func ConfigureRuntime

func ConfigureRuntime(opts RuntimeOptions)

Types

type AlienVault

type AlienVault struct {
	// contains filtered or unexported fields
}

func NewAlienVault

func NewAlienVault(client *http.Client) *AlienVault

func (*AlienVault) Enumerate

func (s *AlienVault) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*AlienVault) Name

func (s *AlienVault) Name() string

type Anubis

type Anubis struct {
	// contains filtered or unexported fields
}

func NewAnubis

func NewAnubis(client *http.Client) *Anubis

func (*Anubis) Enumerate

func (s *Anubis) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Anubis) Name

func (s *Anubis) Name() string

type BuildOptions

type BuildOptions struct {
	HTTPTimeout     time.Duration
	Requested       []string
	Excluded        []string
	Runtime         RuntimeOptions
	RespectOrdering bool
}

type CRTSh

type CRTSh struct {
	// contains filtered or unexported fields
}

func NewCRTSh

func NewCRTSh(client *http.Client) *CRTSh

func (*CRTSh) Enumerate

func (s *CRTSh) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*CRTSh) Name

func (s *CRTSh) Name() string

type Censys

type Censys struct {
	// contains filtered or unexported fields
}

func NewCensys

func NewCensys(client *http.Client) *Censys

func (*Censys) Enumerate

func (s *Censys) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Censys) Name

func (s *Censys) Name() string

type CertSpotter

type CertSpotter struct {
	// contains filtered or unexported fields
}

func NewCertSpotter

func NewCertSpotter(client *http.Client) *CertSpotter

func (*CertSpotter) Enumerate

func (s *CertSpotter) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*CertSpotter) Name

func (s *CertSpotter) Name() string

type Chaos

type Chaos struct {
	// contains filtered or unexported fields
}

func NewChaos

func NewChaos(client *http.Client) *Chaos

func (*Chaos) Enumerate

func (s *Chaos) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Chaos) Name

func (s *Chaos) Name() string

type CollectOptions

type CollectOptions struct {
	Retries        int
	Backoff        time.Duration
	Timeout        time.Duration
	SourceTimeouts map[string]time.Duration
	CacheDir       string
	CacheTTL       time.Duration
	NoCache        bool
}

type CollectReport

type CollectReport struct {
	Candidates []model.Candidate
	Errors     []error
	Counts     map[string]int
	CacheHits  map[string]int
	SourceErrs map[string]error
}

func Collect

func Collect(ctx context.Context, domain string, sources []Source, opts CollectOptions) CollectReport

type CommonCrawl

type CommonCrawl struct {
	// contains filtered or unexported fields
}

func NewCommonCrawl

func NewCommonCrawl(client *http.Client) *CommonCrawl

func (*CommonCrawl) Enumerate

func (s *CommonCrawl) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*CommonCrawl) Name

func (s *CommonCrawl) Name() string

type Digitorus

type Digitorus struct {
	// contains filtered or unexported fields
}

func NewDigitorus

func NewDigitorus(client *http.Client) *Digitorus

func (*Digitorus) Enumerate

func (s *Digitorus) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Digitorus) Name

func (s *Digitorus) Name() string

type FOFA

type FOFA struct {
	// contains filtered or unexported fields
}

func NewFOFA

func NewFOFA(client *http.Client) *FOFA

func (*FOFA) Enumerate

func (s *FOFA) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*FOFA) Name

func (s *FOFA) Name() string

type GitHub

type GitHub struct {
	// contains filtered or unexported fields
}

func NewGitHub

func NewGitHub(client *http.Client) *GitHub

func (*GitHub) Enumerate

func (s *GitHub) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*GitHub) Name

func (s *GitHub) Name() string

type GitLab

type GitLab struct {
	// contains filtered or unexported fields
}

func NewGitLab

func NewGitLab(client *http.Client) *GitLab

func (*GitLab) Enumerate

func (s *GitLab) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*GitLab) Name

func (s *GitLab) Name() string

type HackerTarget

type HackerTarget struct {
	// contains filtered or unexported fields
}

func NewHackerTarget

func NewHackerTarget(client *http.Client) *HackerTarget

func (*HackerTarget) Enumerate

func (s *HackerTarget) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*HackerTarget) Name

func (s *HackerTarget) Name() string

type LeakIX

type LeakIX struct {
	// contains filtered or unexported fields
}

func NewLeakIX

func NewLeakIX(client *http.Client) *LeakIX

func (*LeakIX) Enumerate

func (s *LeakIX) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*LeakIX) Name

func (s *LeakIX) Name() string

type Netlas

type Netlas struct {
	// contains filtered or unexported fields
}

func NewNetlas

func NewNetlas(client *http.Client) *Netlas

func (*Netlas) Enumerate

func (s *Netlas) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Netlas) Name

func (s *Netlas) Name() string

type RapidDNS

type RapidDNS struct {
	// contains filtered or unexported fields
}

func NewRapidDNS

func NewRapidDNS(client *http.Client) *RapidDNS

func (*RapidDNS) Enumerate

func (s *RapidDNS) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*RapidDNS) Name

func (s *RapidDNS) Name() string

type Riddler

type Riddler struct {
	// contains filtered or unexported fields
}

func NewRiddler

func NewRiddler(client *http.Client) *Riddler

func (*Riddler) Enumerate

func (s *Riddler) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Riddler) Name

func (s *Riddler) Name() string

type RuntimeOptions

type RuntimeOptions struct {
	Providers         map[string]string
	RateLimit         float64
	SourceRateLimits  map[string]float64
	SourceTimeout     time.Duration
	SourceTimeouts    map[string]time.Duration
	SourceRetries     int
	SourceBackoff     time.Duration
	SourceMaxBackoff  time.Duration
	SourceUserAgent   string
	EnableSourceStats bool
}

type SecurityTrails

type SecurityTrails struct {
	// contains filtered or unexported fields
}

func NewSecurityTrails

func NewSecurityTrails(client *http.Client) *SecurityTrails

func (*SecurityTrails) Enumerate

func (s *SecurityTrails) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*SecurityTrails) Name

func (s *SecurityTrails) Name() string

type Shodan

type Shodan struct {
	// contains filtered or unexported fields
}

func NewShodan

func NewShodan(client *http.Client) *Shodan

func (*Shodan) Enumerate

func (s *Shodan) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*Shodan) Name

func (s *Shodan) Name() string

type SiteDossier

type SiteDossier struct {
	// contains filtered or unexported fields
}

func NewSiteDossier

func NewSiteDossier(client *http.Client) *SiteDossier

func (*SiteDossier) Enumerate

func (s *SiteDossier) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*SiteDossier) Name

func (s *SiteDossier) Name() string

type Source

type Source interface {
	Name() string
	Enumerate(ctx context.Context, domain string) ([]string, error)
}

Source defines passive subdomain data sources.

func BuildSources

func BuildSources(opts BuildOptions) ([]Source, error)

func NewDefaultSources

func NewDefaultSources(httpTimeout time.Duration) ([]Source, error)

func NewSourcesByName

func NewSourcesByName(httpTimeout time.Duration, requested []string) ([]Source, error)

type StatusError

type StatusError struct {
	StatusCode int
	Body       []byte
}

func (*StatusError) Error

func (e *StatusError) Error() string

type ThreatCrowd

type ThreatCrowd struct {
	// contains filtered or unexported fields
}

func NewThreatCrowd

func NewThreatCrowd(client *http.Client) *ThreatCrowd

func (*ThreatCrowd) Enumerate

func (s *ThreatCrowd) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*ThreatCrowd) Name

func (s *ThreatCrowd) Name() string

type ThreatMiner

type ThreatMiner struct {
	// contains filtered or unexported fields
}

func NewThreatMiner

func NewThreatMiner(client *http.Client) *ThreatMiner

func (*ThreatMiner) Enumerate

func (s *ThreatMiner) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*ThreatMiner) Name

func (s *ThreatMiner) Name() string

type VirusTotal

type VirusTotal struct {
	// contains filtered or unexported fields
}

func NewVirusTotal

func NewVirusTotal(client *http.Client) *VirusTotal

func (*VirusTotal) Enumerate

func (s *VirusTotal) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*VirusTotal) Name

func (s *VirusTotal) Name() string

type WaybackArchive

type WaybackArchive struct {
	// contains filtered or unexported fields
}

func NewWaybackArchive

func NewWaybackArchive(client *http.Client) *WaybackArchive

func (*WaybackArchive) Enumerate

func (s *WaybackArchive) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*WaybackArchive) Name

func (s *WaybackArchive) Name() string

type WhoisXMLAPI

type WhoisXMLAPI struct {
	// contains filtered or unexported fields
}

func NewWhoisXMLAPI

func NewWhoisXMLAPI(client *http.Client) *WhoisXMLAPI

func (*WhoisXMLAPI) Enumerate

func (s *WhoisXMLAPI) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*WhoisXMLAPI) Name

func (s *WhoisXMLAPI) Name() string

type ZoomEyeAPI

type ZoomEyeAPI struct {
	// contains filtered or unexported fields
}

func NewZoomEyeAPI

func NewZoomEyeAPI(client *http.Client) *ZoomEyeAPI

func (*ZoomEyeAPI) Enumerate

func (s *ZoomEyeAPI) Enumerate(ctx context.Context, domain string) ([]string, error)

func (*ZoomEyeAPI) Name

func (s *ZoomEyeAPI) Name() string

Jump to

Keyboard shortcuts

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