Detector

package module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 11 Imported by: 0

README

Go Protocol Detector

[中文]

Network protocol detector.

Not Stable Version !

May be refactored in future use.

Support Protocol

  • RDP

  • FTP

  • SFTP

    Something you should know, first, SSH validation is required, then check SFTP Client protocol.

    I think it need implemented by gopacket

  • SSH

  • VNC

  • Telnet

How to use

See detector_test.go

TODO

How to implement

[中文教程]

Thanks

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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) CommonPortCheck added in v0.5.0

func (d Detector) CommonPortCheck(host, port string) error

func (Detector) FTPCheck

func (d Detector) FTPCheck(host, port string) error

func (Detector) RDPCheck

func (d Detector) RDPCheck(host, port string) error

func (Detector) SFTPCheck added in v0.4.0

func (d Detector) SFTPCheck(host, port, user, password, privateKeyFullPath 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

func (Detector) VNCCheck added in v0.3.0

func (d Detector) VNCCheck(host, port string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL