
情報収集ツール - DNS / サブドメイン / ポート / ディレクトリの列挙
<p align="center">
<img src="https://raw.githubusercontent.com/edoardottt/images/main/scilla/logo.png"><br>
<b>🏴☠️ 情報収集ツール 🏴☠️ - DNS / サブドメイン / ポート / ディレクトリの列挙</b><br>
<br>
<!-- workflows -->
<a href="https://github.com/edoardottt/scilla/actions">
<img src="https://github.com/edoardottt/scilla/actions/workflows/go.yml/badge.svg" alt="workflows" />
</a>
<br>
<sub>
💙 を込めて edoardottt がコーディング
</sub>
<br>
<!--Tweet button-->
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fedoardottt%2Fscilla%20&text=Information%20Gathering%20tool%21&hashtags=pentesting%2Clinux%2Cgolang%2Cnetwork" target="_blank">Twitter で共有!
</a>
</p>
<p align="center">
<a href="#installation-">インストール</a> •
<a href="#get-started-">はじめに</a> •
<a href="#examples-">使用例</a> •
<a href="#changelog-">変更履歴</a> •
<a href="#contributing-">コントリビューション</a> •
<a href="#license-">ライセンス</a>
</p>
<!--[](https://asciinema.org/a/406707)-->
<p align="center">
<img src="https://raw.githubusercontent.com/edoardottt/images/main/scilla/scilla.gif">
</p>
インストール 📡
----------
### Homebrew
```console
brew install scilla
```
### Snap
```console
sudo snap install scilla
```
### Golang
```console
go install -v github.com/edoardottt/scilla/cmd/scilla@latest
```
### ソースからのビルド
[Go](https://go.dev/) (>=1.23) が必要です
<details>
<summary>Linux および Windows 向けのソースからのビルド</summary>
#### Linux
```console
git clone https://github.com/edoardottt/scilla.git
cd scilla
go get ./...
make linux # (to install)
make unlinux # (to uninstall)
```
APIキーを使用する場合は、`~/.config/scilla/keys.yaml` ファイルを編集してください。
ワンライナー: `git clone https://github.com/edoardottt/scilla.git && cd scilla && go get ./... && make linux`
#### Windows
実行ファイルは cariddi フォルダ内でのみ動作することに注意してください([エイリアス?](https://github.com/edoardottt/scilla/issues/10))。
```console
git clone https://github.com/edoardottt/scilla.git
cd scilla
.\make.bat windows # (to install)
.\make.bat unwindows # (to uninstall)
```
`keys.yaml` ファイルは、API キーを使用する場合に作成します。
</details>
### Docker の使用
```shell
docker build -t scilla .
docker run scilla help
```
例 💡
----------
- DNS 列挙:
- `scilla dns -target example.com`
- `scilla dns -oj output -target example.com`
- `scilla dns -oh output -target example.com`
- `scilla dns -ot output -target example.com`
- `scilla dns -plain -target example.com`
- サブドメイン列挙:
- `scilla subdomain -target example.com`
- `scilla subdomain -w wordlist.txt -target example.com`
- `scilla subdomain -oj output -target example.com`
- `scilla subdomain -oh output -target example.com`
- `scilla subdomain -ot output -target example.com`
- `scilla subdomain -i 400 -target example.com`
- `scilla subdomain -i 4** -target example.com`
- `scilla subdomain -c -target example.com`
- `scilla subdomain -db -target example.com`
- `scilla subdomain -plain -target example.com`
- `scilla subdomain -db -no-check -target example.com`
- `scilla subdomain -db -vt -target example.com`
- `scilla subdomain -db -bw -target example.com`
- `scilla subdomain -ua "CustomUA" -target example.com`
- `scilla subdomain -rua -target example.com`
- `scilla subdomain -dns 8.8.8.8 -target example.com`
- `scilla subdomain -alive -target example.com`
- ディレクトリ列挙:
- `scilla dir -target example.com`
- `scilla dir -w wordlist.txt -target example.com`
- `scilla dir -oj output -target example.com`
- `scilla dir -oh output -target example.com`
- `scilla dir -ot output -target example.com`
- `scilla dir -i 500,401 -target example.com`
- `scilla dir -i 5**,401 -target example.com`
- `scilla dir -c -target example.com`
- `scilla dir -plain -target example.com`
- `scilla dir -nr -target example.com`
- `scilla dir -ua "CustomUA" -target example.com`
- `scilla dir -rua -target example.com`
- ポート列挙:
- デフォルト (全ポート、つまり 1-65635) `scilla port -target example.com`
- ポート範囲の指定 `scilla port -p 20-90 -target example.com`
- 開始ポートの指定 (最後のポートまで) `scilla port -p 20- -target example.com`
- 終了ポートの指定 (最初のポートから) `scilla port -p -90 -target example.com`
- 複数ポートの指定 `scilla port -p 21,25,80 -target example.com`
- 一般的なポートの指定 `scilla port -common -target example.com`
- 単一ポートの指定 `scilla port -p 80 -target example.com`
- 出力形式の指定 (json)`scilla port -oj output -target example.com`
- 出力形式の指定 (html)`scilla port -oh output -target example.com`
- 出力形式の指定 (txt)`scilla port -ot output -target example.com`
- 結果のみを出力 `scilla port -plain -target example.com`
- 完全なレポート:
- デフォルト(全ポート、つまり1-65635) `scilla report -target example.com`
- ポート範囲を指定 `scilla report -p 20-90 -target example.com`
- 開始ポートを指定(最後のポートまで) `scilla report -p 20- -target example.com`
- 終了ポートを指定(最初のポートから) `scilla report -p -90 -target example.com`
- 単一ポートを指定 `scilla report -p 80 -target example.com`
- 複数ポートを指定 `scilla report -p 21,25,80 -target example.com`
- 出力形式を指定(json)`scilla report -oj output -target example.com`
- 出力形式を指定(html)`scilla report -oh output -target example.com`
- 出力形式を指定(txt)`scilla report -ot output -target example.com`
- ディレクトリ用ワードリストを指定 `scilla report -wd dirs.txt -target example.com`
- サブドメイン用ワードリストを指定 `scilla report -ws subdomains.txt -target example.com`
- ディレクトリスキャンで無視するステータスコードを指定 `scilla report -id 500,501,502 -target example.com`
- サブドメインスキャンで無視するステータスコードを指定 `scilla report -is 500,501,502 -target example.com`
- ディレクトリスキャンで無視するステータスコードクラスを指定 `scilla report -id 5**,4** -target example.com`
- サブドメインスキャンで無視するステータスコードクラスを指定 `scilla report -is 5**,4** -target example.com`
- ディレクトリ列挙にWebクローラーも使用 `scilla report -cd -target example.com`
- サブドメイン列挙にWebクローラーも使用 `scilla report -cs -target example.com`
- サブドメイン列挙に公開データベースも使用 `scilla report -db -target example.com`
- 一般的なポートを指定 `scilla report -common -target example.com`
- リダイレクトを追跡しない `scilla report -nr -target example.com`
- サブドメインのソースとしてVirusTotalを使用 `scilla report -db -vt -target example.com`
- User Agentを設定 `scilla report -ua "CustomUA" -target example.com`
- リクエストごとにランダムなUser Agentを生成 `scilla report -rua -target example.com`
- サブドメインを解決するDNS IPを設定 `scilla report -dns 8.8.8.8 -target example.com`
- サブドメインが稼働しているかも確認 `scilla report -alive -target example.com`
はじめに 🎉
----------
`scilla help` を実行すると、コマンドラインにヘルプが表示されます。
```
usage: scilla subcommand { options }
Available subcommands:
- dns [-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-plain Print only results]
-target <target (URL/IP)> REQUIRED
- port [-p <start-end> or ports divided by comma]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-common scan common ports]
[-plain Print only results]
-target <target (URL/IP)> REQUIRED
- subdomain [-w wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-i ignore status codes]
[-c use also a web crawler]
[-db use also a public database]
[-plain Print only results]
[-db -no-check Don't check status codes for subdomains]
[-db -vt Use VirusTotal as subdomains source]
[-db -bw Use BuiltWith as subdomains source]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
[-dns Set DNS IP to resolve the subdomains]
[-alive Check also if the subdomains are alive]
-target <target (URL)> REQUIRED
- dir [-w wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-i ignore status codes]
[-c use also a web crawler]
[-plain Print only results]
[-nr No follow redirects]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
-target <target (URL/IP)> REQUIRED
- report [-p <start-end> or ports divided by comma]
[-ws subdomains wordlist]
[-wd directories wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-id ignore status codes in directories scanning]
[-is ignore status codes in subdomains scanning]
[-cd use also a web crawler for directories scanning]
[-cs use also a web crawler for subdomains scanning]
[-db use also a public database for subdomains scanning]
[-common scan common ports]
[-nr No follow redirects]
[-db -vt Use VirusTotal as subdomains source]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
[-dns Set DNS IP to resolve the subdomains]
[-alive Check also if the subdomains are alive]
-target <target (URL)> REQUIRED
- help
- examples
```
変更履歴 📌
-------
各リリースの詳細な変更点は[リリースノート](https://github.com/edoardottt/scilla/releases)に記載されています。
コントリビューション 🛠
-------
[issue](https://github.com/edoardottt/scilla/issues) / [pull request](https://github.com/edoardottt/scilla/pulls)を作成するだけです。
pull requestを作成する前に、[golangci-lint](https://golangci-lint.run/usage/install/)をダウンロードして実行してください
```bash
golangci-lint run
```
エラーがなければ、先に進んでください :)
ニュース 📰
-------
- [Kali Linux チュートリアル](https://kalilinuxtutorials.com/scilla/)
- [GeeksForGeeks.org](https://www.geeksforgeeks.org/scilla-information-gathering-dns-subdomain-port-enumeration/)
- [Brisk Infosec](https://www.briskinfosec.com/tooloftheday/toolofthedaydetail/Scilla)
- [Kalitut](https://kalitut.com/scilla-nformation-gathering-tool/)
ライセンス 📝
-------
このリポジトリは [GNU General Public License v3.0](https://github.com/edoardottt/scilla/blob/main/LICENSE) の下にあります。
私に連絡するには [edoardottt.com](https://edoardottt.com/) へ。