Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadURLsFromFile ¶
Types ¶
type Secret ¶
type Secret struct {
Name string //Name of secret matched
Description string //Description of secret matched
Regex string //Regex pattern that matched secret
FalsePositives []string
Poc string //POC check if secret is valid or not
}
func GetSecretRegexes ¶
func GetSecretRegexes() []Secret
Define the GetSecretRegexes function to return a slice of all secret structs.
type SecretMatched ¶
type SecretMatched struct {
Secret Secret //Secret that was matched
URL string //URL where secret was found
Match string //Match string that matched
}
func CheckURLForSecrets ¶
func CheckURLForSecrets(url string, secret Secret) []SecretMatched
func CheckURLs ¶
func CheckURLs(urls []string, secrets []Secret, concurrency int, verbose bool, bar *progressbar.ProgressBar) []SecretMatched
Click to show internal directories.
Click to hide internal directories.