tpkt

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: 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