← Back to Tools
Web Hacking

DirBuster

Multi-threaded directory and file brute-forcer for hidden web content discovery.

Category
Web Hacking
Platform
Linux / Kali
Type
GUI + CLI / Open Source
Skill Level
Beginner → Intermediate

What is DirBuster?

DirBuster is a multi-threaded Java application developed by OWASP for brute-forcing directories and files on web servers. It attempts to discover hidden paths — admin panels, backup files, configuration pages, and upload directories — by requesting entries from a wordlist and recording which ones return valid HTTP responses. It includes a GUI for ease of use and ships with several built-in wordlists. Note: for faster CLI-based scanning, many professionals now prefer gobuster or ffuf.

⚠ Legal Notice

Only use on systems you own or have explicit written permission to test. Unauthorized use violates Pakistan's PECA 2016 and international cybercrime laws.

Installation

# Update packages
sudo apt update

# Install DirBuster (requires Java)
sudo apt install dirbuster -y

# Ensure Java is installed
sudo apt install default-jre -y

# Launch GUI
dirbuster

# OR launch headless (CLI mode)
java -jar /usr/share/dirbuster/DirBuster-1.0-RC1.jar \
  -H -u http://example.com/ \
  -l /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt

GUI Workflow

# 1. Launch DirBuster
dirbuster

# 2. Set the target URL:
#    e.g. http://example.com:80/

# 3. Choose scan type:
#    - List based brute force (recommended — use a wordlist)
#    - Pure brute force (slower, generates all combinations)

# 4. Select a wordlist:
#    /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt

# 5. Set file extensions to search for:
#    e.g. php,html,txt,bak,zip

# 6. Set number of threads (20-50 is reasonable)

# 7. Click Start and monitor results in the Results tab

Built-in Wordlists

Common Use Cases

Further Reading

Practice on legal targets like TryHackMe, HackTheBox, or hackzia.site labs. Always read the official documentation before using in a live engagement.