Documentation ¶
Index ¶
- Variables
- func ClusterbombGenerator(payloads map[string][]string) (out chan map[string]interface{})
- func CopyMap(originalMap map[string]interface{}) map[string]interface{}
- func CopyMapWithDefaultValue(originalMap map[string][]string, defaultValue interface{}) map[string]interface{}
- func FileExists(filename string) bool
- func HelperFunctions() (functions map[string]govaluate.ExpressionFunction)
- func LoadFile(filepath string) (lines []string)
- func LoadWordlists(payloads map[string]string) map[string][]string
- func MergeMaps(m1, m2 map[string]interface{}) (m map[string]interface{})
- func PitchforkGenerator(payloads map[string][]string) (out chan map[string]interface{})
- func SniperGenerator(payloads map[string][]string) (out chan map[string]interface{})
- func StreamFile(filepath string) (content chan string)
- func StringContainsAnyMapItem(m map[string]interface{}, s string) bool
- func TrimDelimiters(s string) string
- type Type
Constants ¶
This section is empty.
Variables ¶
var AttackTypes = map[string]Type{ "sniper": Sniper, "pitchfork": PitchFork, "clusterbomb": ClusterBomb, }
AttackTypes is an table for conversion of attack type from string.
Functions ¶
func ClusterbombGenerator ¶
ClusterbombGenerator Attack - Generate all possible combinations from an input map with all values listed as slices of the same size
func CopyMapWithDefaultValue ¶
func CopyMapWithDefaultValue(originalMap map[string][]string, defaultValue interface{}) map[string]interface{}
CopyMapWithDefaultValue creates a new copy of an existing map and set a default value
func FileExists ¶
FileExists checks if a file exists and is not a directory
func HelperFunctions ¶
func HelperFunctions() (functions map[string]govaluate.ExpressionFunction)
HelperFunctions contains the dsl functions
func LoadWordlists ¶
LoadWordlists creating proper data structure
func PitchforkGenerator ¶
PitchforkGenerator Attack - Generate positional combinations from an input map with all values listed as slices of the same size
func SniperGenerator ¶
SniperGenerator Attack - Generate sequential combinations
func StreamFile ¶
StreamFile content to a chan
func StringContainsAnyMapItem ¶
StringContainsAnyMapItem verifies is a string contains any value of a map