passive

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 58 Imported by: 0

Documentation

Overview

Package passive provides capability for doing passive subdomain enumeration on targets.

Index

Constants

This section is empty.

Variables

View Source
var NameSourceMap = make(map[string]subscraping.Source, len(AllSources))

Functions

This section is empty.

Types

type Agent

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

Agent is a struct for running passive subdomain enumeration against a given host. It wraps subscraping package and provides a layer to build upon.

func New

func New(sourceNames, excludedSourceNames []string, useAllSources, useSourcesSupportingRecurse bool) *Agent

New creates a new agent for passive subdomain discovery

func (*Agent) EnumerateSubdomainsWithCtx

func (a *Agent) EnumerateSubdomainsWithCtx(ctx context.Context, domain string, proxy string, timeout int, maxEnumTime time.Duration) chan subscraping.Result

EnumerateSubdomainsWithCtx enumerates all the subdomains for a given domain

func (*Agent) GetStatistics

func (a *Agent) GetStatistics() map[string]subscraping.Statistics

Jump to

Keyboard shortcuts

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