plugin

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BaseDir             = "./plugins/"
	RelPathPlGen        = "payloadGenerators/"
	RelPathPlProc       = "payloadProcessors/"
	RelPathPreprocessor = "preprocessors/"
	RelPathReqSender    = "requestSenders/"
	RelPathReactor      = "reactors/"
)

Variables

This section is empty.

Functions

func ParsePluginsStr

func ParsePluginsStr(pluginsStr string) []fuzzTypes.Plugin

ParsePluginsStr 用来解析插件字符串,具体规则参考fuzzTypes.go中的注释 解析结果为Plugin类型

func PayloadGenerator

func PayloadGenerator(p fuzzTypes.Plugin) []string

PayloadGenerator 返回插件生成的payload切片

func PayloadProcessor

func PayloadProcessor(p fuzzTypes.Plugin) string

PayloadProcessor 返回处理后的字符串

func Preprocess

func Preprocess(p fuzzTypes.Plugin, fuzz1 *fuzzTypes.Fuzz) *fuzzTypes.Fuzz

Preprocess 返回指向preprocessor处理后新生成的*Fuzz

func React

React 返回*reaction

func SendRequest

func SendRequest(p fuzzTypes.Plugin, m *fuzzTypes.SendMeta) *fuzzTypes.Resp

SendRequest 根据sendMeat发送请求,并接收响应

Types

This section is empty.

Jump to

Keyboard shortcuts

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