gobuster Command-Line Cheat Sheet

Photo by Anete Lusina on Pexels
Published 19 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 gobuster 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 web enumeration through Gobuster, you’ll find valuable insights and shortcuts here.

Installation

DistributionCommand
Debian/Ubuntusudo apt-get install gobuster
CentOS/Fedora/RHELsudo dnf install gobuster
NixOsnix-env -iA nixos.gobuster

gobuster Cheat Sheet Commands

TaskCommand
Directory/File Enumerationgobuster dir -u <URL> -w <wordlist>
DNS Subdomain Enumerationgobuster dns -d <domain> -w <wordlist>
Virtual Host Discoverygobuster vhost -u <URL> -w <wordlist>
HTTP Header Enumerationgobuster headers -u <URL> -w <wordlist>
SSL Certificate Enumerationgobuster cert -u <URL> -w <wordlist>

Example Output:

Wrapping Up

This gobuster cheat sheet has highlighted the tool’s flexibility and power for everything from simple tasks to advanced operations. Mastering Gobuster can significantly boost your web enumeration 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

Gobuster Documentation: https://github.com/OJ/gobuster/blob/master/README.md