> 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/ja/hacking-tools/exploitation/searchsploit.md).

# Searchsploit

ローカルで Exploit-DB を検索し、公開エクスプロイトを見つけ、概念実証コードを確認するための 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="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-6484b5137de35d13f68d0205484c4b9cf9b82476%2Fimage%20(1036).png?alt=media" alt=""><figcaption></figcaption></figure>

#### **エクスプロイトをクリップボードとディレクトリにコピーする：**

エクスプロイトをクリップボードにコピーしたい場合は、「-p」を使います。たとえば「searchsploit -p XYZ」のようにします。ここで XYZ はエクスプロイト ID です。エクスプロイトを現在の作業ディレクトリにコピーしたい場合は、「-m」を使います。たとえば「searchsploit -m XYZ」のようにします。ここで XYZ はエクスプロイト ID です

```
searchsploit -m 44553
```

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-86e0a402450f7dcf0fdcfb630c73de4919e2db59%2Fimage%20(1037).png?alt=media" alt=""><figcaption></figcaption></figure>

#### **エクスプロイトを調べる**

エクスプロイトを調べたり解析したりしたい場合は、「--examine」を使います。たとえば「searchsploit XYZ --examine」のようにします。ここで XYZ はエクスプロイト ID です。

```bash
searchsploit 44553 -examine
```

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-3070ec45d858f7eb961eda54c285fe08da23ff55%2Fimage%20(1038).png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ja/hacking-tools/exploitation/searchsploit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
