examples

package
v1.2.6-sp8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BruteForceResult

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

func BruteForceModuleV2

func BruteForceModuleV2(urlStr string, configOpts ...ConfigOpt) (*BruteForceResult, error)

func (*BruteForceResult) AddLog

func (result *BruteForceResult) AddLog(logStr string)

func (*BruteForceResult) Cookie

func (result *BruteForceResult) Cookie() string

func (*BruteForceResult) Log

func (result *BruteForceResult) Log() []string

func (*BruteForceResult) LoginPngB64

func (result *BruteForceResult) LoginPngB64() string

func (*BruteForceResult) Password

func (result *BruteForceResult) Password() string

func (*BruteForceResult) SetCookie

func (result *BruteForceResult) SetCookie(cookie string)

func (*BruteForceResult) SetLoginPngB64

func (result *BruteForceResult) SetLoginPngB64(b64 string)

func (*BruteForceResult) SetPassword

func (result *BruteForceResult) SetPassword(password string)

func (*BruteForceResult) SetUsername

func (result *BruteForceResult) SetUsername(username string)

func (*BruteForceResult) Username

func (result *BruteForceResult) Username() string

type Config

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

type ConfigOpt

type ConfigOpt func(*Config)

func WithCaptchaImgSelector added in v1.2.2

func WithCaptchaImgSelector(selector string) ConfigOpt

func WithCaptchaMode

func WithCaptchaMode(modeName string) ConfigOpt

func WithCaptchaSelector added in v1.2.2

func WithCaptchaSelector(selector string) ConfigOpt

func WithCaptchaUrl

func WithCaptchaUrl(url string) ConfigOpt

func WithPassWordList

func WithPassWordList(passwordList []string) ConfigOpt

func WithPasswordSelector added in v1.2.2

func WithPasswordSelector(selector string) ConfigOpt

func WithProxy

func WithProxy(proxy string) ConfigOpt

func WithProxyDetails

func WithProxyDetails(proxy, username, password string) ConfigOpt

func WithResultChannel added in v1.2.3

func WithResultChannel(ch chan *BruteForceResult) ConfigOpt

func WithSubmitButtonSelector added in v1.2.2

func WithSubmitButtonSelector(selector string) ConfigOpt

func WithUserNameList

func WithUserNameList(usernameList []string) ConfigOpt

func WithUsernameSelector added in v1.2.2

func WithUsernameSelector(selector string) ConfigOpt

func WithWsAddress

func WithWsAddress(wsAddress string) ConfigOpt

type WrongUsernamePasswordError

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

func NewWrongUsernamePasswordError

func NewWrongUsernamePasswordError(i interface{}) *WrongUsernamePasswordError

func NewWrongUsernamePasswordErrorf

func NewWrongUsernamePasswordErrorf(origin string, args ...interface{}) *WrongUsernamePasswordError

func (*WrongUsernamePasswordError) Error

func (err *WrongUsernamePasswordError) Error() string

Jump to

Keyboard shortcuts

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