Versions in this module Expand all Collapse all v0 v0.0.15 Oct 21, 2024 v0.0.14 Oct 8, 2024 v0.0.13 Oct 7, 2024 Changes in this version + type AttemptInfo struct + Request *RequestUnion + Response *ResponseUnion + Result *ResultInfo + Timestamp time.Time + func (a *AttemptInfo) GetExtraProperties() map[string]interface{} + func (a *AttemptInfo) MarshalJSON() ([]byte, error) + func (a *AttemptInfo) String() string + func (a *AttemptInfo) UnmarshalJSON(data []byte) error + type BruteForceAttempt struct + Attempts []*AttemptInfo + Statistics *StatisticsInfo + Target string + func (b *BruteForceAttempt) GetExtraProperties() map[string]interface{} + func (b *BruteForceAttempt) String() string + func (b *BruteForceAttempt) UnmarshalJSON(data []byte) error + type BruteForceReport struct + BruteForceAttempts []*BruteForceAttempt + Errors []string + Module ModuleType + func (b *BruteForceReport) GetExtraProperties() map[string]interface{} + func (b *BruteForceReport) String() string + func (b *BruteForceReport) UnmarshalJSON(data []byte) error + type BruteForceRunConfig struct + Module ModuleType + Passwords []string + Retries int + Sleep int + StopFirstSuccess bool + SuccessfulOnly bool + Targets []string + Timeout int + Usernames []string + func (b *BruteForceRunConfig) GetExtraProperties() map[string]interface{} + func (b *BruteForceRunConfig) String() string + func (b *BruteForceRunConfig) UnmarshalJSON(data []byte) error + type CredentialPair struct + Password string + Username string + func (c *CredentialPair) GetExtraProperties() map[string]interface{} + func (c *CredentialPair) String() string + func (c *CredentialPair) UnmarshalJSON(data []byte) error + type GeneralRequestInfo struct + Host string + Password string + Port int + Username string + func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{} + func (g *GeneralRequestInfo) String() string + func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error + type GeneralResponseInfo struct + Message string + func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{} + func (g *GeneralResponseInfo) String() string + func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error + type ModuleType string + const ModuleTypeSsh + const ModuleTypeTelnet + func NewModuleTypeFromString(s string) (ModuleType, error) + func (m ModuleType) Ptr() *ModuleType + type RequestUnion struct + GeneralRequest *GeneralRequestInfo + Type string + func NewRequestUnionFromGeneralRequest(value *GeneralRequestInfo) *RequestUnion + func (r *RequestUnion) Accept(visitor RequestUnionVisitor) error + func (r *RequestUnion) UnmarshalJSON(data []byte) error + func (r RequestUnion) MarshalJSON() ([]byte, error) + type RequestUnionVisitor interface + VisitGeneralRequest func(*GeneralRequestInfo) error + type ResponseUnion struct + GeneralResponse *GeneralResponseInfo + Type string + func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion + func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error + func (r *ResponseUnion) UnmarshalJSON(data []byte) error + func (r ResponseUnion) MarshalJSON() ([]byte, error) + type ResponseUnionVisitor interface + VisitGeneralResponse func(*GeneralResponseInfo) error + type ResultInfo struct + Login bool + Ratelimit bool + func (r *ResultInfo) GetExtraProperties() map[string]interface{} + func (r *ResultInfo) String() string + func (r *ResultInfo) UnmarshalJSON(data []byte) error + type StatisticsInfo struct + NumFailed int + NumPasswords int + NumSuccessful int + NumUsernames int + RunConfig *BruteForceRunConfig + func (s *StatisticsInfo) GetExtraProperties() map[string]interface{} + func (s *StatisticsInfo) String() string + func (s *StatisticsInfo) UnmarshalJSON(data []byte) error