Affected by GO-2024-2989
and 8 other vulnerabilities
GO-2024-2989 : projectdiscovery/nuclei allows unsigned code template execution through workflows in github.com/projectdiscovery/nuclei
GO-2024-3114 : Nuclei Template Signature Verification Bypass in github.com/projectdiscovery/nuclei
GO-2026-4965 : Nuclei: Local File Read via require() Module Loader Bypass in github.com/projectdiscovery/nuclei
GO-2026-5473 : Nuclei: Environment variable disclosure via Response-Derived DSL Expressions in github.com/projectdiscovery/nuclei
GO-2026-6570 : Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass in github.com/projectdiscovery/nuclei
GO-2026-6571 : Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode in github.com/projectdiscovery/nuclei
GO-2026-6574 : Nuclei: Local File Read via Workflow File-Protocol Gate Bypass in github.com/projectdiscovery/nuclei
GO-2026-6575 : Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability in github.com/projectdiscovery/nuclei
GO-2026-6577 : Nuclei: Local File Read via MySQL Client Sandbox Bypass in github.com/projectdiscovery/nuclei
Discover Packages
github.com/projectdiscovery/nuclei/v3
pkg
fuzz
frequency
package
Version:
v3.2.9
Opens a new window with list of versions in this module.
Published: Jun 16, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
DefaultMaxTrackCount = 10000
DefaultParamOccurenceThreshold = 10
)
Tracker implements a frequency tracker for a given input
which is used to determine uninteresting input parameters
which are not that interesting from fuzzing perspective for a template
and target combination.
This is used to reduce the number of requests made during fuzzing
for parameters that are less likely to give results for a rule.
func New(maxTrackCount, paramOccurenceThreshold int ) *Tracker
New creates a new frequency tracker with a given maximum
number of params to track in LRU fashion with a max error threshold
IsParameterFrequent checks if a parameter is frequently occuring
in the input with no much results.
func (t *Tracker ) MarkParameter(parameter, target, template string )
MarkParameter marks a parameter as frequently occuring once.
The logic requires a parameter to be marked as frequently occuring
multiple times before it's considered as frequently occuring.
func (t *Tracker ) UnmarkParameter(parameter, target, template string )
UnmarkParameter unmarks a parameter as frequently occuring. This carries
more weight and resets the frequency counter for the parameter causing
it to be checked again. This is done when results are found.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.