Versions in this module Expand all Collapse all v0 v0.9.1 May 1, 2026 Changes in this version + const DecoderName + const EtypeAES128CTS + const EtypeAES256CTS + const EtypeRC4HMAC + var Decoder = &decoder.AbstractDecoder + func InitBruteforceDetector(config *BruteforceConfig) + func InitializeHarvesters(config *HarvestersConfigFile) error + func ResetSecretStore() + func RunHarvesters(banner []byte, transport gopacket.Flow, ident string, firstPacket time.Time, ...) + func SaveHarvestersConfig(path string, config *HarvestersConfigFile) error + func WriteSecret(creds *types.Secret) + type BruteforceAlert struct + Duration time.Duration + FailedAttempts int + FirstAttempt time.Time + LastAttempt time.Time + Service string + SourceIP string + TargetServers []string + Timestamp time.Time + func (a *BruteforceAlert) String() string + type BruteforceConfig struct + Enabled bool + FailureThreshold int + MeasurementInterval time.Duration + PerServiceTracking bool + PerSourceTracking bool + func DefaultBruteforceConfig() *BruteforceConfig + type BruteforceDetector struct + func GetBruteforceDetector() *BruteforceDetector + func NewBruteforceDetector(config *BruteforceConfig) *BruteforceDetector + func (d *BruteforceDetector) GetAlerts() []BruteforceAlert + func (d *BruteforceDetector) GetStats() map[string]any + func (d *BruteforceDetector) RecordFailure(sourceIP, targetIP, service, username string, ts time.Time) + func (d *BruteforceDetector) RecordSuccess(sourceIP, targetIP, service, username string, ts time.Time) + func (d *BruteforceDetector) SetAlertCallback(cb func(BruteforceAlert)) + func (d *BruteforceDetector) Stop() + type CustomHarvesterConfig struct + Description string + Enabled bool + Name string + Parameters map[string]any + Ports []int + Regex string + type Harvester struct + Description string + HarvesterFunc secretHarvester + Name string + type HarvesterConfig struct + Description string + Enabled bool + Name string + Parameters map[string]any + Ports []int + type HarvesterInfo struct + Description string + Name string + Ports []int + func GetHarvesters() []HarvesterInfo + type HarvestersConfigFile struct + CustomHarvesters []CustomHarvesterConfig + Harvesters []HarvesterConfig + func GetDefaultHarvestersConfig() *HarvestersConfigFile + func GetHarvesterConfig() *HarvestersConfigFile + func LoadHarvestersConfig(path string) (*HarvestersConfigFile, error)