Files
cheatsheet-tldr/tldr/linux/dirb
2025-04-20 00:20:58 +00:00

26 lines
614 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# dirb
> Scan HTTP-based webservers for directories and files.
> More information: <https://manned.org/dirb>.
- Scan a webserver using the default wordlist:
`dirb {{https://example.org}}`
- Scan a webserver using a custom wordlist:
`dirb {{https://example.org}} {{path/to/wordlist.txt}}`
- Scan a webserver non-recursively:
`dirb {{https://example.org}} -r`
- Scan a webserver using a specified user-agent and cookie for HTTP-requests:
`dirb {{https://example.org}} -a {{user_agent_string}} -c {{cookie_string}}`