runner

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpdateCallback

func GetUpdateCallback() func()

GetUpdateCallback returns a callback function that updates uncover

Types

type CSVWriter added in v1.0.9

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

func NewCSVWriter added in v1.0.9

func NewCSVWriter(path string) (*CSVWriter, error)

func (*CSVWriter) Close added in v1.0.9

func (c *CSVWriter) Close() error

func (*CSVWriter) Write added in v1.0.9

func (c *CSVWriter) Write(b []byte) (int, error)

func (*CSVWriter) WriteString added in v1.0.9

func (c *CSVWriter) WriteString(data string)

type Options

type Options struct {
	Query             goflags.StringSlice
	Engine            goflags.StringSlice
	ConfigFile        string
	ProviderFile      string
	OutputFile        string
	OutputFields      string
	JSON              bool
	Raw               bool
	Limit             int
	Silent            bool
	Verbose           bool
	NoColor           bool
	Timeout           int
	RateLimit         int
	RateLimitMinute   int
	Retries           int
	Shodan            goflags.StringSlice
	ShodanIdb         goflags.StringSlice
	Fofa              goflags.StringSlice
	Censys            goflags.StringSlice
	Quake             goflags.StringSlice
	Netlas            goflags.StringSlice
	Hunter            goflags.StringSlice
	ZoomEye           goflags.StringSlice
	CriminalIP        goflags.StringSlice
	Publicwww         goflags.StringSlice
	HunterHow         goflags.StringSlice
	FullHunt          goflags.StringSlice
	FoFaSpider        goflags.StringSlice
	Binaryedge        goflags.StringSlice
	Zone              goflags.StringSlice
	GoogleSpider      goflags.StringSlice
	BingSpider        goflags.StringSlice
	ChinazSpider      goflags.StringSlice
	Ip138Spider       goflags.StringSlice
	RapidDNSSpider    goflags.StringSlice
	QianXunSpider     goflags.StringSlice
	SiteDossierSpider goflags.StringSlice
	AnubisSpider      goflags.StringSlice
	BaiduSpider       goflags.StringSlice
	Github            goflags.StringSlice
	YahooSpider       goflags.StringSlice
	ZoomEyeSpider     goflags.StringSlice

	DisableUpdateCheck bool
	Proxy              string
	ProxyAuth          string
	Location           string
}

Options contains the configuration options for tuning the enumeration process.

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line flags provided by a user

type OutputWriter

type OutputWriter struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewOutputWriter

func NewOutputWriter() (*OutputWriter, error)

func (*OutputWriter) AddWriters

func (o *OutputWriter) AddWriters(writers ...io.Writer)

func (*OutputWriter) Close

func (o *OutputWriter) Close()

Close closes the output writers

func (*OutputWriter) Write

func (o *OutputWriter) Write(data []byte)

Write writes the data taken as input using only the writer(s) with that name.

func (*OutputWriter) WriteCSVData added in v1.0.9

func (o *OutputWriter) WriteCSVData(data sources.Result)

func (*OutputWriter) WriteJsonData

func (o *OutputWriter) WriteJsonData(data sources.Result)

WriteJsonData writes the result taken as input in JSON format

func (*OutputWriter) WriteString

func (o *OutputWriter) WriteString(data string)

WriteString writes the string taken as input using only

type Runner

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

Runner is an instance of the uncover enumeration client used to orchestrate the whole process.

func NewRunner

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

NewRunner creates a new runner struct instance by parsing the configuration options, configuring sources, reading lists and setting up loggers, etc.

func (*Runner) Close

func (r *Runner) Close()

Close closes its resources

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run RunEnumeration runs the subdomain enumeration flow on the targets specified

Jump to

Keyboard shortcuts

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