Documentation ¶
Index ¶
- Variables
- func CalcCombinations(userCh []string, passCh []string) int
- func CalcCombinationsCombo(userCh []string, passCh []string) int
- func CalcCombinationsPass(passCh []string) int
- func Contains(s []string, e string) bool
- func GetPasswordsFromDefaultWordlist(version string, serviceType string) []string
- func GetUsersAndPasswords(h *Host, user string, password string, version string) ([]string, []string)
- func GetUsersAndPasswordsCombo(h *Host, combo string, version string) ([]string, []string)
- func GetUsersFromDefaultWordlist(version string, serviceType string) []string
- func IsFile(fileName string) bool
- func MapService(service string) string
- func ParseFile(filename string) (map[Host]int, error)
- func ParseGNMAP(filename string) (map[Host]int, error)
- func ParseJSON(filename string) (map[Host]int, error)
- func ParseList(filename string) (map[Host]int, error)
- func ParseNessus(filename string) (map[Host]int, error)
- func ParseNexpose(filename string) (map[Host]int, error)
- func ParseXML(filename string) (map[Host]int, error)
- func PrintResult(service string, host string, port int, user string, pass string, result bool, ...)
- func PrintWarningBeta(service string)
- func ReadPasswordsFromFile(filename string) ([]string, error)
- func ReadUsersFromFile(filename string) ([]string, error)
- func WriteToFile(service string, content string, port int, output string) error
- type Host
- type NessusHost
- type NessusItem
- type NessusReport
- type NexposeEndpoint
- type NexposeNode
- type NexposeService
- type NmapAddress
- type NmapHost
- type NmapPort
- type NmapRun
- type NmapService
- type NmapState
Constants ¶
This section is empty.
Variables ¶
View Source
var NAME_MAP = map[string]string{
"ms-sql-s": "mssql",
"microsoft-ds": "smbnt",
"cifs": "smbnt",
"postgresql": "postgres",
"smtps": "smtp",
"submission": "smtp",
"imaps": "imap",
"pop3s": "pop3",
"iss-realsecure": "vmauthd",
"snmptrap": "snmp",
"mysql": "mysql",
"vnc": "vnc",
"mongod": "mongodb",
"textui": "teamspeak",
"xmpp-client": "xmpp",
"ms-wbt-server": "rdp",
}
Functions ¶
func CalcCombinations ¶
func CalcCombinationsCombo ¶
func CalcCombinationsPass ¶
func GetUsersAndPasswords ¶
func MapService ¶
func PrintResult ¶
func PrintWarningBeta ¶
func PrintWarningBeta(service string)
func ReadPasswordsFromFile ¶
func ReadUsersFromFile ¶
Types ¶
type NessusHost ¶
type NessusHost struct { Name string `xml:"name,attr"` Items []NessusItem `xml:"ReportItem"` }
type NessusItem ¶
type NessusReport ¶
type NessusReport struct {
Hosts []NessusHost `xml:"Report>ReportHost"`
}
type NexposeEndpoint ¶
type NexposeEndpoint struct { Port string `xml:"port,attr"` Status string `xml:"status,attr"` Protocol string `xml:"protocol,attr"` Service NexposeService `xml:"services>service"` }
type NexposeNode ¶
type NexposeNode struct { Address string `xml:"address,attr"` Endpoints []NexposeEndpoint `xml:"endpoints>endpoint"` }
type NexposeService ¶
type NexposeService struct {
Name string `xml:"name,attr"`
}
type NmapAddress ¶
type NmapHost ¶
type NmapHost struct { Addresses []NmapAddress `xml:"address"` Ports []NmapPort `xml:"ports>port"` }
type NmapPort ¶
type NmapPort struct { PortId string `xml:"portid,attr"` Protocol string `xml:"protocol,attr"` PortState NmapState `xml:"state"` Service NmapService `xml:"service"` }
type NmapService ¶
type NmapService struct {
Name string `xml:"name,attr"`
}
Click to show internal directories.
Click to hide internal directories.