gobuster dir -u http://example.com -w /usr/share/wordlists/dirb/common.txt
This is the most common use case. The tool attempts to find hidden directories and files on a web server. gobuster commands upd
: Identifies virtual hosts on a target server. Syntax : gobuster vhost -u -w . gobuster dir -u http://example
: Use -s to filter for specific responses like 200,301 . Silent Mode : Use -z to hide progress bars for cleaner logs. Syntax : gobuster vhost -u -w
Example:
| Mode | Command | Use Case | | :--- | :--- | :--- | | | gobuster dir -u URL -w list.txt -x php,txt | Find folders/files. | | DNS | gobuster dns -d domain.com -w list.txt | Find subdomains. | | VHost | gobuster vhost -u URL -w list.txt --append-domain | Find virtual hosts (internal sites). | | Fuzz | gobuster fuzz -u URL/FUZZ -w list.txt | Custom brute forcing. |