options

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.0.7"

Variables

This section is empty.

Functions

func ShowBanner

func ShowBanner()

Types

type CLIClientOptions

type CLIClientOptions struct {
	Match                    goflags.StringSlice
	Filter                   goflags.StringSlice
	Config                   string
	Version                  bool
	ServerURL                string
	NumberOfPayloads         int
	Output                   string
	JSON                     bool
	Verbose                  bool
	PollInterval             int
	DNSOnly                  bool
	HTTPOnly                 bool
	SmtpOnly                 bool
	Token                    string
	DisableHTTPFallback      bool
	CorrelationIdLength      int
	CorrelationIdNonceLength int
	SessionFile              string
	Description              string
	SetDescription           string
	QueryDescription         bool
	QuerySessions            bool
	QueryInteractions        string
	SearchString             string
}

type CLIServerOptions

type CLIServerOptions struct {
	Config                   string
	Version                  bool
	Debug                    bool
	Domains                  goflags.StringSlice
	DnsPort                  int
	IPAddress                string
	ListenIP                 string
	HttpPort                 int
	HttpsPort                int
	Hostmasters              []string
	LdapWithFullLogger       bool
	Eviction                 int
	Responder                bool
	Smb                      bool
	SmbPort                  int
	SmtpPort                 int
	SmtpsPort                int
	SmtpAutoTLSPort          int
	FtpPort                  int
	LdapPort                 int
	Ftp                      bool
	Auth                     bool
	HTTPIndex                string
	HTTPDirectory            string
	Token                    string
	OriginURL                string
	RootTLD                  bool
	FTPDirectory             string
	SkipAcme                 bool
	DynamicResp              bool
	CorrelationIdLength      int
	CorrelationIdNonceLength int
	ScanEverywhere           bool
	CertificatePath          string
	CustomRecords            string
	PrivateKeyPath           string
	OriginIPHeader           string
	DiskStorage              bool
	DiskStoragePath          string
	EnablePprof              bool
	EnableMetrics            bool
}

func (*CLIServerOptions) AsServerOptions

func (cliServerOptions *CLIServerOptions) AsServerOptions() *server.Options

type SessionInfo

type SessionInfo struct {
	ServerURL     string `yaml:"server-url"`
	Token         string `yaml:"server-token"`
	PrivateKey    string `yaml:"private-key"`
	CorrelationID string `yaml:"correlation-id"`
	SecretKey     string `yaml:"secret-key"`
}

Jump to

Keyboard shortcuts

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