grdp

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: GPL-3.0 Imports: 17 Imported by: 0

README

Golang Remote Desktop Protocol

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

Forked from icodeface/grdp

RDP暴力破解

Documentation

Index

Constants

View Source
const (
	PROTOCOL_RDP = "PROTOCOL_RDP"
	PROTOCOL_SSL = "PROTOCOL_SSL"
)

Variables

This section is empty.

Functions

func Login

func Login(target, domain, username, password string) error

export Login

func LoginForRDP

func LoginForRDP(target, domain, username, password string) error

func LoginForSSL

func LoginForSSL(target, domain, username, password string) error

func VerifyProtocol

func VerifyProtocol(target string) string

export VerifyProtocol

Types

type Client

type Client struct {
	Host string // ip:port
	// contains filtered or unexported fields
}

func NewClient

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

func (*Client) LoginForRDP

func (g *Client) LoginForRDP(domain, user, pwd string) error

func (*Client) LoginForSSL

func (g *Client) LoginForSSL(domain, user, pwd string) error

Directories

Path Synopsis
protocol
lic
nla
pdu
rfb
rfb.go
rfb.go
sec

Jump to

Keyboard shortcuts

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