HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dirb — Scan HTTP-based webservers for directories and files. More information: <https://manned.org/dirb>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpcommandclidirbbasedwebserversscanfor
linux

Problem

How to use the dirb command: Scan HTTP-based webservers for directories and files. More information: <https://manned.org/dirb>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/dirb

Revisions (0)

No revisions yet.