dirsearch Command-Line Cheat Sheet

Photo by Sora Shimazaki 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 dirsearch 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 dirsearch, you’ll find valuable insights and shortcuts here.

Installation

Clone dirsearch by using the following command:

git clone https://github.com/maurosoria/dirsearch.git --depth 1

dirsearch Cheat Sheet Commands

TaskCommand
Basic scandirsearch -u http://example.com
Scan with specific extensionsdirsearch -u http://example.com -e php,html,js
Use a custom wordlistdirsearch -u http://example.com -w /path/to/wordlist.txt
Recursive scandirsearch -u http://example.com -r
Save output to a filedirsearch -u http://example.com -o /path/to/output.txt

Example output:

Wrapping Up

This dirsearch cheat sheet has highlighted the tool’s flexibility and power for everything from simple tasks to advanced operations. Mastering dirsearch 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

Read the dirsearch official website - https://github.com/maurosoria/dirsearch/tree/master.