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

# Searchsploit

{% hint style="info" %}
**Searchsploit** 是一款可从以下位置快速搜索已知漏洞利用和与漏洞相关文件的工具 **Exploit-DB** 数据库。它可在命令行中使用，并且可离线运行，因此对于希望识别易受攻击系统上漏洞利用的渗透测试人员来说，是一个很方便的工具。
{% endhint %}

{% embed url="<https://www.exploit-db.com/searchsploit>" %}

#### **基础搜索**

你可以添加任意多个搜索词。在下面的图片中，我们正在查找包含“oracle”和“windows”这两个词的漏洞利用。

```bash
searchsploit windows oracle 
```

<figure><img src="/files/2cf5ea39d11b817b33e946de203e9a925274e9a2" alt=""><figcaption></figcaption></figure>

#### **将漏洞利用复制到剪贴板和目录：**

如果你想将漏洞利用复制到剪贴板，请使用“-p”。例如："searchsploit -p XYZ"，其中 XYZ 是漏洞利用 ID。如果你想将漏洞利用复制到当前工作目录，请使用“-m”。例如："searchsploit -m XYZ"，其中 XYZ 是漏洞利用 ID

```
searchsploit -m 44553
```

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

#### **检查漏洞利用**

如果你想检查或研究某个漏洞利用，请使用“--examine”。例如："searchsploit XYZ --examine"，其中 XYZ 是漏洞利用 ID。

```bash
searchsploit 44553 -examine
```

<figure><img src="/files/ef64a97a5c98694f2b7416350f4fa566b2addee5" 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/exploitation/searchsploit.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.
