Init gravatar recon

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-09-25 19:47:06 +02:00
parent a6383c9de3
commit 8729b0c779
15 changed files with 359 additions and 103 deletions

View File

@@ -28,6 +28,7 @@ type ServerSettings struct {
GithubToken string `json:"-"` // Github token for github-recon
GithubTokenLoaded bool
GithubDeepMode bool // Deep mode for github-recon
GravatarRecon bool // Activate gravatar-recon OSINT tool
}
func LoadServerSettings() ServerSettings {
@@ -49,6 +50,7 @@ func LoadServerSettings() ServerSettings {
GithubRecon: getEnvBoolOrDefault("GITHUB_RECON", true),
GithubToken: getEnvStringOrDefault("GITHUB_TOKEN", "null"),
GithubDeepMode: getEnvBoolOrDefault("GITHUB_DEEP_MODE", false),
GravatarRecon: getEnvBoolOrDefault("GRAVATAR_RECON", true),
}
if ss.GithubToken == "null" || strings.TrimSpace(ss.GithubToken) == "" {