Documentation
¶
Index ¶
- type AttemptInfo
- func (a *AttemptInfo) GetExtraProperties() map[string]interface{}
- func (a *AttemptInfo) GetRequest() *RequestUnion
- func (a *AttemptInfo) GetResponse() *ResponseUnion
- func (a *AttemptInfo) GetResult() *ResultInfo
- func (a *AttemptInfo) GetTimestamp() time.Time
- func (a *AttemptInfo) MarshalJSON() ([]byte, error)
- func (a *AttemptInfo) String() string
- func (a *AttemptInfo) UnmarshalJSON(data []byte) error
- type BruteForceAttempt
- func (b *BruteForceAttempt) GetAttempts() []*AttemptInfo
- func (b *BruteForceAttempt) GetExtraProperties() map[string]interface{}
- func (b *BruteForceAttempt) GetStatistics() *StatisticsInfo
- func (b *BruteForceAttempt) GetTarget() string
- func (b *BruteForceAttempt) String() string
- func (b *BruteForceAttempt) UnmarshalJSON(data []byte) error
- type BruteForceReport
- func (b *BruteForceReport) GetBruteForceAttempts() []*BruteForceAttempt
- func (b *BruteForceReport) GetErrors() []string
- func (b *BruteForceReport) GetExtraProperties() map[string]interface{}
- func (b *BruteForceReport) GetModule() ModuleType
- func (b *BruteForceReport) String() string
- func (b *BruteForceReport) UnmarshalJSON(data []byte) error
- type BruteForceRunConfig
- func (b *BruteForceRunConfig) GetExtraProperties() map[string]interface{}
- func (b *BruteForceRunConfig) GetModule() ModuleType
- func (b *BruteForceRunConfig) GetPasswords() []string
- func (b *BruteForceRunConfig) GetRetries() int
- func (b *BruteForceRunConfig) GetSleep() int
- func (b *BruteForceRunConfig) GetStopFirstSuccess() bool
- func (b *BruteForceRunConfig) GetSuccessfulOnly() bool
- func (b *BruteForceRunConfig) GetTargets() []string
- func (b *BruteForceRunConfig) GetTimeout() int
- func (b *BruteForceRunConfig) GetUsernames() []string
- func (b *BruteForceRunConfig) String() string
- func (b *BruteForceRunConfig) UnmarshalJSON(data []byte) error
- type CredentialPair
- type GeneralRequestInfo
- func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{}
- func (g *GeneralRequestInfo) GetHost() string
- func (g *GeneralRequestInfo) GetPassword() string
- func (g *GeneralRequestInfo) GetPort() int
- func (g *GeneralRequestInfo) GetUsername() string
- func (g *GeneralRequestInfo) String() string
- func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error
- type GeneralResponseInfo
- type ModuleType
- type RequestUnion
- type RequestUnionVisitor
- type ResponseUnion
- type ResponseUnionVisitor
- type ResultInfo
- type StatisticsInfo
- func (s *StatisticsInfo) GetExtraProperties() map[string]interface{}
- func (s *StatisticsInfo) GetNumFailed() int
- func (s *StatisticsInfo) GetNumPasswords() int
- func (s *StatisticsInfo) GetNumSuccessful() int
- func (s *StatisticsInfo) GetNumUsernames() int
- func (s *StatisticsInfo) GetRunConfig() *BruteForceRunConfig
- func (s *StatisticsInfo) String() string
- func (s *StatisticsInfo) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttemptInfo ¶
type AttemptInfo struct {
Request *RequestUnion `json:"request,omitempty" url:"request,omitempty"`
Response *ResponseUnion `json:"response,omitempty" url:"response,omitempty"`
Result *ResultInfo `json:"result,omitempty" url:"result,omitempty"`
Timestamp time.Time `json:"timestamp" url:"timestamp"`
// contains filtered or unexported fields
}
func (*AttemptInfo) GetExtraProperties ¶
func (a *AttemptInfo) GetExtraProperties() map[string]interface{}
func (*AttemptInfo) GetRequest ¶ added in v0.0.25
func (a *AttemptInfo) GetRequest() *RequestUnion
func (*AttemptInfo) GetResponse ¶ added in v0.0.25
func (a *AttemptInfo) GetResponse() *ResponseUnion
func (*AttemptInfo) GetResult ¶ added in v0.0.25
func (a *AttemptInfo) GetResult() *ResultInfo
func (*AttemptInfo) GetTimestamp ¶ added in v0.0.25
func (a *AttemptInfo) GetTimestamp() time.Time
func (*AttemptInfo) MarshalJSON ¶
func (a *AttemptInfo) MarshalJSON() ([]byte, error)
func (*AttemptInfo) String ¶
func (a *AttemptInfo) String() string
func (*AttemptInfo) UnmarshalJSON ¶
func (a *AttemptInfo) UnmarshalJSON(data []byte) error
type BruteForceAttempt ¶
type BruteForceAttempt struct {
Target string `json:"target" url:"target"`
Statistics *StatisticsInfo `json:"statistics,omitempty" url:"statistics,omitempty"`
Attempts []*AttemptInfo `json:"attempts,omitempty" url:"attempts,omitempty"`
// contains filtered or unexported fields
}
func (*BruteForceAttempt) GetAttempts ¶ added in v0.0.25
func (b *BruteForceAttempt) GetAttempts() []*AttemptInfo
func (*BruteForceAttempt) GetExtraProperties ¶
func (b *BruteForceAttempt) GetExtraProperties() map[string]interface{}
func (*BruteForceAttempt) GetStatistics ¶ added in v0.0.25
func (b *BruteForceAttempt) GetStatistics() *StatisticsInfo
func (*BruteForceAttempt) GetTarget ¶ added in v0.0.25
func (b *BruteForceAttempt) GetTarget() string
func (*BruteForceAttempt) String ¶
func (b *BruteForceAttempt) String() string
func (*BruteForceAttempt) UnmarshalJSON ¶
func (b *BruteForceAttempt) UnmarshalJSON(data []byte) error
type BruteForceReport ¶
type BruteForceReport struct {
Module ModuleType `json:"module" url:"module"`
BruteForceAttempts []*BruteForceAttempt `json:"bruteForceAttempts,omitempty" url:"bruteForceAttempts,omitempty"`
Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*BruteForceReport) GetBruteForceAttempts ¶ added in v0.0.25
func (b *BruteForceReport) GetBruteForceAttempts() []*BruteForceAttempt
func (*BruteForceReport) GetErrors ¶ added in v0.0.25
func (b *BruteForceReport) GetErrors() []string
func (*BruteForceReport) GetExtraProperties ¶
func (b *BruteForceReport) GetExtraProperties() map[string]interface{}
func (*BruteForceReport) GetModule ¶ added in v0.0.25
func (b *BruteForceReport) GetModule() ModuleType
func (*BruteForceReport) String ¶
func (b *BruteForceReport) String() string
func (*BruteForceReport) UnmarshalJSON ¶
func (b *BruteForceReport) UnmarshalJSON(data []byte) error
type BruteForceRunConfig ¶
type BruteForceRunConfig struct {
Module ModuleType `json:"module" url:"module"`
Targets []string `json:"targets,omitempty" url:"targets,omitempty"`
Usernames []string `json:"usernames,omitempty" url:"usernames,omitempty"`
Passwords []string `json:"passwords,omitempty" url:"passwords,omitempty"`
Timeout int `json:"timeout" url:"timeout"`
Sleep int `json:"sleep" url:"sleep"`
Retries int `json:"retries" url:"retries"`
SuccessfulOnly bool `json:"successfulOnly" url:"successfulOnly"`
StopFirstSuccess bool `json:"stopFirstSuccess" url:"stopFirstSuccess"`
// contains filtered or unexported fields
}
func (*BruteForceRunConfig) GetExtraProperties ¶
func (b *BruteForceRunConfig) GetExtraProperties() map[string]interface{}
func (*BruteForceRunConfig) GetModule ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetModule() ModuleType
func (*BruteForceRunConfig) GetPasswords ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetPasswords() []string
func (*BruteForceRunConfig) GetRetries ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetRetries() int
func (*BruteForceRunConfig) GetSleep ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetSleep() int
func (*BruteForceRunConfig) GetStopFirstSuccess ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetStopFirstSuccess() bool
func (*BruteForceRunConfig) GetSuccessfulOnly ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetSuccessfulOnly() bool
func (*BruteForceRunConfig) GetTargets ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetTargets() []string
func (*BruteForceRunConfig) GetTimeout ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetTimeout() int
func (*BruteForceRunConfig) GetUsernames ¶ added in v0.0.25
func (b *BruteForceRunConfig) GetUsernames() []string
func (*BruteForceRunConfig) String ¶
func (b *BruteForceRunConfig) String() string
func (*BruteForceRunConfig) UnmarshalJSON ¶
func (b *BruteForceRunConfig) UnmarshalJSON(data []byte) error
type CredentialPair ¶
type CredentialPair struct {
Username string `json:"username" url:"username"`
Password string `json:"password" url:"password"`
// contains filtered or unexported fields
}
func (*CredentialPair) GetExtraProperties ¶
func (c *CredentialPair) GetExtraProperties() map[string]interface{}
func (*CredentialPair) GetPassword ¶ added in v0.0.25
func (c *CredentialPair) GetPassword() string
func (*CredentialPair) GetUsername ¶ added in v0.0.25
func (c *CredentialPair) GetUsername() string
func (*CredentialPair) String ¶
func (c *CredentialPair) String() string
func (*CredentialPair) UnmarshalJSON ¶
func (c *CredentialPair) UnmarshalJSON(data []byte) error
type GeneralRequestInfo ¶
type GeneralRequestInfo struct {
Username string `json:"username" url:"username"`
Password string `json:"password" url:"password"`
Host string `json:"host" url:"host"`
Port int `json:"port" url:"port"`
// contains filtered or unexported fields
}
func (*GeneralRequestInfo) GetExtraProperties ¶
func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{}
func (*GeneralRequestInfo) GetHost ¶ added in v0.0.25
func (g *GeneralRequestInfo) GetHost() string
func (*GeneralRequestInfo) GetPassword ¶ added in v0.0.25
func (g *GeneralRequestInfo) GetPassword() string
func (*GeneralRequestInfo) GetPort ¶ added in v0.0.25
func (g *GeneralRequestInfo) GetPort() int
func (*GeneralRequestInfo) GetUsername ¶ added in v0.0.25
func (g *GeneralRequestInfo) GetUsername() string
func (*GeneralRequestInfo) String ¶
func (g *GeneralRequestInfo) String() string
func (*GeneralRequestInfo) UnmarshalJSON ¶
func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error
type GeneralResponseInfo ¶
type GeneralResponseInfo struct {
Message string `json:"message" url:"message"`
// contains filtered or unexported fields
}
func (*GeneralResponseInfo) GetExtraProperties ¶
func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{}
func (*GeneralResponseInfo) GetMessage ¶ added in v0.0.25
func (g *GeneralResponseInfo) GetMessage() string
func (*GeneralResponseInfo) String ¶
func (g *GeneralResponseInfo) String() string
func (*GeneralResponseInfo) UnmarshalJSON ¶
func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error
type ModuleType ¶
type ModuleType string
const ( ModuleTypeSsh ModuleType = "ssh" ModuleTypeTelnet ModuleType = "telnet" )
func NewModuleTypeFromString ¶
func NewModuleTypeFromString(s string) (ModuleType, error)
func (ModuleType) Ptr ¶
func (m ModuleType) Ptr() *ModuleType
type RequestUnion ¶
type RequestUnion struct {
Type string
GeneralRequest *GeneralRequestInfo
}
func NewRequestUnionFromGeneralRequest ¶
func NewRequestUnionFromGeneralRequest(value *GeneralRequestInfo) *RequestUnion
func (*RequestUnion) Accept ¶
func (r *RequestUnion) Accept(visitor RequestUnionVisitor) error
func (*RequestUnion) GetGeneralRequest ¶ added in v0.0.25
func (r *RequestUnion) GetGeneralRequest() *GeneralRequestInfo
func (*RequestUnion) GetType ¶ added in v0.0.25
func (r *RequestUnion) GetType() string
func (RequestUnion) MarshalJSON ¶
func (r RequestUnion) MarshalJSON() ([]byte, error)
func (*RequestUnion) UnmarshalJSON ¶
func (r *RequestUnion) UnmarshalJSON(data []byte) error
type RequestUnionVisitor ¶
type RequestUnionVisitor interface {
VisitGeneralRequest(*GeneralRequestInfo) error
}
type ResponseUnion ¶
type ResponseUnion struct {
Type string
GeneralResponse *GeneralResponseInfo
}
func NewResponseUnionFromGeneralResponse ¶
func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion
func (*ResponseUnion) Accept ¶
func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error
func (*ResponseUnion) GetGeneralResponse ¶ added in v0.0.25
func (r *ResponseUnion) GetGeneralResponse() *GeneralResponseInfo
func (*ResponseUnion) GetType ¶ added in v0.0.25
func (r *ResponseUnion) GetType() string
func (ResponseUnion) MarshalJSON ¶
func (r ResponseUnion) MarshalJSON() ([]byte, error)
func (*ResponseUnion) UnmarshalJSON ¶
func (r *ResponseUnion) UnmarshalJSON(data []byte) error
type ResponseUnionVisitor ¶
type ResponseUnionVisitor interface {
VisitGeneralResponse(*GeneralResponseInfo) error
}
type ResultInfo ¶
type ResultInfo struct {
Login bool `json:"login" url:"login"`
Ratelimit bool `json:"ratelimit" url:"ratelimit"`
// contains filtered or unexported fields
}
func (*ResultInfo) GetExtraProperties ¶
func (r *ResultInfo) GetExtraProperties() map[string]interface{}
func (*ResultInfo) GetLogin ¶ added in v0.0.25
func (r *ResultInfo) GetLogin() bool
func (*ResultInfo) GetRatelimit ¶ added in v0.0.25
func (r *ResultInfo) GetRatelimit() bool
func (*ResultInfo) String ¶
func (r *ResultInfo) String() string
func (*ResultInfo) UnmarshalJSON ¶
func (r *ResultInfo) UnmarshalJSON(data []byte) error
type StatisticsInfo ¶
type StatisticsInfo struct {
NumUsernames int `json:"numUsernames" url:"numUsernames"`
NumPasswords int `json:"numPasswords" url:"numPasswords"`
NumSuccessful int `json:"numSuccessful" url:"numSuccessful"`
NumFailed int `json:"numFailed" url:"numFailed"`
RunConfig *BruteForceRunConfig `json:"runConfig,omitempty" url:"runConfig,omitempty"`
// contains filtered or unexported fields
}
func (*StatisticsInfo) GetExtraProperties ¶
func (s *StatisticsInfo) GetExtraProperties() map[string]interface{}
func (*StatisticsInfo) GetNumFailed ¶ added in v0.0.25
func (s *StatisticsInfo) GetNumFailed() int
func (*StatisticsInfo) GetNumPasswords ¶ added in v0.0.25
func (s *StatisticsInfo) GetNumPasswords() int
func (*StatisticsInfo) GetNumSuccessful ¶ added in v0.0.25
func (s *StatisticsInfo) GetNumSuccessful() int
func (*StatisticsInfo) GetNumUsernames ¶ added in v0.0.25
func (s *StatisticsInfo) GetNumUsernames() int
func (*StatisticsInfo) GetRunConfig ¶ added in v0.0.25
func (s *StatisticsInfo) GetRunConfig() *BruteForceRunConfig
func (*StatisticsInfo) String ¶
func (s *StatisticsInfo) String() string
func (*StatisticsInfo) UnmarshalJSON ¶
func (s *StatisticsInfo) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.