Missing usr/share/dirb folder across pwnboxes

Hello,

I am not sure if this is user error but for this section it asks us to use GoBuster to find the hidden directories on the given server.

The wordlist it tells you to use in the section is in
/usr/share/dirb/wordlists/common.txt

The pwnbox im using does not appear to have the dirb directory. I tired using the similar sounding /share/dirbuster/ wordlists (all of the lists in this directory) but those would not find what the section was asking me to find.

I am wondering if this is user error or if there should be a /share/dirb/wordlists/common.txt.

Once i enumerate the directory with the correct word list i am confident i know how to complete the section.

I am editing this to say that this issue has come up in a few more modules and looks like it will be an issue for any module requiring the use of GoBuster.

thanks :slight_smile:

Hi,
I’m pretty sure the wordlist directory is located at /usr/share/wordlists/dirb/*. There are a lot of wordlists, and they are all stored inside one directory, in the /usr/share/ path.

You can also use find to locate your wordlists:

find / -name "wordlist" 2>/dev/null

Find. in the root directory (/), something named “wordlist”. Errors?>/dev/null

Hello,

Thanks so much for the response.
I have searched for dirb across the pwn box using:
2024-08-30 20_52_17-Window

2024-08-30 20_53_29-Window

and finally both commands

2024-08-30 20_54_58-Window

I really hope im not missing something extremely obvious :frowning:

cheers,

That if you are searching for common.txt you should state the name “common.txt” you your find command :slight_smile:

the link is bad that the course provides for the common.txt do this to get it work

sudo wget https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/common.txt -O/usr/share/wordlists/common.txt

then execute the line below

sudo gobuster dir -w /usr/share/wordlists/common.txt -u {your target IP}

it will work.