rdp

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 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) (*plugins.ServiceRDP, 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, timeout time.Duration, target plugins.Target) (*plugins.Service, 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, timeout time.Duration, target plugins.Target) (*plugins.Service, 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