Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + const CRLF + const Once + const ReqURLPatternKey + const SetThreadToCountZero + var ErrEvalExpression = errorutil.NewWithTag("expr", "could not evaluate helper expressions") + var ErrHttpEngineRequestDeadline = errkit.New("http request engine deadline exceeded").SetKind(errkit.ErrKindDeadline).Build() + var ErrMissingVars = errkit.New("stop execution due to unresolved variables").SetKind(nucleierr.ErrTemplateLogic).Build() + var ErrNoIgnoreList = errors.New("unknown signature types") + var ErrRequestTimeoutDeadline = errkit.New("request timeout deadline exceeded when notimeout is set").SetKind(errkit.ErrKindDeadline).Build() + var ErrTimeoutAnnotationDeadline = errkit.New("timeout annotation deadline exceeded").SetKind(nucleierr.ErrTemplateLogic).Build() + var ErrUnresolvedVars = errorutil.NewWithFmt("unresolved variables `%v` found in request") + var HTTPMethodMapping = map[HTTPMethodType]string + var LeaveDefaultPorts = false + var MaxBodyRead = 10 * unitutils.Mega + var RequestPartDefinitions = map[string]string + func GetDefaultSignerVars(signatureType SignatureType) map[string]interface + func GetVariablesNamesSkipList(signature SignatureType) map[string]interface + type HTTPMethodType int + const HTTPConnect + const HTTPDebug + const HTTPDelete + const HTTPGet + const HTTPHead + const HTTPOptions + const HTTPPatch + const HTTPPost + const HTTPPurge + const HTTPPut + const HTTPTrace + func GetSupportedHTTPMethodTypes() []HTTPMethodType + func (t HTTPMethodType) String() string + type HTTPMethodTypeHolder struct + MethodType HTTPMethodType + func (holder *HTTPMethodTypeHolder) MarshalJSON() ([]byte, error) + func (holder *HTTPMethodTypeHolder) UnmarshalJSON(data []byte) error + func (holder *HTTPMethodTypeHolder) UnmarshalYAML(unmarshal func(interface{}) error) error + func (holder HTTPMethodTypeHolder) JSONSchema() *jsonschema.Schema + func (holder HTTPMethodTypeHolder) MarshalYAML() (interface{}, error) + func (holder HTTPMethodTypeHolder) String() string + type Request struct + AttackType generators.AttackTypeHolder + Body string + CompiledOperators *operators.Operators + CookieReuse bool + DigestAuthPassword string + DigestAuthUsername string + DisableCookie bool + DisablePathAutomerge bool + ForceReadAllBody bool + FuzzPreCondition []*matchers.Matcher + FuzzPreConditionOperator string + Fuzzing []*fuzz.Rule + Headers map[string]string + HostRedirects bool + ID string + IterateAll bool + MaxRedirects int + MaxSize int + Method HTTPMethodTypeHolder + Name string + Path []string + Payloads map[string]interface{} + Pipeline bool + PipelineConcurrentConnections int + PipelineRequestsPerConnection int + Race bool + RaceNumberRequests int + Raw []string + Redirects bool + ReqCondition bool + SelfContained bool + Signature SignatureTypeHolder + SkipSecretFile bool + SkipVariablesCheck bool + StopAtFirstMatch bool + Threads int + Unsafe bool + func (e Request) JSONSchemaExtend(schema *jsonschema.Schema) + func (r *Request) Options() *protocols.ExecutorOptions + func (request *Request) Compile(options *protocols.ExecutorOptions) error + func (request *Request) ExecuteWithResults(input *contextargs.Context, dynamicValues, previous output.InternalEvent, ...) error + func (request *Request) Extract(data map[string]interface{}, extractor *extractors.Extractor) map[string]struct{} + func (request *Request) GetCompiledOperators() []*operators.Operators + func (request *Request) GetID() string + func (request *Request) IsClusterable() bool + func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedEvent) []*output.ResultEvent + func (request *Request) MakeResultEventItem(wrapped *output.InternalWrappedEvent) *output.ResultEvent + func (request *Request) Match(data map[string]interface{}, matcher *matchers.Matcher) (bool, []string) + func (request *Request) NeedsRequestCondition() bool + func (request *Request) Requests() int + func (request *Request) ShouldFuzzTarget(input *contextargs.Context) bool + func (request *Request) TmplClusterKey() uint64 + func (request *Request) Type() templateTypes.ProtocolType + type SignatureType int + const AWSSignature + func GetSupportedSignaturesTypes() []SignatureType + func (t SignatureType) String() string + type SignatureTypeHolder struct + Value SignatureType + func (holder *SignatureTypeHolder) UnmarshalJSON(data []byte) error + func (holder *SignatureTypeHolder) UnmarshalYAML(unmarshal func(interface{}) error) error + func (holder SignatureTypeHolder) JSONSchema() *jsonschema.Schema + func (holder SignatureTypeHolder) MarshalJSON() ([]byte, error) + func (holder SignatureTypeHolder) MarshalYAML() (interface{}, error)