> 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/ftp-21.md).

# FTP - 21

当暴露了匿名访问、可写目录、备份文件或 Web 根目录上传时，FTP 往往会变得很有用。首先检查版本信息、匿名登录、写入权限，以及上传的文件是否能通过 Web 服务访问。

## 备注

<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>使用 Hydra 和字典列表验证 FTP 凭据。</td><td><a href="/pages/118b525a4eef09fb252f10f6a6ac5659aad29a35">/pages/118b525a4eef09fb252f10f6a6ac5659aad29a35</a></td></tr><tr><td><strong>匿名访问</strong></td><td>检查匿名登录以及可读取的 FTP 内容。</td><td><a href="/pages/b8db89a1f8a35afda294f5646c4ae322cb0748df">/pages/b8db89a1f8a35afda294f5646c4ae322cb0748df</a></td></tr><tr><td><strong>上传获取 Shell</strong></td><td>利用可写的 FTP 路径来放置 Web Shell 和反向 Shell。</td><td><a href="/pages/be39d9570104fdd57abecec18f686a625846296b">/pages/be39d9570104fdd57abecec18f686a625846296b</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 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/ports-and-services/ftp-21.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.
