README ¶ Go Protocol Detector Network protocol detector. Not Stable Version ! May be refactored in future use. Support Protocol RDP FTP SSH How to use See detector_test.go TODO Support SFTP detector Support VNC detector Support Telnet detector How to implement [中文教程] Thanks ziutek/telnet Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables type Detector func NewDetector(timeOut time.Duration) *Detector func (d Detector) FTPCheck(host, port string) error func (d Detector) RDPCheck(host, port string) error func (d Detector) SSHCheck(host, port string) error func (d Detector) TelnetCheck(host, port string) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrRDPNotFound = errors.New("rdp not found") ErrSSHNotFound = errors.New("ssh not found") ErrFTPNotFound = errors.New("ftp not found") ErrTelnetNotFound = errors.New("telnet not found") ) Functions ¶ This section is empty. Types ¶ type Detector ¶ type Detector struct { // contains filtered or unexported fields } func NewDetector ¶ func NewDetector(timeOut time.Duration) *Detector func (Detector) FTPCheck ¶ func (d Detector) FTPCheck(host, port string) error func (Detector) RDPCheck ¶ func (d Detector) RDPCheck(host, port string) error func (Detector) SSHCheck ¶ func (d Detector) SSHCheck(host, port string) error func (Detector) TelnetCheck ¶ added in v0.2.0 func (d Detector) TelnetCheck(host, port string) error Source Files ¶ View all Source files CustomError.go detector.go Directories ¶ Show internal Expand all Path Synopsis FTPFeature Model RDPFeature SSHFeature TelnetFeature Click to show internal directories. Click to hide internal directories.