mirror of
https://github.com/yv1ing/ShotRDP.git
synced 2025-09-16 15:10:57 +08:00
19 lines
297 B
Go
19 lines
297 B
Go
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)
|
||
}
|
||
}
|