mirror of
https://github.com/anotherhadi/github-recon.git
synced 2026-10-05 10:58:25 +02:00
@@ -34,6 +34,7 @@ type Settings struct {
|
||||
MaxDistance int
|
||||
HideAvatar bool
|
||||
SpoofEmail bool
|
||||
Trufflehog bool
|
||||
|
||||
// Internal
|
||||
Client *github.Client
|
||||
@@ -93,6 +94,12 @@ func GetSettings() (settings Settings) {
|
||||
20,
|
||||
"Maximum Levenshtein distance for matching usernames & emails (only for deep scan)",
|
||||
)
|
||||
flag.BoolVar(
|
||||
&settings.Trufflehog,
|
||||
"trufflehog",
|
||||
true,
|
||||
"Run trufflehog on cloned repositories (only for deep scan)",
|
||||
)
|
||||
|
||||
flag.BoolVarP(&settings.Silent, "silent", "S", false, "Suppress all non-essential output")
|
||||
flag.BoolVarP(&settings.SpoofEmail, "spoof-email", "", true, "Spoof email (only for email mode)")
|
||||
|
||||
Reference in New Issue
Block a user