Documentation ¶
Index ¶
- type Authenticator
- type Credentials
- type Engine
- type RunStats
- func (s *RunStats) AddError()
- func (s *RunStats) AddInvalidCredentials()
- func (s *RunStats) AddValidCredentials()
- func (s *RunStats) End()
- func (s *RunStats) GetAverageCredentialsPerSecond() float64
- func (s *RunStats) GetElapsedTime() time.Duration
- func (s *RunStats) GetEnd() *time.Time
- func (s *RunStats) GetErrors() uint64
- func (s *RunStats) GetInvalidCredentials() uint64
- func (s *RunStats) GetRemainingTime() time.Duration
- func (s *RunStats) GetStart() *time.Time
- func (s *RunStats) GetTotalCredentials() uint64
- func (s *RunStats) GetTriedCredentials() uint64
- func (s *RunStats) GetValidCredentials() uint64
- func (s *RunStats) Start()
- func (s *RunStats) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Credentials ¶
type Engine ¶
type Engine struct { // Runner's callbacks OnErrorCallback func(error) OnSuccessCallback func(Credentials) OnFailCallback func(Credentials) // Stats RunStats *RunStats // contains filtered or unexported fields }
func NewEngine ¶
func NewEngine(users, passwords []string, threads uint16, authenticator Authenticator) (*Engine, error)
func NewEngineWithFiles ¶
func NewEngineWithFiles(usersFile, passwordsFile string, threads uint16, authenticator Authenticator) (*Engine, error)
type RunStats ¶
type RunStats struct {
// contains filtered or unexported fields
}
func (*RunStats) AddInvalidCredentials ¶
func (s *RunStats) AddInvalidCredentials()
func (*RunStats) AddValidCredentials ¶
func (s *RunStats) AddValidCredentials()
func (*RunStats) GetAverageCredentialsPerSecond ¶
func (*RunStats) GetElapsedTime ¶
func (*RunStats) GetInvalidCredentials ¶
func (*RunStats) GetRemainingTime ¶
func (*RunStats) GetTotalCredentials ¶
func (*RunStats) GetTriedCredentials ¶
func (*RunStats) GetValidCredentials ¶
Click to show internal directories.
Click to hide internal directories.