passive

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 43 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 DefaultAllSources = []string{
	"alienvault",
	"anubis",
	"archiveis",
	"binaryedge",
	"bufferover",
	"c99",
	"censys",
	"certspotter",
	"chaos",
	"commoncrawl",
	"crtsh",
	"dnsdumpster",
	"dnsdb",
	"github",
	"hackertarget",
	"intelx",
	"passivetotal",
	"rapiddns",
	"riddler",
	"robtex",
	"securitytrails",
	"shodan",
	"sitedossier",
	"sonarsearch",
	"spyse",
	"sublist3r",
	"threatbook",
	"threatcrowd",
	"threatminer",
	"virustotal",
	"waybackarchive",
	"zoomeye",
	"zoomeyeapi",
	"fofa",
	"quake",
	"hunter",
	"fullhunt",
}

DefaultAllSources contains list of all sources

View Source
var DefaultRecursiveSources = []string{
	"alienvault",
	"binaryedge",
	"bufferover",
	"certspotter",
	"crtsh",
	"dnsdumpster",
	"hackertarget",
	"passivetotal",
	"securitytrails",
	"sonarsearch",
	"sublist3r",
	"virustotal",
}

DefaultRecursiveSources contains list of default recursive sources

View Source
var DefaultSources = []string{
	"alienvault",
	"anubis",
	"bufferover",
	"c99",
	"certspotter",
	"censys",
	"chaos",
	"chinaz",
	"crtsh",
	"dnsdumpster",
	"hackertarget",
	"intelx",
	"passivetotal",
	"robtex",
	"riddler",
	"securitytrails",
	"shodan",
	"spyse",
	"sublist3r",
	"threatcrowd",
	"threatminer",
	"virustotal",
	"fofa",
	"fullhunt",
	"quake",
	"hunter",
}

DefaultSources contains the list of fast 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, exclusions []string) *Agent

New creates a new agent for passive subdomain discovery

func (*Agent) EnumerateSubdomains

func (a *Agent) EnumerateSubdomains(domain string, keys *subscraping.Keys, proxy string, rateLimit, 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