diff --git a/v2/pkg/protocols/common/generators/generators.go b/v2/pkg/protocols/common/generators/generators.go index ca8f9b65..fb1597d2 100644 --- a/v2/pkg/protocols/common/generators/generators.go +++ b/v2/pkg/protocols/common/generators/generators.go @@ -37,7 +37,7 @@ func New(payloads map[string]interface{}, attackType AttackType, templatePath st } generator := &PayloadGenerator{} - if err := generator.validate(payloads, templatePath); err != nil { + if err := generator.validate(payloadsFinal, templatePath); err != nil { return nil, err }