Documentation ¶
Index ¶
- Constants
- Variables
- func Check(e error)
- func FakeAttack(c *Credential, params Parameters) (string, error)
- func Read2Files(userFile string, passFile string) <-chan *Credential
- func StartAttacker(nWorkers int, attackFunc func(*Credential, *Parameters) (string, error), ...)
- func Worker(reqStream <-chan *RequestStructure, name string, params *Parameters, ...)
- type Credential
- type Parameters
- type RequestStructure
- type Result
Constants ¶
View Source
const ( OK = iota CONNECTION_REFUSE TIMEOUT MAX_FAILED_ATTEMPTS )
Variables ¶
View Source
var Wg sync.WaitGroup
Functions ¶
func FakeAttack ¶
func FakeAttack(c *Credential, params Parameters) (string, error)
func Read2Files ¶
func Read2Files( userFile string, passFile string, ) <-chan *Credential
func StartAttacker ¶
func StartAttacker( nWorkers int, attackFunc func(*Credential, *Parameters) (string, error), params *Parameters, )
func Worker ¶
func Worker( reqStream <-chan *RequestStructure, name string, params *Parameters, attackFunc func(*Credential, *Parameters) (string, error), )
Types ¶
type Credential ¶
type Parameters ¶
type RequestStructure ¶
type RequestStructure struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.