> 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/hacking-tools/web/wmap-scan-web-vulnerabilities.md).

# WMAP Web 漏洞扫描

{% hint style="info" %}
WMAP 是一个 Metasploit 插件，旨在对 Web 应用程序执行渗透测试，特别是发现特定网站的漏洞。它允许你对 Web 目标执行自动化安全扫描。
{% endhint %}

**连接到 Metasploit：** 与其他工具不同，WMAP 不需要与 Metasploit 建立特定连接，它直接集成到 Metasploit 框架中运行。

#### 运行 WMAP 扫描

1. **加载 WMAP 模块：** 首先，需要使用以下命令在 Metasploit 中加载 WMAP 模块：

```
load wmap
```

2. **创建目标站点：** 你必须使用以下命令指定要测试的网站的 IP 地址或域名：

```
wmap_sites -a 10.10.10.10 
```

3. **指定目标：** 要设置目标站点的 URL，请使用以下命令，这会为扫描配置该 URL：

```bash
wmap_target -t http://10.10.10.10/
```

4. **开始扫描所有模块：** 要使用启用的所有 WMAP 模块执行完整扫描，请使用以下命令：

```bash
wmap_run -t
```

* 该命令会使用所有可用模块开始扫描，以检查目标 Web 应用程序中的漏洞。

```bash
wmap_run -e
```

<figure><img src="/files/aff8e978f8b21eda478c1a15ee6bd59ecd56cd43" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/hacking-tools/web/wmap-scan-web-vulnerabilities.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
