gobusterをGobuster Package Descriptionの通り実行してみたところ以下のエラーとなった。
# gobuster -u http://bank.htb -w /usr/share/seclists/Discovery/Web-Content/Common-PHP-Filenames.txt Error: unknown shorthand flag: 'u' in -u
dirというサブオプションを利用すればよい。
# gobuster dir -u http://bank.htb -w /usr/share/seclists/Discovery/Web-Content/Common-PHP-Filenames.txt =============================================================== Gobuster v3.0.1 by OJ Reeves (@TheColonial) & Christian Mehlmauer (@_FireFart_) =============================================================== [+] Url: http://bank.htb [+] Threads: 10 [+] Wordlist: /usr/share/seclists/Discovery/Web-Content/Common-PHP-Filenames.txt [+] Status codes: 200,204,301,302,307,401,403 [+] User Agent: gobuster/3.0.1 [+] Timeout: 10s =============================================================== 2020/08/02 05:25:24 Starting gobuster =============================================================== /index.php (Status: 302) /login.php (Status: 200) /logout.php (Status: 302) /support.php (Status: 302) =============================================================== 2020/08/02 05:28:08 Finished ===============================================================
参考
https://github.com/OJ/gobuster/issues/158