examples

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BruteForce

func BruteForce(urlStr string)

func BruteForceModule

func BruteForceModule(urlStr string, usernameList, passwordList []string, captchaUrl ...string) (string, string, string)

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 WithCaptchaMode

func WithCaptchaMode(modeName string) ConfigOpt

func WithCaptchaUrl

func WithCaptchaUrl(url string) ConfigOpt

func WithPassWordList

func WithPassWordList(passwordList []string) ConfigOpt

func WithProxy

func WithProxy(proxy string) ConfigOpt

func WithProxyDetails

func WithProxyDetails(proxy, username, password string) ConfigOpt

func WithUserNameList

func WithUserNameList(usernameList []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