cli

package
v1.47.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeExecutionCmdLineParse

func CodeExecutionCmdLineParse(conf *config.Config) bool

Parses the command line arguments used by RCE exploits.

func FormatFileCmdLineParse added in v1.23.0

func FormatFileCmdLineParse(conf *config.Config) bool

FileFormat doesn't handle any type of remote host configuration. FileFormat exploits just take an -in and -out, where "in" is expected to be some type of template and "out" is the file to generate.

func InformationDisclosureCmdLineParse

func InformationDisclosureCmdLineParse(conf *config.Config) bool

func LocalCmdLineParse added in v1.23.0

func LocalCmdLineParse(conf *config.Config) bool

func WebShellCmdLineParse

func WebShellCmdLineParse(conf *config.Config) bool

Types

type CustomFlag added in v1.29.0

type CustomFlag struct {
	Name    string
	Type    string
	Default string
}

A structure that defines the special flags this exploit implements.

type IPIntel added in v1.9.0

type IPIntel struct {
	IP   string `json:"ip"`
	Port int    `json:"port"`
	SSL  bool   `json:"ssl"`
}

VulnCheck IPIntel data is shipped in single line JSON blobs. There is substantially more metadata, but for the purposes of the scann we need to support: {"ip":"127.0.0.1","port":80,"ssl":false}.

Jump to

Keyboard shortcuts

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