Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveKeyFromPassword ¶
DeriveKeyFromPassword derives an encryption key from a password
Types ¶
type APICredentials ¶
type APICredentials struct { CirclUsername string `json:"circl_username,omitempty"` CirclPassword string `json:"circl_password,omitempty"` PassiveTotalUser string `json:"passivetotal_user,omitempty"` PassiveTotalKey string `json:"passivetotal_key,omitempty"` ShodanAPIKey string `json:"shodan_api_key,omitempty"` CensysAPIID string `json:"censys_api_id,omitempty"` CensysAPISecret string `json:"censys_api_secret,omitempty"` VirusTotalAPIKey string `json:"virustotal_api_key,omitempty"` SecurityTrailsKey string `json:"securitytrails_key,omitempty"` }
APICredentials represents the structure of stored credentials
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles secure storage and retrieval of API credentials
func NewManager ¶
NewManager creates a new credentials manager
func (*Manager) CheckAndPromptForCircl ¶
CheckAndPromptForCircl checks if CIRCL credentials exist and prompts if not
func (*Manager) GetAPIKeys ¶
GetAPIKeys returns a map of API keys for use by discovery modules
func (*Manager) PromptForAllAPIs ¶
PromptForAllAPIs provides an interactive prompt for all supported APIs
Click to show internal directories.
Click to hide internal directories.