PowerShell反向外壳

时间:2016-12-21 20:23:20

标签: shell powershell reverse

我们是否有办法在PowerShell中创建TCP或UDP服务器和客户端,并从客户端连接到服务器,并提供从客户端到服务器的命令行访问,如反向shell。

在Python中很容易做到,但有一种方法可以在PowerShell中完成。

由于

1 个答案:

答案 0 :(得分:0)

您可以使用Powershell Remoting并创建自定义端点(以限制用户访问powershell命令的给定子集)。要了解更多详细信息,请阅读与PSSession和PSSessionConfiguration相关的命令

https://blogs.technet.microsoft.com/heyscriptingguy/2014/03/31/introduction-to-powershell-endpoints/