afrog

package module
v2.7.9 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner(target []string, opt Scanner) error

Types

type Scanner

type Scanner struct {
	Target             []string
	TargetsFile        string
	PocFile            string
	Output             string
	Json               string
	JsonAll            string
	Search             string
	Silent             bool
	Severity           string
	Update             bool
	DisableUpdateCheck bool
	MonitorTargets     bool
	RateLimit          int
	Concurrency        int
	Retries            int
	MaxHostError       int
	Timeout            int
	Proxy              string
	MaxRespBodySize    int
	DisableOutputHtml  bool
}

func (*Scanner) WithConcurrency

func (s *Scanner) WithConcurrency() int

func (*Scanner) WithDisableOutputHtml

func (s *Scanner) WithDisableOutputHtml() bool

func (*Scanner) WithDisableUpdateCheck

func (s *Scanner) WithDisableUpdateCheck() bool

func (*Scanner) WithJson

func (s *Scanner) WithJson() string

func (*Scanner) WithJsonAll

func (s *Scanner) WithJsonAll() string

func (*Scanner) WithMaxHostError

func (s *Scanner) WithMaxHostError() int

func (*Scanner) WithMaxRespBodySize

func (s *Scanner) WithMaxRespBodySize() int

func (*Scanner) WithMonitorTargets

func (s *Scanner) WithMonitorTargets() bool

func (*Scanner) WithOutput

func (s *Scanner) WithOutput() string

func (*Scanner) WithPocFile

func (s *Scanner) WithPocFile() string

func (*Scanner) WithProxy

func (s *Scanner) WithProxy() string

func (*Scanner) WithRateLimit

func (s *Scanner) WithRateLimit() int

func (*Scanner) WithRetries

func (s *Scanner) WithRetries() int

func (*Scanner) WithSearch

func (s *Scanner) WithSearch() string

func (*Scanner) WithSeverity

func (s *Scanner) WithSeverity() string

func (*Scanner) WithSilent

func (s *Scanner) WithSilent() bool

func (*Scanner) WithTargetsFile

func (s *Scanner) WithTargetsFile() string

func (*Scanner) WithTimeout

func (s *Scanner) WithTimeout() int

func (*Scanner) WithUpdate

func (s *Scanner) WithUpdate() bool

Directories

Path Synopsis
cmd
examples
pkg
log
This is a wrapper for the zap framework no SugerLogger, Only Logger @author: 胖胖的ALEX example:
This is a wrapper for the zap framework no SugerLogger, Only Logger @author: 胖胖的ALEX example:
poc

Jump to

Keyboard shortcuts

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