Files
ShotRDP/rdp.go

19 lines
297 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package main
import (
"ShotRDP/grdp/glog"
)
/*
修改部分grdp/protocol/x224/x224.go#New()
去除requestedProtocol中的PROTOCOL_HYBRID避免使用NLA
*/
func DoRDP(host string) {
client := NewClient(host, glog.INFO)
err := client.Login("", "", "")
if err != nil {
panic(err)
}
}