rdp

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 9

Documentation

Index

Constants

View Source
const RDP = "rdp"

Variables

This section is empty.

Functions

func DetectRDP

func DetectRDP(conn net.Conn, timeout time.Duration) (string, bool, error)

func DetectRDPAuth

func DetectRDPAuth(conn net.Conn, timeout time.Duration) (map[string]any, bool, error)

Types

type RDPPlugin

type RDPPlugin struct{}

func (*RDPPlugin) Name

func (p *RDPPlugin) Name() string

func (*RDPPlugin) PortPriority

func (p *RDPPlugin) PortPriority(port uint16) bool

func (*RDPPlugin) Priority

func (p *RDPPlugin) Priority() int

func (*RDPPlugin) Run

func (p *RDPPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*RDPPlugin) Type

func (p *RDPPlugin) Type() plugins.Protocol

type TLSPlugin

type TLSPlugin struct{}

func (*TLSPlugin) Name

func (p *TLSPlugin) Name() string

func (*TLSPlugin) PortPriority

func (p *TLSPlugin) PortPriority(port uint16) bool

func (*TLSPlugin) Priority

func (p *TLSPlugin) Priority() int

func (*TLSPlugin) Run

func (p *TLSPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*TLSPlugin) Type

func (p *TLSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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