# GoBuster

GoBuster scans the most common directories which are used on a WebApp / Website. To run this scan GoBuster needs to be installed first: **sudo apt-get install gobuster**

Once GoBuster is installed we can run it as following:

`<span class="monospace"><strong>sudo gobuster dir -u http://<ip>:<port> -w /usr/share/wordlist/dirbuster/ -x php,sh.txt,cgi,html,js,css,py</strong></span>`

<table id="bkmrk-gobuster-flag-descri"><tbody><tr><td>**GoBuster flag**</td><td>**Description**</td></tr><tr><td>-e</td><td>Print the full URLs in your console</td></tr><tr><td>-u</td><td>The target URL</td></tr><tr><td>-w</td><td>Path to your wordlist</td></tr><tr><td>-U and -P</td><td>Username and Password for Basic Auth</td></tr><tr><td>-p **&lt;x&gt;**</td><td>Proxy to use for requests</td></tr><tr><td>-c &lt;http cookies&gt;</td><td>Specify a cookie for simulating your auth</td></tr></tbody></table>

<span class="wikiexternallink">[https://tools.kali.org/web-applications/gobuster](https://tools.kali.org/web-applications/gobuster)</span>

<div class="wikimodel-emptyline" id="bkmrk-">  
</div>After the run you see something like that:

[![image.png](https://wiki.togogo.ch/uploads/images/gallery/2022-07/scaled-1680-/kJ0image.png)](https://wiki.togogo.ch/uploads/images/gallery/2022-07/kJ0image.png)