
MassDNSのGo言語で書かれたラッパー。アクティブなブルートフォースによる有効なサブドメインの列挙、ワイルドカードフィルタリングを伴うサブドメインの解決、簡単な入出力サポートを提供します。
機能 • インストール • 実行 • ワイルドカード • ライセンス • Discord
shuffleDNS は massdns のラッパーであり、Go で書かれています。アクティブなブルートフォースを使用して有効なサブドメインを列挙したり、ワイルドカード処理と簡単な入出力サポートを備えたサブドメインの解決を可能にします。
massdns プロジェクトの @blechschmidt の研究成果に基づいています。
shuffledns -h
これによりツールのヘルプが表示されます。以下がサポートされているすべてのスイッチです。
shuffleDNS is a wrapper around massdns written in go that allows you to enumerate valid subdomains using active bruteforce as well as resolve subdomains with wildcard handling and easy input-output support.
Usage:
./shuffledns [flags]
Flags:
Flags:
INPUT:
-d, -domain string[] Domain to find or resolve subdomains for
-ad, -auto-domain Automatically extract root domains
-l, -list string File containing list of subdomains to resolve
-w, -wordlist string File containing words to bruteforce for domain
-r, -resolver string File containing list of resolvers for enumeration
-tr, -trusted-resolver string File containing list of trusted resolvers
-ri, -raw-input string Validate raw full massdns output
-mode string Execution mode (bruteforce, resolve, filter)
RATE-LIMIT:
-t int Number of concurrent massdns resolves (default 10000)
UPDATE:
-up, -update update shuffledns to latest version
-duc, -disable-update-check disable automatic shuffledns update check
OUTPUT:
-o, -output string File to write output to (optional)
-j, -json Make output format as ndjson
-wo, -wildcard-output string Dump wildcard ips to output file
CONFIGURATIONS:
-m, -massdns string Path to the massdns binary
-mcmd, -massdns-cmd string Optional massdns commands to run (example '-i 10')
-directory string Temporary directory for enumeration
OPTIMIZATIONS:
-retries int Number of retries for dns enumeration (default 5)
-sw, -strict-wildcard Perform wildcard check on all found subdomains
-wt int Number of concurrent wildcard checks (default 250)
DEBUG:
-silent Show only subdomains in output
-version Show version of shuffledns
-v Show Verbose output
-nc, -no-color Don't Use colors in output
shuffledns を正常にインストールするには go1.24+ が必要です。以下のコマンドを実行して最新バージョンをインストールします:
go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest
shuffledns は2種類の操作をサポートしています:
サブドメイン解決
サブドメインのリストを解決するには、-list オプションでリストを渡します。
shuffledns -d example.com -list example-subdomains.txt -r resolvers.txt -mode resolve
これにより、example-subdomains.txt 内のサブドメインに対してツールが実行され、結果が返されます。ツールは -r フラグで指定されたリゾルバを使用して解決を行います。
サブドメインのリストを標準入力 (STDIN) で渡すこともできます。これにより、自動化パイプラインへの簡単な統合が可能になります。
subfinder -d example.com | shuffledns -d example.com -r resolvers.txt -mode resolve
これは subfinder によって受動的に見つかったサブドメインを使用し、shuffledns で解決して、一意で有効なサブドメインのみを返します。
サブドメインブルートフォース
shuffledns は、指定されたワードリストを使用したターゲットのブルートフォースもサポートしています。-w フラグを使用してワードリストを渡すと、そのワードリストから生成された順列が massdns を使用して解決されます。
shuffledns -d hackerone.com -w wordlist.txt -r resolvers.txt -mode bruteforce
これにより、ワードリスト wordlist.txt を使用して hackerone.com に対してツールが実行されます。ドメインブルートフォースは、サブドメイン解決の前の例と同様に標準入力でも実行できます。
echo hackerone.com | shuffledns -w wordlist.txt -r resolvers.txt -mode bruteforce
ワイルドカードの処理
|
-d) 入力でのみ動作します。shuffledns は GPL v3 ライセンス の下で配布されています。
前提条件
また、有効なリゾルバのリストが必要です。dnsvalidator プロジェクトを使用してこれらのリストを生成できます。さらに、ワードリストを提供する必要があります。カスタムワードリストを使用するか、commonspeak2-wordlist を使用できます。 |