Dirb

https://medium.com/@strikoder/comparing-directory-bruteforcing-tools-once-in-never-out-d2da24819bd4

Switches:

Use -w to scan RUCURSIVLY

Use case-insensitive search (-i)

Saving the output (-o)

Scan using a proxy (-p)

Don’t perform recursive searches (-r)

Setting this option will stop dirb from performing recursive scan of the directories.

Search for files with a specific extension (-X)

You can use this option if you want to search for files with a particular extension. For example, to search for text files (.txt) extension, we can use dirb as shown below.
You can also search for multiple file extensions using dirb. Just add all the file extensions you want to search for in a text file and use the (-x) option as shown below. For example, to search for all file extensions specified in a file named “ext_text”.

Simple usage:

dirb

For Apache server use this wordlist:

dirb /usr/share/dirb/wordlists/vulns/apache.txt

Directory scan with authentication

dirb http://192.168.1.85/ -u "username:password" /usr/share/wordlists/dirb/common.txt