msf

package
v0.0.0-...-70fd4af Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(opts ...Option) error

Types

type Module

type Module struct {
	Name               string              `json:"name,omitempty"`
	Fullname           string              `json:"fullname,omitempty"`
	Aliases            []string            `json:"aliases,omitempty"`
	Rank               int                 `json:"rank,omitempty"`
	DisclosureDate     string              `json:"disclosure_date,omitempty"`
	Type               string              `json:"type,omitempty"`
	Author             []string            `json:"author,omitempty"`
	Description        string              `json:"description,omitempty"`
	References         []string            `json:"references,omitempty"`
	Platform           string              `json:"platform,omitempty"`
	Arch               string              `json:"arch,omitempty"`
	Rport              *int                `json:"rport,omitempty"`
	AutofilterPorts    []int               `json:"autofilter_ports,omitempty"`
	AutofilterServices []string            `json:"autofilter_services,omitempty"`
	Targets            []string            `json:"targets,omitempty"`
	ModTime            string              `json:"mod_time,omitempty"`
	Path               string              `json:"path,omitempty"`
	IsInstallPath      bool                `json:"is_install_path,omitempty"`
	RefName            string              `json:"ref_name,omitempty"`
	Check              bool                `json:"check,omitempty"`
	PostAuth           bool                `json:"post_auth,omitempty"`
	DefaultCredential  bool                `json:"default_credential,omitempty"`
	Notes              map[string][]string `json:"notes,omitempty"`
	SessionTypes       []string            `json:"session_types,omitempty"`
	NeedsCleanup       *bool               `json:"needs_cleanup,omitempty"`
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

Jump to

Keyboard shortcuts

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