runner

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const Version = `1.0.0`

Version is the current version of nuclei

Variables

This section is empty.

Functions

func Contains added in v1.0.0

func Contains(s []string, e string) bool

Types

type Options

type Options struct {
	JSON           bool                          // JSON returns JSON output
	Silent         bool                          // Silent Display results only
	Version        bool                          // Version returns the version of the tool.
	Verbose        bool                          // Verbose prints verbose output.
	Hosts          bool                          // Hosts specifies to fetch only DNS Names
	IPAddress      bool                          // IPAddress specifes to fetch only IP Addresses
	Config         string                        // Config is the location of the config file.
	Output         string                        // Output is the file to write found results too.
	ExcludePrivate bool                          // ExcludePrivate excludes private IPs from results
	Provider       goflags.NormalizedStringSlice // Provider specifies what providers to fetch assets for.
	Id             goflags.NormalizedStringSlice // Id specifies what id's to fetch assets for.
	ProviderConfig string                        // ProviderConfig is the location of the provider config file.
}

Options contains the configuration options for cloudlist.

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 cloud provider asset enumeration

func New

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

New creates a new runner instance based on configuration options

func (*Runner) Enumerate

func (r *Runner) Enumerate()

Enumerate performs the cloudlist enumeration process

Jump to

Keyboard shortcuts

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