fuzzCtx

package
v0.2.0-2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFaceRP

type IFaceRP interface {
	Submit(*TaskCtx, int8, time.Duration) bool
	RegisterExecutor(func(*TaskCtx) *fuzzTypes.Reaction, int8)
	Wait(time.Duration) bool
	Status() int8
	Start()
	Stop()
	Pause()
	Resume()
	GetSingleResult() *fuzzTypes.Reaction
	Resize(int)
	WaitResume()
	Clear()
	ReleaseSelf()
}

IFaceRP 协程池接口,用于避免循环import

type JobCtx

type JobCtx struct {
	JobId     int
	ParentId  int
	Job       *fuzzTypes.Fuzz
	RP        IFaceRP // 改为使用interface,这样就避免引用rp包导致引用循环
	OutputCtx *output.Ctx
}

func (*JobCtx) Close

func (jc *JobCtx) Close() error

type TaskCtx

type TaskCtx struct {
	IterInd      int
	SnipLen      int
	USchemeCache string
	Keywords     []string
	Payloads     []string
	RepTmpl      *tmplReplace.ReplaceTemplate
	JobCtx       *JobCtx
	PlProc       [][]fuzzTypes.Plugin
	ViaReaction  *fuzzTypes.Reaction
}

Jump to

Keyboard shortcuts

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