mirror of
https://github.com/yv1ing/ShotRDP.git
synced 2025-09-16 15:10:57 +08:00
基本适应win7,win10,win server 08,win server 12,win server 16的截图
This commit is contained in:
18
rdp.go
Normal file
18
rdp.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user