Documentation
¶
Index ¶
- Constants
- Variables
- func DoRequest(p fuzzTypes.Plugin, r *fuzzTypes.RequestCtx) *fuzzTypes.Resp
- 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, outCtx *output.Ctx) []string
- func PayloadProcessor(p fuzzTypes.Plugin, outCtx *output.Ctx) 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
Constants ¶
View Source
const ( RelPathPlGen = "payloadGenerators/" RelPathPlProc = "payloadProcessors/" RelPathPreprocessor = "preprocessors/" RelPathRequester = "requesters/" RelPathReactor = "reactors/" RelPathIterator = "iterators/" SelectIterIndex = 0 SelectIterLen = 1 )
Variables ¶
View Source
var BaseDir = "./plugins/"
View Source
var ErrFuncTypeIncorrect = errors.New("plugin entry incorrect, make sure your plugin is built using fgpk")
Functions ¶
func IterIndex ¶ added in v0.2.0
IterIndex 外部调用这个函数时的arg列表如下 selectorIndex, ind, 用户自定义参数 windows上可以用jsons参数传递,这个可不行
func IterLen ¶ added in v0.2.0
IterLen 外部调用此函数时的参数列表如下 selectorIterLen, 0, ...(由于插件编译后参数列表不能改变,且一个插件实际上只有一个调用入口,参数被写死了,所以填充一个0)
func ParsePluginsStr ¶
ParsePluginsStr 用来解析插件字符串,具体规则参考fuzzTypes.go中的注释 解析结果为Plugin类型
func PayloadGenerator ¶
PayloadGenerator 返回插件生成的payload切片
func PayloadProcessor ¶
PayloadProcessor 返回处理后的字符串
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.