mutator

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeVariants

func EncodeVariants(payload string) []string

EncodeVariants gera variantes encodadas de um payload

func Mutate

func Mutate(value string, n int) []string

Mutate aplica mutações radamsa-style a um valor

Types

type Payload

type Payload struct {
	Value    string
	Point    input.InjectionPoint
	Module   string // ex: "sqli", "xss", "ssti"
	Variant  string // ex: "error-based", "time-based", "double-encoded"
	Metadata map[string]string
}

Payload representa um payload preparado para injeção

type SmartGen

type SmartGen struct {
	MaxPayloads int
}

SmartGen generates thousands of payloads based on the original value's data type and structure. This is the core differentiator from nuclei - we don't just replay known payloads, we generate massive volumes of structurally-aware mutations to discover unexpected behavior.

func (*SmartGen) Generate

func (sg *SmartGen) Generate(originalValue string, count int) []string

Generate produces payloads tailored to the detected value type

Jump to

Keyboard shortcuts

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