> 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/exploitation/metasploit/metasploit-enumeration-services.md).

# 使用 Metasploit 进行服务枚举

#### 评估方法：枚举

1. **FTP 版本扫描**
   * 搜索： `搜索类型：辅助 名称：FTP`
   * 使用： `auxiliary/scanner/ftp/ftp_version`
2. **FTP 凭证暴力破解**
   * 使用： `auxiliary/scanner/ftp/ftp_login`
3. **检查用户“anonymous”是否存在**
   * 使用： `auxiliary/scanner/ftp/anonymous`
4. **SMB 枚举**
   * 搜索： `搜索类型：辅助 名称：SMB`
   * **SMB 版本**
     * 使用： `auxiliary/scanner/smb/smb_version`
   * **SMB 用户枚举**
     * 使用： `auxiliary/scanner/smb/smb_enumusers`
   * **SMB 共享枚举**
     * 使用： `auxiliary/scanner/smb/smb_enumshares`
   * **SMB 凭证暴力破解**
     * 使用： `auxiliary/scanner/smb/smb_login`
5. **HTTP 枚举**
   * 搜索： `搜索类型：辅助 名称：HTTP`
   * **HTTP 版本**
     * 使用： `auxiliary/scanner/http/http_version`
   * **HTTP 头分析**
     * 使用： `auxiliary/scanner/http/http_header`
   * **HTTP 目录暴力破解**
     * 使用： `auxiliary/scanner/http/dir_scanner`
   * **HTTP 文件暴力破解**
     * 使用： `auxiliary/scanner/http/files_dir`
   * **HTTP 凭证暴力破解**
     * 使用： `auxiliary/scanner/http/http_login`
6. **MySQL**
   * **MySQL 版本扫描**
     * 使用： `auxiliary/scanner/mysql/mysql_version`
   * **MySQL 凭证暴力破解**
     * 使用： `auxiliary/scanner/mysql/mysql_login`
   * **MySQL 枚举**
     * 使用： `auxiliary/scanner/mysql/mysql_enum`
   * **对 MySQL 表执行 SQL 查询**
     * 使用： `auxiliary/scanner/mysql/mysql_sql`
   * **导出 MySQL 架构**
     * 使用： `auxiliary/scanner/mysql/mysql_schemadump`
7. **SSH**
   * **SSH 版本扫描**
     * 使用： `auxiliary/scanner/ssh/ssh_version`
   * **SSH 凭证暴力破解**
     * 使用： `auxiliary/scanner/ssh/ssh_login`
   * **SSH 用户枚举**
     * 使用： `auxiliary/scanner/ssh/ssh_enumusers`
8. **SMTP**
   * **SMTP 版本扫描**
     * 使用： `auxiliary/scanner/smtp/smtp_version`
   * **SMTP 用户枚举**
     * 使用： `auxiliary/scanner/smtp/smtp_enum`


---

# 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/exploitation/metasploit/metasploit-enumeration-services.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.
