Documentation
¶
Index ¶
- Constants
- Variables
- func IterIndex(p fuzzTypes.Plugin, lengths []int, out []int)
- func IterLen(p fuzzTypes.Plugin, lengths []int) int
- func ParsePluginsStr(pluginsStr string) ([]fuzzTypes.Plugin, error)
- func PayloadGenerator(p fuzzTypes.Plugin) []string
- func PayloadProcessor(p fuzzTypes.Plugin) string
- func PreLoad(p fuzzTypes.Plugin, relPath string) (*convention.PluginInfo, error)
- func Preprocess(p fuzzTypes.Plugin, fuzz1 *fuzzTypes.Fuzz) *fuzzTypes.Fuzz
- func React(p fuzzTypes.Plugin, req *fuzzTypes.Req, resp *fuzzTypes.Resp) *fuzzTypes.Reaction
- func SendRequest(p fuzzTypes.Plugin, m *fuzzTypes.SendMeta) *fuzzTypes.Resp
Constants ¶
View Source
const ( BaseDir = "./plugins/" RelPathPlGen = "payloadGenerators/" RelPathPlProc = "payloadProcessors/" RelPathPreprocessor = "preprocessors/" RelPathReqSender = "requestSenders/" RelPathReactor = "reactors/" RelPathIterator = "iterators/" SelectIterIndex = 0 SelectIterLen = 1 )
Variables ¶
View Source
var ErrFuncTypeIncorrect = errors.New("plugin entry incorrect, make sure your plugin is built using fgpk")
Functions ¶
func ParsePluginsStr ¶
ParsePluginsStr 用来解析插件字符串,具体规则参考fuzzTypes.go中的注释 解析结果为Plugin类型
func PayloadGenerator ¶
PayloadGenerator 返回插件生成的payload切片
func PreLoad ¶ added in v0.1.7
func PreLoad(p fuzzTypes.Plugin, relPath string) (*convention.PluginInfo, error)
PreLoad 预加载插件,并尝试获取插件的信息
func Preprocess ¶
Preprocess 返回指向preprocessor处理后新生成的*Fuzz
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.