Finding files and folders with DirBuster
DirBuster is a tool created to discover, by brute force or by comparison with a wordlist, the existing files and directories in a web server. We will use it in this recipe to search for a specific list of files and directories.
Getting ready
We will use a text file that contains the list of words that we will ask DirBuster to look for. Create a text file, dir_dictionary.txt
, containing the following:
info server-status server-info cgi-bin robots.txt phpmyadmin admin login
How to do it...
DirBuster is an application made in Java; it can be called from Kali's main menu or from a terminal using the dirbuster
command. The following are the steps required to make such call:
- Navigate to
Applications
|03 -
Web Application Analysis
|Web Crawlers & Directory Bruteforcing
|Dirbuster
. In the DirBuster window, set the target URL to
http://192.168.56.11/
.- Set the number of threads to 20 to have a decent testing speed.
- Select
List based brute force
and click...