Documentation ¶
Index ¶
- func BruteForceStart(url string, opts ...ConfigOpt) (string, string)
- type BruteForce
- func (bf *BruteForce) CheckSuccess()
- func (bf *BruteForce) GetKeyElements() error
- func (bf *BruteForce) Init(url *string)
- func (bf *BruteForce) ReadUserPassList(filepaths ...string)
- func (bf *BruteForce) RunBefore(opts []ConfigMethod)
- func (bf *BruteForce) Start(url string, opts ...ConfigMethod) (string, string)
- type Config
- type ConfigMethod
- type ConfigMethods
- type ConfigOpt
- func ClickMethod(selector string) ConfigOpt
- func InputMethod(selector, inputStr string) ConfigOpt
- func SelectMethod(selector, item string) ConfigOpt
- func WithButtonElement(element string) ConfigOpt
- func WithCaptchaElement(element, pic string) ConfigOpt
- func WithCaptchaUrl(urlStr string) ConfigOpt
- func WithPassword(password ...string) ConfigOpt
- func WithPasswordElement(element string) ConfigOpt
- func WithUserPassPath(filepath ...string) ConfigOpt
- func WithUsername(username ...string) ConfigOpt
- func WithUsernameElement(element string) ConfigOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BruteForce ¶
type BruteForce struct { implement.Runner CaptchaErrorNumCount int // contains filtered or unexported fields }
func (*BruteForce) CheckSuccess ¶
func (bf *BruteForce) CheckSuccess()
func (*BruteForce) GetKeyElements ¶
func (bf *BruteForce) GetKeyElements() error
func (*BruteForce) Init ¶
func (bf *BruteForce) Init(url *string)
func (*BruteForce) ReadUserPassList ¶
func (bf *BruteForce) ReadUserPassList(filepaths ...string)
func (*BruteForce) RunBefore ¶
func (bf *BruteForce) RunBefore(opts []ConfigMethod)
func (*BruteForce) Start ¶
func (bf *BruteForce) Start(url string, opts ...ConfigMethod) (string, string)
type ConfigMethod ¶
type ConfigMethod func(*BruteForce)
type ConfigMethods ¶
type ConfigMethods []ConfigMethod
type ConfigOpt ¶
type ConfigOpt func(c *Config)
func ClickMethod ¶
func InputMethod ¶
func SelectMethod ¶
func WithButtonElement ¶
func WithCaptchaElement ¶
func WithCaptchaUrl ¶
func WithPassword ¶
func WithPasswordElement ¶
func WithUserPassPath ¶
func WithUsername ¶
func WithUsernameElement ¶
Click to show internal directories.
Click to hide internal directories.