scanner

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner(options *types.Options) (*Scanner, error)

func (*Scanner) Check

func (s *Scanner) Check(target *input.Target) (vul bool, readFullFile bool, result *output.ResultEvent)

func (*Scanner) Do

func (s *Scanner) Do(request *retryablehttp.Request) (*http.Response, error)

func (*Scanner) Exec added in v1.0.1

func (s *Scanner) Exec(target *input.Target, command string, args string) (result *output.ResultEvent)

func (*Scanner) Exploit

func (s *Scanner) Exploit(target *input.Target, Mode output.Mode, args string, command string) (result *output.ResultEvent)

func (*Scanner) ListAvailableCommands added in v1.0.1

func (s *Scanner) ListAvailableCommands(target *input.Target) (commands []string, result *output.ResultEvent)

func (*Scanner) ReadFile added in v1.0.1

func (s *Scanner) ReadFile(target *input.Target, command string, filename string) (result *output.ResultEvent)

Jump to

Keyboard shortcuts

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