dirb Command-Line Cheat Sheet

Photo by Anete Lusina on Pexels
Published 18 April 2024 Last updated 19 April 2024 An older guide that hasn't been re-checked yet, so commands or versions may have moved on. How guides are made and checked

This cheat sheet references some of the most commonly used dirb commands. Whether you’re a seasoned professional looking to brush up on your command-line skills or a newcomer eager to explore the possibilities of networking through dirb, you’ll find valuable insights and shortcuts here.

Installation

DistributionCommand
Debian/Ubuntusudo apt install dirb
CentOS/Fedora/Red Hatsudo yum install dirb
NixOSnix-env -iA nixos.dirb

dirb Cheat Sheet Commands

TaskCommand
Basic scandirb http://example.com
Scan with wordlistdirb http://example.com /usr/share/dirb/wordlists/common.txt
Ignore errorsdirb http://example.com -S
Use custom portdirb http://example.com -p 8080

Example output:

Wrapping Up

This dirb cheat sheet has highlighted the tool’s flexibility and power for everything from simple tasks to advanced operations. Mastering dirb can significantly boost your networking skills. Keep practising, exploring further resources, and share your findings to deepen your understanding and contribute to the community’s collective knowledge.

You May Also Be Interested In

References

The Debian dirb manual - https://manpages.debian.org/unstable/dirb/dirb.1.en.html.