Versions in this module Expand all Collapse all v1 v1.1.2 Apr 17, 2023 v1.1.1 Apr 17, 2023 Changes in this version + var CustomAuthMap *AuthList + var DefaultAuthMap map[string]*AuthList + var ProtocolList = strings.Split(...) + func CheckWeakPassword(ip, service string, port int) + func DoNmapRst(bf *bytes.Buffer) + func DoNmapWithFile(s string, bf *bytes.Buffer) bool + func DoParseXml(s string, bf *bytes.Buffer) + func GetAttr(att []xmlquery.Attr, name string) string + func InitCustomAuthMap(user, pass []string) + func InitDefaultAuthMap() + func Ok(protocol string) bool + func RouterOsCracker(i interface{}) interface + func Socks5Cracker(i interface{}) interface + func Start(IPAddr string, Port int, Protocol string) + func VncCracker(i interface{}) interface + func WinrmCracker(i interface{}) interface + type Auth struct + Other map[string]string + Password string + Username string + func NewAuth() Auth + func NewAuthFromPasswords(passwords []string) []Auth + func NewAuthFromUsernameAndPassword(usernames, passwords []string) []Auth + func NewSpecialAuth(username, password string) Auth + func (a *Auth) MakePassword() + type AuthInfo struct + Auth Auth + IPAddr string + Port int + Protocol string + Status bool + func NewAuthInfo(IPAddr string, Port int, Protocol string) *AuthInfo + func (a *AuthInfo) Display() string + func (a *AuthInfo) Output() string + type AuthList struct + Password []string + Special []Auth + Username []string + func GetDefaultFtpList(t string) *AuthList + func NewAuthList() *AuthList + func (a *AuthList) Dict(onlyPassword bool) []Auth + func (a *AuthList) IsEmpty() bool + func (a *AuthList) Length() int + func (a *AuthList) Merge(list *AuthList) + func (a *AuthList) Replace(list *AuthList) + type Cracker struct + Out chan AuthInfo + Pool *pool.Pool + func NewCracker(info *AuthInfo, isAuthUpdate bool, threads int) *Cracker + func (c *Cracker) Length() int + func (c *Cracker) OutWatchDog() + func (c *Cracker) Run() + type PPDict struct + DefaultUp string + Paswd string + Username string