Documentation ¶
Overview ¶
Package httpbrute @Author bcy2007 2023/6/20 14:54
Package httpbrute @Author bcy2007 2023/6/20 15:08
Package httpbrute @Author bcy2007 2023/6/21 11:05
Package httpbrute @Author bcy2007 2023/7/31 14:02
Package httpbrute @Author bcy2007 2023/6/20 15:08
Package httpbrute @Author bcy2007 2023/6/20 14:47
Package httpbrute @Author bcy2007 2023/6/20 16:15
Index ¶
- Constants
- func ConnectTest(urlStr string, proxy *url.URL) (bool, string)
- func ElementsFilter(elements *core.GeneralElements, keyword string) *core.GeneralElement
- func HttpBruteForce(urlStr string, opts ...BruteConfigOpt) (chan Result, error)
- type BruteConfig
- type BruteConfigOpt
- func WithButtonSelector(buttonSelector string) BruteConfigOpt
- func WithCaptchaImgSelector(captchaImgSelector string) BruteConfigOpt
- func WithCaptchaMode(captchaMode string) BruteConfigOpt
- func WithCaptchaSelector(captchaSelector string) BruteConfigOpt
- func WithCaptchaUrl(captchaUrl string) BruteConfigOpt
- func WithExePath(exePath string) BruteConfigOpt
- func WithExtraWaitLoadTime(time int) BruteConfigOpt
- func WithLeakless(leakless config.LeaklessMode) BruteConfigOpt
- func WithLoginDetectMode(detectMode loginDetectMode, degree ...float64) BruteConfigOpt
- func WithPassword(password ...string) BruteConfigOpt
- func WithPasswordSelector(passwordSelector string) BruteConfigOpt
- func WithPasswords(passwords []string) BruteConfigOpt
- func WithProxy(proxy string, details ...string) BruteConfigOpt
- func WithResultChannel(ch chan Result) BruteConfigOpt
- func WithUsername(username ...string) BruteConfigOpt
- func WithUsernameSelector(usernameSelector string) BruteConfigOpt
- func WithUsernames(usernames []string) BruteConfigOpt
- func WithWsAddress(wsAddress string) BruteConfigOpt
- type BruteForceCore
- type BruteResult
- type Result
- type SimulatorCore
Constants ¶
View Source
const ( UrlChangeMode loginDetectMode = 0 HtmlChangeMode loginDetectMode = 1 DefaultChangeMode loginDetectMode = -1 )
Variables ¶
This section is empty.
Functions ¶
func ElementsFilter ¶
func ElementsFilter(elements *core.GeneralElements, keyword string) *core.GeneralElement
func HttpBruteForce ¶
func HttpBruteForce(urlStr string, opts ...BruteConfigOpt) (chan Result, error)
Types ¶
type BruteConfig ¶
type BruteConfig struct {
// contains filtered or unexported fields
}
func NewBruteConfig ¶
func NewBruteConfig() *BruteConfig
type BruteConfigOpt ¶
type BruteConfigOpt func(*BruteConfig)
func WithButtonSelector ¶
func WithButtonSelector(buttonSelector string) BruteConfigOpt
func WithCaptchaImgSelector ¶
func WithCaptchaImgSelector(captchaImgSelector string) BruteConfigOpt
func WithCaptchaMode ¶
func WithCaptchaMode(captchaMode string) BruteConfigOpt
func WithCaptchaSelector ¶
func WithCaptchaSelector(captchaSelector string) BruteConfigOpt
func WithCaptchaUrl ¶
func WithCaptchaUrl(captchaUrl string) BruteConfigOpt
func WithExePath ¶
func WithExePath(exePath string) BruteConfigOpt
func WithExtraWaitLoadTime ¶
func WithExtraWaitLoadTime(time int) BruteConfigOpt
func WithLeakless ¶ added in v1.2.4
func WithLeakless(leakless config.LeaklessMode) BruteConfigOpt
func WithLoginDetectMode ¶
func WithLoginDetectMode(detectMode loginDetectMode, degree ...float64) BruteConfigOpt
func WithPassword ¶
func WithPassword(password ...string) BruteConfigOpt
func WithPasswordSelector ¶
func WithPasswordSelector(passwordSelector string) BruteConfigOpt
func WithPasswords ¶
func WithPasswords(passwords []string) BruteConfigOpt
func WithProxy ¶
func WithProxy(proxy string, details ...string) BruteConfigOpt
func WithResultChannel ¶
func WithResultChannel(ch chan Result) BruteConfigOpt
func WithUsername ¶
func WithUsername(username ...string) BruteConfigOpt
func WithUsernameSelector ¶
func WithUsernameSelector(usernameSelector string) BruteConfigOpt
func WithUsernames ¶
func WithUsernames(usernames []string) BruteConfigOpt
func WithWsAddress ¶
func WithWsAddress(wsAddress string) BruteConfigOpt
type BruteForceCore ¶
type BruteForceCore struct {
// contains filtered or unexported fields
}
func NewBruteForce ¶
func NewBruteForce(urlStr string, opts ...BruteConfigOpt) (*BruteForceCore, error)
func (*BruteForceCore) Start ¶
func (bruteForce *BruteForceCore) Start() error
type BruteResult ¶
type BruteResult struct {
// contains filtered or unexported fields
}
func (*BruteResult) Base64 ¶
func (bruteResult *BruteResult) Base64() string
func (*BruteResult) Info ¶
func (bruteResult *BruteResult) Info() string
func (*BruteResult) Password ¶
func (bruteResult *BruteResult) Password() string
func (*BruteResult) Status ¶
func (bruteResult *BruteResult) Status() bool
func (*BruteResult) Username ¶
func (bruteResult *BruteResult) Username() string
type SimulatorCore ¶
type SimulatorCore interface { Start() error // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.