Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointMatched ¶
EndpointMatched struct. Parameters = a list of parameters in a particular endpoint. Url = url (aka endpoint).
func RemovDuplicateEndpoints ¶
func RemovDuplicateEndpoints(input []EndpointMatched) []EndpointMatched
RemovDuplicateEndpoints removes duplicate endpoints found.
type Error ¶
Error struct. ErrorName = the name that identifies the error. Regex = The regular expression to be matched.
func GetErrorRegexes ¶
func GetErrorRegexes() []Error
GetErrorRegexes returns all the error structs.
type ErrorMatched ¶
ErrorMatched struct. Error = Error struct. Url = url in which the error is found. Match = the string matching the regex.
func RemoveDuplicateErrors ¶
func RemoveDuplicateErrors(input []ErrorMatched) []ErrorMatched
RemoveDuplicateErrors removes duplicates from Errors found.
type FileType ¶
type FileType struct {
Extension string `json:"extension,omitempty"`
Severity int `json:"severity,omitempty"`
}
FileType struct. Extension = the file extension (doc, txt ..etc..). Severity = the 'importance' of the file found. Higher is better.
func GetExtensions ¶
func GetExtensions() []FileType
GetExtensions returns all the extension structs.
type FileTypeMatched ¶
FileTypeMatched struct. Filetype = Filetype struct. Url = url of the file found.
func RemoveDuplicateExtensions ¶
func RemoveDuplicateExtensions(input []FileTypeMatched) []FileTypeMatched
RemoveDuplicateExtensions removes duplicates from Extensions found.
type Info ¶
Info struct. Name = the name that identifies the information. Regex = The regular expression to be matched.
type InfoMatched ¶
InfoMatched struct. Info = Info struct. Url = url in which the information is found. Match = the string matching the regex.
func RemoveDuplicateInfos ¶
func RemoveDuplicateInfos(input []InfoMatched) []InfoMatched
RemoveDuplicateInfos removes duplicates from Infos found.
type Parameter ¶
Parameter struct. Parameter = the name of the parameter. Attacks = Possible attacks.
func GetJuicyParameters ¶
func GetJuicyParameters() []Parameter
GetJuicyParameters returns juicy parameters and their possible attacks.
type Secret ¶
type Secret struct {
Name string
Description string
Regex regexp.Regexp
FalsePositives []string
Poc string
}
Secret struct. Name = the name that identifies the secret. Description. Regex = The regular expression matching the secret. FalsePositives = A list of known false positives. PoC = cli command to check if the secret is valid or not.
func GetSecretRegexes ¶
func GetSecretRegexes() []Secret
GetSecretRegexes returns a slice of all the secret structs.
type SecretMatched ¶
SecretMatched struct. Secret = The secret matched (struct). Url = url in which is present the secret. Match = the string matching the regex.
func RemoveDuplicateSecrets ¶
func RemoveDuplicateSecrets(input []SecretMatched) []SecretMatched
RemoveDuplicateSecrets removes duplicates from secrets found.