pocscan

package
v1.8.40 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpInput added in v1.8.0

type ExpInput struct {
	Target  string
	PocName string
	Payload string
}

func ParseExpInput added in v1.8.0

func ParseExpInput(targets []string, payload string) (results []*ExpInput, err error)

type Options

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

type PocInput added in v1.8.0

type PocInput struct {
	Target  string
	PocTags []string
}

func ParsePocInput added in v1.8.0

func ParsePocInput(targets []string) (results []*PocInput, err error)

type Runner

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

func NewRunner

func NewRunner(options *Options, gobyPocs []*goby.Poc, xrayPocs []*xray.Poc, nucleiTemplates []*nuclei.Template) (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) Expscan added in v1.8.0

func (r *Runner) Expscan(input *ExpInput) (results []*common.Result)

func (*Runner) NucleiExp added in v1.8.0

func (r *Runner) NucleiExp(target string, pocList []*nuclei.Template, payload string) (results []*common.Result, err error)

NucleiExp 扫描

func (*Runner) NucleiPoc added in v1.8.0

func (r *Runner) NucleiPoc(target string, pocList []*nuclei.Template) (results []*common.Result, err error)

NucleiPoc 扫描

func (*Runner) Pocscan

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

func (*Runner) RunExp added in v1.8.0

func (r *Runner) RunExp(inputs []*ExpInput) (results []*common.Result)

func (*Runner) RunGobyPoc

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

RunGobyPoc 启动

func (*Runner) RunNucleiExp added in v1.8.0

func (r *Runner) RunNucleiExp(target, pocName, payload string) (results []*common.Result)

RunNucleiExp 启动

func (*Runner) RunNucleiPoc

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

RunNucleiPoc 启动

func (*Runner) RunPoc added in v1.8.0

func (r *Runner) RunPoc(inputs []*PocInput) (results []*common.Result)

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) 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