Documentation ¶
Index ¶
- func BruteForce(urlStr string)
- func BruteForceModule(urlStr string, usernameList, passwordList []string, captchaUrl ...string) (string, string, string)
- 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 WithCaptchaMode(modeName string) ConfigOpt
- func WithCaptchaUrl(url string) ConfigOpt
- func WithPassWordList(passwordList []string) ConfigOpt
- func WithProxy(proxy string) ConfigOpt
- func WithProxyDetails(proxy, username, password string) ConfigOpt
- func WithUserNameList(usernameList []string) ConfigOpt
- func WithWsAddress(wsAddress string) ConfigOpt
- type WrongUsernamePasswordError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BruteForce ¶
func BruteForce(urlStr 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 ConfigOpt ¶
type ConfigOpt func(*Config)
func WithCaptchaMode ¶
func WithCaptchaUrl ¶
func WithPassWordList ¶
func WithProxyDetails ¶
func WithUserNameList ¶
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.