runner

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const Version = `v1.0.2`

Version is the current version of uncover

Variables

This section is empty.

Functions

This section is empty.

Types

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
	Version      bool
	Verbose      bool
	NoColor      bool
	Timeout      int
	Delay        int

	Provider   *Provider
	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
	// contains filtered or unexported fields
}

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) Write

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

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

func (*OutputWriter) WriteJsonData

func (o *OutputWriter) WriteJsonData(data uncover.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 Provider

type Provider struct {
	Shodan     []string `yaml:"shodan"`
	Censys     []string `yaml:"censys"`
	Fofa       []string `yaml:"fofa"`
	Quake      []string `yaml:"quake"`
	Hunter     []string `yaml:"hunter"`
	ZoomEye    []string `yaml:"zoomeye"`
	Netlas     []string `yaml:"netlas"`
	CriminalIP []string `yaml:"criminalip"`
}

func (*Provider) GetKeys

func (provider *Provider) GetKeys() uncover.Keys

func (*Provider) HasKeys

func (provider *Provider) HasKeys() bool

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) Run

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

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