
モジュール式サブドメイン列挙スイート。証明書透明性、DNSブルートフォース、APIベースの探索に対応。後処理モジュールとして、ソート、生存ホスト検出、スクリーンショット取得、HTTP情報取得を含む。
SububyはRubyで書かれたワンストップサブドメイン列挙スイートです。精度と品質に重点を置き、ツールの実行フローに従わなくても個別にモジュールにアクセスできる柔軟性があり、ワークフローに統合できます。

Sububyには合計9つのモジュールがあり、この10のうち、6つは列挙用で、残りは列挙後の操作を実行します。
| カテゴリ | モジュール | 説明 |
|---|---|---|
| 列挙 | Cert | 証明書透過性ログからサブドメインを取得します。 |
| Brute | 提供されたワードリストを使用してサブドメインをブルートフォースします。 | |
| Dnsd | DnsDumpsterからサブドメインを取得します(APIキーが必要:無料)。 | |
| Vtotal | VirusTotalからサブドメインを取得します(APIキーが必要:無料)。 | |
| WebArch | Internet Web Archiveからサブドメインを取得します。 | |
| Csp | 特定されたライブドメインのCSPからサブドメインを取得します。 | |
| 列挙後 | Sort | 特定されたサブドメインを重複やターゲットドメイン名に属さないホストに対してソートします。 |
| Live | アクティブに動作しているウェブサーバーを持つサブドメインを特定します。 | |
| Sshot | HTTPおよびHTTPSプロトコルを使用してスクリーンショットを撮ります。 | |
| Info | 応答ステータスコードや応答ヘッダーなどの基本的なHTTP情報を取得できます。 |
git clone https://github.com/A3h1nt/Sububy.git
cd Sububy
bundle install
Sububy.rbで設定します。次のURLから入手できます。ruby Sububy.rb <domain> <cn> <wordlist> <output-dir>

Sububyのモジュールは、ツール全体を何度も実行しなくても個別にアクセスできるように書かれています。個別のモジュールを使用する前に、Rubyシェルでファイルをロードする必要があります。ターミナルでirbと入力してRubyシェルを起動し、Sububyファイルをロードします。
irb(main):002:0> require_relative 'Sububy.rb'
irb(main):002:0> # Set the output directory
irb(main):002:0> $output_dir = '/path/to/output_dir'
サブドメインのみを列挙したいですか?
Cert.get(domain) #-> cert.txt
Brute.bruteforce(domain,wordlist) #-> brute.txt
Dnsd.getsub(domain) #-> dnsd.txt
Vtotal.getsub(domain) #-> vtotal.txt
WebArch.get(domain) #-> webarchive.txt
すでにサブドメインのリストがあり、ソートが必要ですか?
Sort.domain(domain,file) #-> returns identified_host.txt with domain name mentioned in subdomain
Sort.uniq(file1,file2) #-> combine and returns unique subdomains
すでにサブドメインのリストがあり、ライブのものを特定したいですか?
Live.get(host_file) #-> returns live_host.txt with list of alive host
すでにサブドメインのリストがあり、スクリーンショットを撮りたいですか?
Sshot.http(host_file) #-> returns http screenshots in http/
Sshot.https(host_file) #-> returns https screenshoots in https/
サブドメインに関する詳細情報が必要ですか?
Info.info "hosts.txt" #-> Initiates the info module, you need to run this before you can use other methods
Info.headers "hostname" #-> Returns response headers for a particular host
Info.headersall #-> Returns response headers for all hosts specified in the file
Info.status "hostname" #-> Returns response status code for a particular host
Info.statusall #-> Returns response status for all hosts specified in the file
Info.title "hostname" #-> Returns webpage title for a particular host
Info.titleall #-> Returns webpage title for all hosts specified in the file
Info.comments #-> Writes scaraped comments to file
Info.links #-> Writes scraped links to file
Sububyはデータを格納するためにいくつかのグローバル変数を使用しており、これらの変数に直接アクセスすることもできます。
$dnsdumpster_api_key # API key for dnsdumpster
$virustotal_api_key # API key for virustotal
$live_host # Array of live host
$csp_list = [] # Array of host identified from CSP
$output_dir # Path to output directory
連絡先 : [email protected]