> For the complete documentation index, see [llms.txt](https://www.heresecurity.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.heresecurity.wiki/hash-cao-zuo/po-jie-gong-ju/medusa.md).

# medusa

```
猜测指定用户名的密码
> medusa -h 192.168.1.141 -u username -P pass.txt -M ftp
猜测指定密码的用户名
> medusa -h 192.168.1.141 -U users.txt -p 123 -M ftp
爆破用户名和密码
> medusa -h 192.168.1.141 -U users.txt -P pass.txt -M ftp
针对多台机器
> medusa -H hosts.txt -U user.txt -P pass.txt -M ftp
针对特定端口
> medusa -h 192.168.1.141 -U users.txt -P pass.txt -M ssh
> medusa -h 192.168.1.141 -U users.txt -P pass.txt -M ssh -n 2222
-e ns参数
n代表null ,s代表same相同
-O result.txt 代表保存结果到文件
-f代表找到每台机器的一个正确密码停止，-F代表找到任意机器正确密码就停止
> medusa -H hosts.txt -U users.txt -P pass.txt -M ftp -f
> medusa -H hosts.txt -U users.txt -P pass.txt -M ftp -F
```


---

# 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:

```
GET https://www.heresecurity.wiki/hash-cao-zuo/po-jie-gong-ju/medusa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
