Gobuster examples
GoBuster is a tool used to brute-force URIs (directories and files), DNS subdomains and virtual host names. For this machine, we will focus on using it to brute-force directories.
gobuster dir -u http://$IP:$port -w /usr/share/wordlists/dirb/common.txt
Find specific file, for example 'php'.
gobuster dir -u http://$IP:$port -x php -w /usr/share/wordlists/dirb/common.txt
-e :Print the full URLs in your console
-u :The target URL
-w :Path to your wordlist
-U and -P :Username and Password for Basic Auth
-p <x> :Proxy to use for requests
-c <http cookies> :Specify a cookie for simulating your auth