
go install github.com/puzzlepeaches/ffufw@latest
ffufw は、ディレクトリのブルートフォースをより簡単かつインテリジェントにするための ffuf のラッパーです。このツールには以下の機能があります:
このプロジェクトではGoのインストールが必要です。インストール手順はこちらにあります。または、次のコマンドとリポジトリを使用してGoをすばやくインストールすることもできます:
wget -q -O - https://git.io/vQhTU | bash
次のコマンドでツールをインストールします:
go install github.com/puzzlepeaches/ffufw@latest
このツールを実行するには、次のツールが必要です:
次のコマンドで要件をインストールします:
go install github.com/Damian89/ffufPostprocessing@latest
go install github.com/ffuf/ffuf/v2@latest
ワードリストは、システム上にまだ存在しない場合、初回実行時に ~/.ffufw/wordlists/ ディレクトリにダウンロードされます。ダウンロードされるすべてのワードリストの一覧については、cmd/wordlists/storage.go を参照してください。単一のカスタムワードリストもサポートされており、-w フラグを使用して指定できます。
このツールのヘルプメニューは次のとおりです:
ffuf with that special sauce
Usage:
ffufw [flags] -i <input file> -o <output directory>
ffufw [command]
Available Commands:
help Help about any command
version Print the version number of generated code example
Flags:
-t, --concurrency int Set the concurrency level for scanning (default 3)
-c, --config string Specify the config file for FFUF (default "~/.ffufrc")
-w, --custom-wordlist string Specify a custom wordlist to use for scanning. This disable technology detection and pre-defined wordlists for all URLs.
-e, --exclude-waf Exclude WAFs from the scans.
--ffuf string Specify the path to the ffuf binary (default "ffuf")
--ffufPostprocessing string Specify the path to the ffufPostprocessing binary (default "ffufPostprocessing")
-g, --gowitness string Specify the address for the gowitness API. Ensure format is http://<ip>:<port>
-h, --help help for ffufw
-i, --input string Specify the list of URLs to scan
-o, --output string Specify the output directory for FFUF results
-q, --quiet Enable silent mode (no additional information printed)
-r, --replay-proxy string Specify the address for a replay proxy. Ensure format is http://<ip>:<port>
-v, --verbose Enable verbose mode (print additional information)
Use "ffufw [command] --help" for more information about a command.
カスタムffuf設定ファイルとverbose出力を使用した、ツールの非常に基本的な使い方:
ffufw -o /tmp/output/ -i /tmp/targets.txt -c /opt/.ffufrc -v
出力をgowitnessに送る基本的な使い方:
ffufw -o /tmp/output/ -i /tmp/targets.txt -g http://127.0.0.1:9999
カスタムのffufおよびffufPostprocessingバイナリを使用する場合:
ffufw --ffuf /usr/local/bin/ffuf --ffufPostprocessing /usr/local/bin/ffufPostprocessing -o /tmp/output/ -i /tmp/targets.txt
カスタムの同時実行数(一度にスキャンするURLの数)を使用する場合:
ffufw -o /tmp/output/ -i /tmp/targets.txt -c /opt/.ffufrc -t 5
gowitness、verbose出力、WAF除外を使用した基本的な使い方:
ffufw -o /tmp/output/ -i /tmp/urls.txt -c /opt/.ffufrc -v -e -g http://127.0.0.1:9000
5スレッドとリプレイプロキシ(Burp、Zapなど)への送信を使用した基本的な使い方:
ffufw -o /tmp/output/ -i /tmp/urls.txt -c /opt/.ffufrc -t 5 -r http://127.0.0.1:8080