Documentation ¶
Index ¶
- Variables
- func FileDifference(fileName string, fileContent string) (int, error)
- func FileHash(fileName string) (string, error)
- func GetFile(fileName string) (string, error)
- func RunCheck(teamID uint, teamIP, boxIP, boxName string, check Check, wg *sync.WaitGroup, ...)
- func StringHash(fileContent string) (string, error)
- type Check
- type Cmd
- type CredData
- type Dns
- type DnsRecord
- type Ftp
- type FtpFile
- type Imap
- type Ldap
- type Ping
- type Rdp
- type Result
- type Smb
- type Smtp
- type Sql
- type Ssh
- type Tcp
- type Vnc
- type Web
- type WinRM
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FileDifference ¶
FileDifference returns the percentage difference between the contents of the filename passed and the contents of the file passed.
func StringHash ¶
Types ¶
type Check ¶
type Check interface { Run(uint, string, chan Result) FetchName() string FetchDisplay() string FetchIP() string FetchAnonymous() bool }
checks for each service
type Cmd ¶
func (Cmd) FetchAnonymous ¶
func (c Cmd) FetchAnonymous() bool
func (Cmd) FetchDisplay ¶
func (c Cmd) FetchDisplay() string
type Dns ¶
type Dns struct { Record []DnsRecord // contains filtered or unexported fields }
func (Dns) FetchAnonymous ¶
func (c Dns) FetchAnonymous() bool
func (Dns) FetchDisplay ¶
func (c Dns) FetchDisplay() string
type Ftp ¶
type Ftp struct { File []FtpFile // contains filtered or unexported fields }
func (Ftp) FetchAnonymous ¶
func (c Ftp) FetchAnonymous() bool
func (Ftp) FetchDisplay ¶
func (c Ftp) FetchDisplay() string
type Imap ¶
type Imap struct { Encrypted bool // contains filtered or unexported fields }
func (Imap) FetchAnonymous ¶
func (c Imap) FetchAnonymous() bool
func (Imap) FetchDisplay ¶
func (c Imap) FetchDisplay() string
type Ldap ¶
func (Ldap) FetchAnonymous ¶
func (c Ldap) FetchAnonymous() bool
func (Ldap) FetchDisplay ¶
func (c Ldap) FetchDisplay() string
type Ping ¶
type Ping struct { Count int AllowPacketLoss bool Percent int // contains filtered or unexported fields }
func (Ping) FetchAnonymous ¶
func (c Ping) FetchAnonymous() bool
func (Ping) FetchDisplay ¶
func (c Ping) FetchDisplay() string
type Rdp ¶
type Rdp struct {
// contains filtered or unexported fields
}
func (Rdp) FetchAnonymous ¶
func (c Rdp) FetchAnonymous() bool
func (Rdp) FetchDisplay ¶
func (c Rdp) FetchDisplay() string
type Smb ¶
type Smb struct { Domain string File []smbFile // contains filtered or unexported fields }
func (Smb) FetchAnonymous ¶
func (c Smb) FetchAnonymous() bool
func (Smb) FetchDisplay ¶
func (c Smb) FetchDisplay() string
type Smtp ¶
type Smtp struct { Sender string Receiver string Body string Encrypted bool // contains filtered or unexported fields }
func (Smtp) FetchAnonymous ¶
func (c Smtp) FetchAnonymous() bool
func (Smtp) FetchDisplay ¶
func (c Smtp) FetchDisplay() string
type Sql ¶
type Sql struct { Kind string Query []queryData // contains filtered or unexported fields }
func (Sql) FetchAnonymous ¶
func (c Sql) FetchAnonymous() bool
func (Sql) FetchDisplay ¶
func (c Sql) FetchDisplay() string
type Ssh ¶
type Ssh struct { PrivKey string BadAttempts int Command []commandData // contains filtered or unexported fields }
func (Ssh) FetchAnonymous ¶
func (c Ssh) FetchAnonymous() bool
func (Ssh) FetchDisplay ¶
func (c Ssh) FetchDisplay() string
type Tcp ¶
type Tcp struct {
// contains filtered or unexported fields
}
func (Tcp) FetchAnonymous ¶
func (c Tcp) FetchAnonymous() bool
func (Tcp) FetchDisplay ¶
func (c Tcp) FetchDisplay() string
type Vnc ¶
type Vnc struct {
// contains filtered or unexported fields
}
func (Vnc) FetchAnonymous ¶
func (c Vnc) FetchAnonymous() bool
func (Vnc) FetchDisplay ¶
func (c Vnc) FetchDisplay() string
type Web ¶
type Web struct { Url []urlData Scheme string // contains filtered or unexported fields }
func (Web) FetchAnonymous ¶
func (c Web) FetchAnonymous() bool
func (Web) FetchDisplay ¶
func (c Web) FetchDisplay() string
type WinRM ¶
type WinRM struct { Encrypted bool BadAttempts int Command []winCommandData // contains filtered or unexported fields }
func (WinRM) FetchAnonymous ¶
func (c WinRM) FetchAnonymous() bool
func (WinRM) FetchDisplay ¶
func (c WinRM) FetchDisplay() string
Click to show internal directories.
Click to hide internal directories.