Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
WSMan-WinRM — 一个使用 WSMan.Automation COM 对象通过 WinRM 执行远程命令的概念验证源代码和脚本集合。 | Kitploit
工具/GitHubGitHub/bohops/wsman-winrm
横向移动渗透测试红队远程访问工具
GitHubbohops/wsman-winrm

WSMan-WinRM

一个使用 WSMan.Automation COM 对象通过 WinRM 执行远程命令的概念验证源代码和脚本集合。

查看仓库
262446年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

WSMan-WinRM

一个用于通过WSMan.Automation COM对象在WinRM上执行远程命令的概念验证源代码和脚本集合。

背景

有关背景信息,请参阅以下博客文章:WS-Management COM:另一种WinRM横向移动方法

说明

  • SharpWSManWinRM.cs和CppWsManWinRM.cpp在Visual Studio 2019中编译。有关所需的导入/引用等,请参阅代码注释。
  • 所有示例均利用WMI Win32_Process类和WMI Create方法进行调用。

用法

SharpWSManWinRM.cs

root@kitploit:~
 Usage: SharpWSManWinRM.exe <hostname> <command>
 Usage: SharpWSManWinRM.exe <hostname> <command> <domain\user> <password>

 Example: SharpWSManWinRM.exe host.domain.local notepad.exe
 Example: SharpWSManWinRM.exe host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd

WSManWinRM.ps1

root@kitploit:~
 Usage: Invoke-WSManWinRM -hostname <hostname> -command <command>
 Usage: Invoke-WSManWinRM -hostname <hostname> -command <command> -user <domain\user> -password <password>

 Example: import-module .\WSManWinRM.ps1
          Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe
 Example: import-module .\WSManWinRM.ps1
          Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe -user domain\joe.user -password P@ssw0rd

WSManWinRM.vbs

root@kitploit:~
 Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command>
 Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command> <domain\user> <password>

 Example: cscript.exe SharpWSManWinRM.vbs host.domain.local notepad.exe
 Example: cscript.exe SharpWSManWinRM.vbs host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd	

WSManWinRM.js

root@kitploit:~
 Usage: cscript.exe SharpWSManWinRM.js <hostname> <command>
 Usage: cscript.exe SharpWSManWinRM.js <hostname> <command> <domain\user> <password>

 Example: cscript.exe SharpWSManWinRM.js host.domain.local notepad.exe
 Example: cscript.exe SharpWSManWinRM.js host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd	 

CppWSManWinRM.cpp

root@kitploit:~
 Usage: CppWSManWinRM.exe <hostname> <command>

 Example: CppWSManWinRM.exe host.domain.local notepad.exe
 
 Note: Username/password option does not work yet

伦理

WSMan-WinRM旨在帮助安全专业人员执行符合道德和法律的安全评估与渗透测试。请勿用于恶意目的。

下载工具