grdp

package module
v0.0.0-...-985a324 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 17 Imported by: 0

README

Golang Retome Desktop Protocol

grdp is a pure Golang implementation of the Microsoft RDP (Remote Desktop Protocol) protocol (client side authorization only).

Status

The project is under development and not finished yet.

  • SSL Authentication (soon)
  • NLA Authentication

Example

client := grdp.NewClient("192.168.0.2:3389", glog.DEBUG)
err := client.Login("Administrator", "123456")
if err != nil {
    fmt.Println("login failed,", err)
} else {
    fmt.Println("login success")
}

Take ideas from

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Host string // ip:port

	Sec *sec.Client

	ClientInfo *gcc.ClientCoreData
	// contains filtered or unexported fields
}

func NewClient

func NewClient(host string, logLevel glog.LEVEL) *Client

func (*Client) Login

func (g *Client) Login(user, pwd string) error

Directories

Path Synopsis
protocol
lic
nla
pdu
sec

Jump to

Keyboard shortcuts

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