Gobuster is a simple and fast tool used to discover hidden directories, files, and subdomains on a website. It works by trying different words from a wordlist and checking which ones exist on the target site. You can install Gobuster in Termux easily and start discovering hidden paths on websites.
Installation Commands
Update and upgrade all Termux packages:
pkg update && pkg upgrade
Install required package (Go language):
pkg install golang
Install Gobuster using Go:
go install github.com/OJ/gobuster/v3@latest
Add Gobuster to PATH:
export PATH=$PATH:$(go env GOPATH)/bin
Check if Gobuster is installed successfully:
gobuster version
Usage Commands
Show help menu:
gobuster -h
Show directory scan options:
gobuster dir -h
Scan directories on a website:
gobuster dir -u https://example.com -w wordlist.txt
Scan with a specific file extension:
gobuster dir -u https://example.com -w wordlist.txt -x php,html,txt
Scan subdomains of a website:
gobuster dns -d example.com -w subdomains.txt
Use multiple threads for faster scanning:
gobuster dir -u https://example.com -w wordlist.txt -t 50
Hide status codes (like 404):
gobuster dir -u https://example.com -w wordlist.txt -b 404
Save output results to a file:
gobuster dir -u https://example.com -w wordlist.txt -o result.txt








