如何通过Web服务器从其他客户端控制Windows客户端? [英] How can I control a Windows client from another client through a web server?

查看:219
本文介绍了如何通过Web服务器从其他客户端控制Windows客户端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

摘要



我正在尝试在.net C#中创建一个系统,这是一个控制Windows客户端的IT工具。在世界上。代理需要通过https进行操作,并且控制权将通过代理Web服务器提供给世界上的管理控制台。我需要的控件类型的示例是命令行,注册表,文件浏览器和VNC。



当管理控制台请求时,客户端需要立即响应(如果它在线)。我知道这需要某种持久的Web服务器连接。



细节



我目前正在使用运行WCF的Web服务器。在客户端上运行的代理运行良好,因为客户端可以告诉Web服务器它在计时器上的状态,但是我很难知道管理控制台如何通过WCF连接请求代理控制注册表等。这是否需要使用不同的技术打开新连接?



我发现有一些技术,例如SignalR看起来非常有趣并且可以提供帮助,但它是旨在发送<32KB的信息/消息,这些信息/消息显然不适用于注册表等远程工具。



我看到其他人非常令人沮丧使用Kaseya和Naverisk等遥控技术。他们使用什么方法?



要求



代理是不允许任何端口,所以它必须通过https连接到Web服务器准备从管理控制台接收请求。



问题



有人可以指出我在哪种技术可以通过网络服务器进行此类通信的正确方向?



我只知道.net但是如果需要,我会准备好研究其他技术。

Summary

I am trying to create a system in .net C# that is an IT tool to control Windows clients where ever they are in the world. The agent needs to work over https and control will be given to an admin console else where in the world through a proxy web server. An example of the types of control I require are command line, registry, file explorer and VNC.

When requested by the admin console the client needs to respond straight away (if it is online). I understand this requires some sort of persistent connection to the web server.

Detail

I am currently using a web server running WCF. The agent that runs on the client works well in that the client can tell the web server its status on a timer however I am struggling to know how the admin console can request the agent to give control of registry etc through the WCF connection. Does this require a new connection to be opened using a different technology?

I have found that there are technologies such as SignalR which looks very interesting and could help but it is designed to send information/messages that are <32KB which obviously won't work with remote tools such as registry etc.

It is very frustrating as I have seen others use such remote control technology such as Kaseya and Naverisk. What sort of methods are they using?

Requirements

The agent is not to allow any ports in so it has to make a connection to the web server via https ready to take requests from an admin console.

Question

Can someone please point me in the right direction of what technology can do this type of communication through a web server?

I only know .net but would be prepared to look into other technologies if required.

推荐答案

您可以考虑将Powershell脚本推送到客户端并使用提升的权限在本地执行它们,或者让您的客户端更加健壮,以便它可以执行预定义的任务并从那里开始工作。



不确切地知道你的目的是什么。但是,查看Chef或Puppet用于远程自动执行客户端任务的技术可能会很有用。
You could consider pushing Powershell scripts to the client and execute them locally using elevated permissions or make your client more robust so it can execute predefined tasks and work your way from there.

Don't know exactly what it is you are going for. But it might be useful to have a look at the technology Chef or Puppet is using to automate tasks on clients remotely.


这篇关于如何通过Web服务器从其他客户端控制Windows客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆