bruteforce

package
v1.3.6-beta3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BruteForceStart

func BruteForceStart(url string, opts ...ConfigOpt) (string, string)

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 Config

type Config struct {
	// contains filtered or unexported fields
}

type ConfigMethod

type ConfigMethod func(*BruteForce)

type ConfigMethods

type ConfigMethods []ConfigMethod

type ConfigOpt

type ConfigOpt func(c *Config)

func ClickMethod

func ClickMethod(selector string) ConfigOpt

func InputMethod

func InputMethod(selector, inputStr string) ConfigOpt

func SelectMethod

func SelectMethod(selector, item string) ConfigOpt

func WithButtonElement

func WithButtonElement(element string) ConfigOpt

func WithCaptchaElement

func WithCaptchaElement(element, pic string) ConfigOpt

func WithCaptchaUrl

func WithCaptchaUrl(urlStr string) ConfigOpt

func WithPassword

func WithPassword(password ...string) ConfigOpt

func WithPasswordElement

func WithPasswordElement(element string) ConfigOpt

func WithUserPassPath

func WithUserPassPath(filepath ...string) ConfigOpt

func WithUsername

func WithUsername(username ...string) ConfigOpt

func WithUsernameElement

func WithUsernameElement(element string) ConfigOpt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL