Documentation ¶
Index ¶
- type CheckResult
- type DeliveryInfo
- type Detector
- func (d Detector) CommonPortCheck(host, port string) error
- func (d Detector) FTPCheck(host, port string) error
- func (d Detector) RDPCheck(host, port string) error
- func (d Detector) SFTPCheck(host, port, user, password, privateKeyFullPath string) error
- func (d Detector) SSHCheck(host, port string) error
- func (d Detector) TelnetCheck(host, port string) error
- func (d Detector) VNCCheck(host, port string) error
- type IPRangeInfo
- type InputInfo
- type OutputInfo
- type ProtocolType
- type ScanTools
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type CheckResult struct { Success bool ProtocolType ProtocolType Host string Port string }
type DeliveryInfo ¶
type DeliveryInfo struct { ProtocolType ProtocolType Host string Port string User string Password string PrivateKeyFullPath string Detector *Detector CheckResultChan chan CheckResult Wg *sync.WaitGroup }
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
func NewDetector ¶
func (Detector) CommonPortCheck ¶
func (Detector) TelnetCheck ¶
type OutputInfo ¶
type OutputInfo struct { ProtocolType ProtocolType SuccessMapString map[string][]string FailedMapString map[string][]string }
type ProtocolType ¶
type ProtocolType int
const ( RDP ProtocolType = iota + 1 SSH FTP SFTP Telnet VNC Common )
func String2ProcotolType ¶ added in v0.8.0
func String2ProcotolType(input string) ProtocolType
func (ProtocolType) String ¶
func (p ProtocolType) String() string
type ScanTools ¶
type ScanTools struct {
// contains filtered or unexported fields
}
func (ScanTools) Scan ¶
func (s ScanTools) Scan(protocolType ProtocolType, inputInfo InputInfo, showProgressStep bool) (*OutputInfo, error)
Click to show internal directories.
Click to hide internal directories.