connPdu

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TYPE_RDP_NEG_REQ     = 0x01
	TYPE_RDP_NEG_RSP     = 0x02
	TYPE_RDP_NEG_FAILURE = 0x03
)

Negotiation Type

Negotiation Result

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConnectionRequestPDU

type ClientConnectionRequestPDU struct {
	Cookie      string
	ProtocolNeg Negotiation
}

ClientConnectionRequestPDU https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/18a27ef9-6f9a-4501-b000-94b1fe3c2c10

func NewClientConnectionRequestPDU

func NewClientConnectionRequestPDU() *ClientConnectionRequestPDU

func (*ClientConnectionRequestPDU) Serialize

func (pdu *ClientConnectionRequestPDU) Serialize() []byte

func (*ClientConnectionRequestPDU) Write

func (pdu *ClientConnectionRequestPDU) Write(w io.Writer)

type Negotiation

type Negotiation struct {
	Type   uint8
	Flag   uint8
	Length uint16
	Result uint32
}

Negotiation https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/b2975bdc-6d56-49ee-9c57-f2ff3a0b6817

func (*Negotiation) Read

func (nego *Negotiation) Read(r io.Reader)

type ServerConnectionConfirmPDU

type ServerConnectionConfirmPDU struct {
	ProtocolNeg Negotiation
}

ServerConnectionConfirmPDU https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/13757f8f-66db-4273-9d2c-385c33b1e483

func (*ServerConnectionConfirmPDU) Read

func (pdu *ServerConnectionConfirmPDU) Read(r io.Reader)

Jump to

Keyboard shortcuts

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