pocscan

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input added in v1.7.2

type Input struct {
	Target  string
	PocTags []string
}

func ParseTargets added in v1.7.2

func ParseTargets(targets []string) (results []*Input, err error)

type Options

type Options struct {
	Proxy   string
	Timeout int
	Headers []string
}

type Runner

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

func NewRunner

func NewRunner(options *Options, gobyPocs []*goby.Poc, xrayPocs []*xray.Poc, nucleiPcs []*nuclei.Poc) (runner *Runner, err error)

func (*Runner) DoGobyRequest

func (r *Runner) DoGobyRequest(target string, rule *goby.Rule) (prsp *proto.Response, err error)

DoGobyRequest 请求

func (*Runner) DoRequest

func (r *Runner) DoRequest(target string, rule *xray.Rule) (prsp *proto.Response, err error)

func (*Runner) Pocscan

func (r *Runner) Pocscan(input *Input) (results []*common.Result)

func (*Runner) Run

func (r *Runner) Run(inputs []*Input) (results []*common.Result)

func (*Runner) RunGobyPoc

func (r *Runner) RunGobyPoc(target string, pocTag string) (results []*common.Result)

RunGobyPoc 启动

func (*Runner) RunNucleiPoc

func (r *Runner) RunNucleiPoc(target string, pocTag string) (results []*common.Result)

RunNucleiPoc 启动

func (*Runner) RunXrayPoc

func (r *Runner) RunXrayPoc(target string, pocTag string) (results []*common.Result)

func (*Runner) ScanGoby

func (r *Runner) ScanGoby(target string, poc *goby.Poc) (result bool, err error)

ScanGoby 扫描

func (*Runner) ScanNuclei

func (r *Runner) ScanNuclei(target string, pocList []*nuclei.Poc, pocTag string) (results []*common.Result, err error)

ScanNuclei 扫描

func (*Runner) ScanXray

func (r *Runner) ScanXray(target string, poc *xray.Poc) (result bool, err error)

Directories

Path Synopsis
cel
nolint
nolint

Jump to

Keyboard shortcuts

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