options

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

View Source
const Version = "1.1.9"

Variables

This section is empty.

Functions

func GetUpdateCallback added in v1.1.2

func GetUpdateCallback(assetName string) func()

GetUpdateCallback returns a callback function that updates interactsh

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
	StorePayload             bool
	StorePayloadFile         string
	Verbose                  bool
	PollInterval             int
	DNSOnly                  bool
	HTTPOnly                 bool
	SmtpOnly                 bool
	Token                    string
	DisableHTTPFallback      bool
	CorrelationIdLength      int
	CorrelationIdNonceLength int
	SessionFile              string
	Asn                      bool
	DisableUpdateCheck       bool
	KeepAliveInterval        time.Duration
}

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
	NoEviction               bool
	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
	Verbose                  bool
	DisableUpdateCheck       bool
	NoVersionHeader          bool
	HeaderServer             string
}

func (*CLIServerOptions) AsServerOptions

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

type SessionInfo added in v1.0.3

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"`
	PublicKey     string `yaml:"public-key"`
}

Jump to

Keyboard shortcuts

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