Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + func BuildPayloadFromOptions(options *types.Options) map[string]interface + func EnvVars() map[string]interface + func ExpandMapValues(m map[string]string) map[string][]string + func MergeMaps(maps ...map[string]interface{}) map[string]interface + func MergeMapsMany(maps ...interface{}) map[string][]string + func SliceToMap(s []string, sep string) map[string]interface + type AttackType int + const BatteringRamAttack + const ClusterBombAttack + const PitchForkAttack + func GetSupportedAttackTypes() []AttackType + func (t AttackType) String() string + type AttackTypeHolder struct + Value AttackType + func (holder *AttackTypeHolder) MarshalJSON() ([]byte, error) + func (holder *AttackTypeHolder) UnmarshalJSON(data []byte) error + func (holder *AttackTypeHolder) UnmarshalYAML(unmarshal func(interface{}) error) error + func (holder AttackTypeHolder) JSONSchema() *jsonschema.Schema + func (holder AttackTypeHolder) MarshalYAML() (interface{}, error) + type Iterator struct + Type AttackType + func (i *Iterator) Remaining() int + func (i *Iterator) Reset() + func (i *Iterator) Total() int + func (i *Iterator) Value() (map[string]interface{}, bool) + type PayloadGenerator struct + Type AttackType + func New(payloads map[string]interface{}, attackType AttackType, templatePath string, ...) (*PayloadGenerator, error) + func (g *PayloadGenerator) NewIterator() *Iterator