Documentation ¶
Index ¶
- type BruteForceResult
- func (result *BruteForceResult) AddLog(logStr string)
- func (result *BruteForceResult) Cookie() string
- func (result *BruteForceResult) Log() []string
- func (result *BruteForceResult) LoginPngB64() string
- func (result *BruteForceResult) Password() string
- func (result *BruteForceResult) SetCookie(cookie string)
- func (result *BruteForceResult) SetLoginPngB64(b64 string)
- func (result *BruteForceResult) SetPassword(password string)
- func (result *BruteForceResult) SetUsername(username string)
- func (result *BruteForceResult) Username() string
- type Config
- type ConfigOpt
- func WithCaptchaImgSelector(selector string) ConfigOpt
- func WithCaptchaMode(modeName string) ConfigOpt
- func WithCaptchaSelector(selector string) ConfigOpt
- func WithCaptchaUrl(url string) ConfigOpt
- func WithPassWordList(passwordList []string) ConfigOpt
- func WithPasswordSelector(selector string) ConfigOpt
- func WithProxy(proxy string) ConfigOpt
- func WithProxyDetails(proxy, username, password string) ConfigOpt
- func WithResultChannel(ch chan *BruteForceResult) ConfigOpt
- func WithSubmitButtonSelector(selector string) ConfigOpt
- func WithUserNameList(usernameList []string) ConfigOpt
- func WithUsernameSelector(selector string) ConfigOpt
- func WithWsAddress(wsAddress string) ConfigOpt
- type WrongUsernamePasswordError
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 ConfigOpt ¶
type ConfigOpt func(*Config)
func WithCaptchaImgSelector ¶ added in v1.2.2
func WithCaptchaMode ¶
func WithCaptchaSelector ¶ added in v1.2.2
func WithCaptchaUrl ¶
func WithPassWordList ¶
func WithPasswordSelector ¶ added in v1.2.2
func WithProxyDetails ¶
func WithResultChannel ¶ added in v1.2.3
func WithResultChannel(ch chan *BruteForceResult) ConfigOpt
func WithSubmitButtonSelector ¶ added in v1.2.2
func WithUserNameList ¶
func WithUsernameSelector ¶ added in v1.2.2
func WithWsAddress ¶
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
Click to show internal directories.
Click to hide internal directories.