> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/ports-and-services/winrm-5986.md).

# WinRM - 5986

WinRM 笔记，涵盖 Evil-WinRM 访问、暴力破解测试、Pass-the-Hash、证书认证和远程 PowerShell 管理。

WinRM 是在获取凭据、哈希或客户端证书后常见的远程管理路径。使用 Evil-WinRM 验证访问，并在可用时优先使用 Pass-the-Hash 或基于证书的登录。

## 说明

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>凭据</strong></td><td>使用密码或 NTLM 哈希通过 Evil-WinRM 连接。</td><td><a href="/zh/ports-and-services/winrm-5986/evil-winrm-credentials.md">Evil-WinRM - 凭据</a></td></tr><tr><td><strong>OpenSSL</strong></td><td>从 PFX 文件中提取证书和私钥用于 WinRM 登录。</td><td><a href="/zh/ports-and-services/winrm-5986/evil-winrm-openssl.md">Evil-WinRM - OpenSSL</a></td></tr><tr><td><strong>暴力破解</strong></td><td>使用 CrackMapExec 和 Metasploit 测试 WinRM 身份验证。</td><td><a href="/zh/ports-and-services/winrm-5986/evil-winrm-brute-force.md">Evil-WinRM - 暴力破解</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/zh/ports-and-services/winrm-5986.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
