> 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/reconnaissance/google-dorking.md).

# Googleドーキング

偵察中に、インデックス化された機密ファイル、公開パネル、バックアップ、漏えい情報、公開情報を見つけるための Google ドーキング手法。

Google Dorking は、高度な検索演算子を使って、インデックス化されたファイル、公開された管理パネル、バックアップ、認証情報、ログ、その他の機密情報を見つけます。

{% hint style="info" %}
Google を通じてウェブサイト上に公開されている情報を見つける方法は多岐にわたります。以下は、この種の調査に役立つ例と手法の一覧です:
{% endhint %}

## 手法

Google dorking とウェブサイト調査ツールの保守されているカタログは、 [ウェブサイトとインフラストラクチャ](/ja/hacking-tools/osint/websites-and-infrastructure.md)で利用できます。このページはクエリパターンと調査ワークフローに使用してください。

置き換え `target.com` を、許可されたドメインまたはスコープに置き換えてください。サブドメイン全体を確認する場合は、ワイルドカード形式 `site:*.target.com`を使用し、単一ホストの場合は `site:app.target.com`.

を使用します。

* `site:` ターゲットのドメインまたはホストに結果を制限します。
* `intext:` インデックス化されたページ内のテキストを検索します。
* `intitle:` ページタイトル内を検索します。
* `inurl:` インデックス化された URL 内を検索します。
* `ext:` または `filetype:` インデックス化されたファイル拡張子を検索します。

## 汎用クエリ

これらは、インデックス化されたエラー、デバッグ用の痕跡、管理用パス、環境名、一般的な情報漏えいの指標を見つけるために使用します。

```
site:*.target.com intext:uncaught
site:*.target.com intext:error
site:*.target.com intext:parameter
site:*.target.com intext:missing
site:*.target.com intext:"stack trace"
site:*.target.com intext:php
site:*.target.com intext:jsp
site:*.target.com intext:asp
site:*.target.com intext:include_path
site:*.target.com intext:undefined
site:*.target.com intext:sql
site:*.target.com intext:invalid
site:*.target.com intext:exception
site:*.target.com intext:fatal
site:*.target.com intext:CONFIG
site:*.target.com intext:login
site:*.target.com intitle:"index of"
site:*.target.com inurl:prod
site:*.target.com inurl:&
site:*.target.com inurl:dev
site:*.target.com inurl:staging
site:*.target.com inurl:stg
site:*.target.com inurl:debug
site:*.target.com inurl:admin
site:*.target.com inurl:internal
```

## Apache サービス

これらは、Apache サービスに関連するデフォルトページ、公開されたステータスページ、Tomcat インスタンス、Solr 管理パネル、ディレクトリ一覧を特定するために使用します。

```
site:*.target.com intitle:"apache tomcat/"
site:*.target.com "Apache Tomcat examples"
site:*.target.com intext:"apache"
site:*.target.com intitle:"Solr Admin"
site:*.target.com intext:"Apache2 サーバーの正しい動作をテストするために使用されるデフォルトのウェルカムページです"
site:*.target.com intitle:"index of" "powered by apache "
site:*.target.com intext:"Apache server status for"
site:*.target.com intitle:"Apache2 Ubuntu Default Page: It works"
site:*.target.com intitle:"WAMPSERVER homepage" "Server Configuration" "Apache Version"
site:*.target.com intitle:"Test Page for the Apache HTTP Server"
```

## ファイル

これらは、インデックス化されたソースファイル、バックアップ、ログ、設定ファイル、鍵、エクスポート、カレンダー、構造化データファイルを見つけるために使用します。手動での検証を優先し、ルール・オブ・エンゲージメントの外で機密データをダウンロードまたは使用しないでください。

```
site:*.target.com ext:txt
site:*.target.com ext:php
site:*.target.com ext:php5
site:*.target.com ext:phtml
site:*.target.com ext:xhtml
site:*.target.com ext:key
site:*.target.com ext:pem
site:*.target.com ext:ovpn
site:*.target.com ext:log
site:*.target.com ext:asp
site:*.target.com ext:aspx
site:*.target.com ext:jsp
site:*.target.com ext:dat
site:*.target.com ext:yml
site:*.target.com ext:bak
site:*.target.com ext:zip
site:*.target.com ext:yaml
site:*.target.com ext:json
site:*.target.com ext:xml
site:*.target.com ext:env
site:*.target.com ext:conf
site:*.target.com ext:ini
site:*.target.com ext:cfg
site:*.target.com ext:cgi
site:*.target.com ext:ccm
site:*.target.com ext:sql
site:*.target.com ext:cdx
site:*.target.com ext:ics
```

## GraphQL クエリ

これらは、インデックス化された GraphQL のエラーレスポンス、検証メッセージ、認可関連の API トレースを見つけるために使用します。

```
site:*.target.com intext:"GRAPHQL_PARSE_FAILED"
site:*.target.com intext:"GRAPHQL_VALIDATION_FAILED"
site:*.target.com intext:"BAD_USER_INPUT"
site:*.target.com intext:"UNAUTHENTICATED"
site:*.target.com intext:"FORBIDDEN"
site:*.target.com intext:"PERSISTED_QUERY_NOT_FOUND"
site:*.target.com intext:"PERSISTED_QUERY_NOT_SUPPORTED"
site:*.target.com intext:"INTERNAL_SERVER_ERROR"
```

## クイックワークフロー

1. まずは広く `site:*.target.com` と一般的なエラクエリで始めます。
2. Apache、Tomcat、Solr、PHP、ASP.NET、JSP、GraphQL など、技術固有のチェックへ絞り込みます。
3. バックアップ、ログ、設定、鍵を公開しがちなインデックス化されたファイル種別を検索します。
4. 正確なクエリ、結果 URL、タイムスタンプ、そしてなぜその露出が重要なのかを記録します。
5. 許可されたスコープとルール・オブ・エンゲージメントの範囲内でのみ影響を検証してください。


---

# 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/reconnaissance/google-dorking.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.
