pyrdp

package
v0.0.0-...-7d0ad11 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RDP4     = 0x80001
	RDP5     = 0x80004
	RDP10    = 0x80005
	RDP10_1  = 0x80006
	RDP10_2  = 0x80007
	RDP10_3  = 0x80008
	RDP10_4  = 0x80009
	RDP10_5  = 0x8000A
	RDP10_6  = 0x8000B
	RDP10_7  = 0x8000C
	RDP10_8  = 0x8000d
	RDP10_9  = 0x8000e
	RDP10_10 = 0x8000f
)
View Source
const (
	CLIENT_CORE     = 0xC001
	CLIENT_SECURITY = 0xC002
	CLIENT_NETWORK  = 0xC003
	CLIENT_CLUSTER  = 0xC004
)
View Source
const (
	// flags
	INFO_MOUSE                  = 0x00000001
	INFO_DISABLECTRLALTDEL      = 0x00000002
	INFO_AUTOLOGON              = 0x00000008
	INFO_UNICODE                = 0x00000010
	INFO_MAXIMIZESHELL          = 0x00000020
	INFO_LOGONNOTIFY            = 0x00000040
	INFO_COMPRESSION            = 0x00000080
	INFO_ENABLEWINDOWSKEY       = 0x00000100
	INFO_REMOTECONSOLEAUDIO     = 0x00002000
	INFO_FORCE_ENCRYPTED_CS_PDU = 0x00004000
	INFO_RAIL                   = 0x00008000
	INFO_LOGONERRORS            = 0x00010000
	INFO_MOUSE_HAS_WHEEL        = 0x00020000
	INFO_PASSWORD_IS_SC_PIN     = 0x00040000
	INFO_NOAUDIOPLAYBACK        = 0x00080000
	INFO_USING_SAVED_CREDS      = 0x00100000
	INFO_AUDIOCAPTURE           = 0x00200000
	INFO_VIDEO_DISABLE          = 0x00400000
	INFO_RESERVED1              = 0x00800000
	INFO_RESERVED2              = 0x01000000
	INFO_HIDEF_RAIL_SUPPORTED   = 0x02000000
)
View Source
const (
	// Message types.
	CB_MONITOR_READY         = 0x0001
	CB_FORMAT_LIST           = 0x0002
	CB_FORMAT_LIST_RESPONSE  = 0x0003
	CB_FORMAT_DATA_REQUEST   = 0x0004
	CB_FORMAT_DATA_RESPONSE  = 0x0005
	CB_TEMP_DIRECTORY        = 0x0006
	CB_CLIP_CAPS             = 0x0007
	CB_FILECONTENTS_REQUEST  = 0x0008
	CB_FILECONTENTS_RESPONSE = 0x0009
	CB_LOCK_CLIPDATA         = 0x000A
	CB_UNLOCK_CLIPDATA       = 0x000B

	// Message flags.
	NONE             = 0
	CB_RESPONSE_OK   = 0x0001
	CB_RESPONSE_FAIL = 0x0002
	CB_ASCII_NAMES   = 0x0004
)
View Source
const (
	// Security Flags.
	FASTPATH_INPUT_SECURE_CHECKSUM = 1
	FASTPATH_INPUT_ENCRYPTED       = 2

	// Event codes.
	FASTPATH_INPUT_EVENT_SCANCODE      = 0
	FASTPATH_INPUT_EVENT_MOUSE         = 1
	FASTPATH_INPUT_EVENT_MOUSEX        = 2
	FASTPATH_INPUT_EVENT_SYNC          = 3
	FASTPATH_INPUT_EVENT_UNICODE       = 4
	FASTPATH_INPUT_EVENT_QOE_TIMESTAMP = 6
)

Variables

View Source
var RDPVersionMap = scalar.UintMap{
	RDP4:     {Sym: "rdp4", Description: "RDP 4"},
	RDP5:     {Sym: "rdp5", Description: "RDP 5"},
	RDP10:    {Sym: "rdp10", Description: "RDP 10"},
	RDP10_1:  {Sym: "rdp10_1", Description: "RDP 10.1"},
	RDP10_2:  {Sym: "rdp10_2", Description: "RDP 10.2"},
	RDP10_3:  {Sym: "rdp10_3", Description: "RDP 10.3"},
	RDP10_4:  {Sym: "rdp10_4", Description: "RDP 10.4"},
	RDP10_5:  {Sym: "rdp10_5", Description: "RDP 10.5"},
	RDP10_6:  {Sym: "rdp10_6", Description: "RDP 10.6"},
	RDP10_7:  {Sym: "rdp10_7", Description: "RDP 10.7"},
	RDP10_8:  {Sym: "rdp10_8", Description: "RDP 10.8"},
	RDP10_9:  {Sym: "rdp10_9", Description: "RDP 10.9"},
	RDP10_10: {Sym: "rdp10_10", Description: "RDP 10.10"},
}

Functions

func ParseClientData

func ParseClientData(d *decode.D, length int64)

func ParseClientDataCluster

func ParseClientDataCluster(d *decode.D, length int64)

func ParseClientDataCore

func ParseClientDataCore(d *decode.D, length int64)

func ParseClientDataNetwork

func ParseClientDataNetwork(d *decode.D, length int64)

func ParseClientDataSecurity

func ParseClientDataSecurity(d *decode.D, length int64)

func ParseClientInfo

func ParseClientInfo(d *decode.D, length int64)

func ParseClipboardData

func ParseClipboardData(d *decode.D, length int64)

func ParseFastPathInput

func ParseFastPathInput(d *decode.D, length int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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