recon

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BruteSubdomains

func BruteSubdomains(domain string, words []string, wildcard bool, concurrency int) []string

func BuiltinWordlist

func BuiltinWordlist() []string

func DefaultPorts

func DefaultPorts() []int

func FaviconHash

func FaviconHash(client *http.Client, baseURL string) string

func FaviconHashBytes

func FaviconHashBytes(body []byte) int32

func HostFromTarget

func HostFromTarget(raw string) string

func MMH3

func MMH3(data []byte) uint32

func PassiveSubdomains

func PassiveSubdomains(client *http.Client, domain string) []string

func PortOpen

func PortOpen(host string, port int, timeout time.Duration) bool

func ReadWordlistFile

func ReadWordlistFile(path string) ([]string, error)

Types

type LiveHost

type LiveHost struct {
	URL     string
	Host    string
	Port    int
	Status  int
	Title   string
	Server  string
	Tech    []string
	Favicon string
}

func ProbeHost

func ProbeHost(client *http.Client, rawURL, ua string, favicon bool) (LiveHost, error)

type Options

type Options struct {
	Target      string
	Active      bool
	Wordlist    []string
	Ports       []int
	Timeout     time.Duration
	Concurrency int
	UserAgent   string
	Probe       bool
	Favicon     bool
}

type Result

type Result struct {
	Domain     string
	Subdomains []string
	Live       []LiveHost
	Wildcard   bool
}

func Run

func Run(opts Options) (*Result, error)

type TechRule

type TechRule struct {
	Name string
	Re   *regexp.Regexp
}

Jump to

Keyboard shortcuts

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