passive

package
v2.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: MIT Imports: 28 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 DefaultSources = []string{
	"archiveis",
	"binaryedge",
	"bufferover",
	"censys",
	"certspotter",
	"certspotterold",
	"commoncrawl",
	"crtsh",
	"digicert",
	"dnsdumpster",
	"entrust",
	"googleter",
	"hackertarget",
	"ipv4info",
	"passivetotal",
	"securitytrails",
	"shodan",
	"sitedossier",
	"threatcrowd",
	"threatminer",
	"urlscan",
	"virustotal",
	"waybackarchive",
}

DefaultSources contains the list of sources used by default

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(sources []string, exclusions []string) *Agent

New creates a new agent for passive subdomain discovery

func (*Agent) EnumerateSubdomains

func (a *Agent) EnumerateSubdomains(domain string, keys subscraping.Keys, timeout int, maxEnumTime time.Duration) chan subscraping.Result

EnumerateSubdomains enumerates all the subdomains for a given domain

Jump to

Keyboard shortcuts

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