runner

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: GPL-3.0 Imports: 14 Imported by: 4

Documentation

Overview

Package runner executes the enumeration process.

Index

Constants

View Source
const Version = `1.0.2`

Version is the current version of naabu

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Directory      string // Directory is a directory for temporary data
	Domain         string // Domain is the domain to find subdomains
	SubdomainsList string // SubdomainsList is the file containing list of hosts to resolve
	ResolversFile  string // ResolversFile is the file containing resolvers to use for enumeration
	Wordlist       string // Wordlist is a wordlist to use for enumeration
	MassdnsPath    string // MassdnsPath contains the path to massdns binary
	Output         string // Output is the file to write found subdomains to.
	Silent         bool   // Silent suppresses any extra text and only writes found host:port to screen
	Version        bool   // Version specifies if we should just show version and exit
	Retries        int    // Retries is the number of retries for dns enumeration
	Verbose        bool   // Verbose flag indicates whether to show verbose output or not
	NoColor        bool   // No-Color disables the colored output
	Threads        int    // Thread controls the number of parallel host to enumerate

	Stdin bool // Stdin specifies whether stdin input was given to the process
}

Options contains the configuration options for tuning the active dns resolving process.

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line flags provided by a user

type Runner

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

Runner is a client for running the enumeration process.

func New

func New(options *Options) (*Runner, error)

New creates a new client for running enumeration process.

func (*Runner) Close

func (r *Runner) Close()

Close releases all the resources and cleans up

func (*Runner) RunEnumeration

func (r *Runner) RunEnumeration()

RunEnumeration sets up the input layer for giving input to massdns binary and runs the actual enumeration

Jump to

Keyboard shortcuts

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