tpkt

package
v1.3.4-beta8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: AGPL-3.0, GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FASTPATH_ACTION_FASTPATH = 0x0
	FASTPATH_ACTION_X224     = 0x3
)

*

Variables

This section is empty.

Functions

This section is empty.

Types

type TPKT

type TPKT struct {
	emission.Emitter
	Conn *core.SocketLayer
	// contains filtered or unexported fields
}

*

  • TPKT layer of rdp stack

func New

func New(s *core.SocketLayer, ntlm *nla.NTLMv2) *TPKT

func (*TPKT) Close

func (t *TPKT) Close() error

func (*TPKT) Read

func (t *TPKT) Read(b []byte) (n int, err error)

func (*TPKT) SendFastPath

func (t *TPKT) SendFastPath(secFlag byte, data []byte) (n int, err error)

func (*TPKT) SetFastPathListener

func (t *TPKT) SetFastPathListener(f core.FastPathListener)

func (*TPKT) StartNLA

func (t *TPKT) StartNLA() error

func (*TPKT) StartTLS

func (t *TPKT) StartTLS() error

func (*TPKT) Write

func (t *TPKT) Write(data []byte) (n int, err error)

Jump to

Keyboard shortcuts

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