Documentation ¶
Index ¶
Constants ¶
View Source
const ( TYPE_RDP_NEG_REQ = 0x01 TYPE_RDP_NEG_RSP = 0x02 TYPE_RDP_NEG_FAILURE = 0x03 )
Negotiation Type
View Source
const ( PROTOCOL_RDP uint32 = 0x00000000 // Standard RDP Security https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/8e8b2cca-c1fa-456c-8ecb-a82fc60b2322 PROTOCOL_SSL = 0x00000001 // TLS1.0/1.1/1.2 https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/857dadbe-f01a-4047-9b63-0d5b681ad306 PROTOCOL_HYBRID = 0x00000002 // CredSSP https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/8e11581d-094f-461a-9fde-ba51af90cf8b PROTOCOL_RDSTLS = 0x00000004 // https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/83d1186d-cab6-4ad8-8c5f-203f95e192aa PROTOCOL_HYBRID_EX = 0x00000008 // https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/d0e560a3-25cb-4563-8bdc-6c4cc625bbfc PROTOCOL_RDSAAD = 0x00000010 // https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/dc43f040-d75d-49a9-90c6-0c9999281136 )
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.