Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more than one dictionary? -w? #58

Closed
r3k2 opened this issue Sep 22, 2017 · 8 comments
Closed

add more than one dictionary? -w? #58

r3k2 opened this issue Sep 22, 2017 · 8 comments

Comments

@r3k2
Copy link

r3k2 commented Sep 22, 2017

Hello is there a way to add more than one dictionary? I tried -w dic.txt,dic2.txt also with -w dic.txt -w dict2.txt with no luck
Also recursive in most cases sucks.. but is not to have the option in case is needed...

@OJ
Copy link
Owner

OJ commented Sep 22, 2017

Hi @chrisfernandez,

The easy way is cat and pipe, like this:

$ cat dic.txt dic2.txt | gobuster ...

As far as recursive goes, I won't be adding it. Soon I'll be writing a wiki page that will explain why. I've even had an issue open for a while to remind me :) Thanks!

@OJ OJ closed this as completed Sep 22, 2017
@r3k2
Copy link
Author

r3k2 commented Sep 22, 2017

oh true.. thanks.

@r3k2
Copy link
Author

r3k2 commented Sep 27, 2017

Hello @OJ sorry did not had time to try this until now.. the apps exits if a -w is not passed

[!] WordList (-w): Must be specified

so the stdin is not working
Gobuster v1.3

@OJ OJ reopened this Sep 27, 2017
@OJ
Copy link
Owner

OJ commented Sep 27, 2017

Hi @chrisfernandez, I'm sorry to hear that. Leave this with me and I'll see what's going on. It should work. Would you mind giving me the platform you're running it on?

Thank you.

PS. Short term fix is catting all the wordlists together.. but yeah not idea. Sorry!

@r3k2
Copy link
Author

r3k2 commented Sep 27, 2017

@OJ hey no problem, I'm happy to help find bugs. I am using Arch GNU/Linux
example command:

[ blackarch comandos ]$ cat ~/herramientas/diccionarios/SecLists/Discovery/Web_Content/common.txt | gobuster  -t 300 -s 200,204,301,302,307,403,500  -u http://192.168.1.10

Gobuster v1.3                OJ Reeves (@TheColonial)
=====================================================
[!] WordList (-w): Must be specified
=====================================================

Hope this helps.
and for testing of course I am just using one .txt/dictionary so for the moment I just wait :) thanks.

@rsrdesarrollo
Copy link

Another workaround, use process substitution:

gobuster -t 300 -s 200,204,301,302,307,403,500 -u http://192.168.1.10 -w <(cat ~/herramientas/diccionarios/SecLists/Discovery/Web_Content/common.txt )

@firefart
Copy link
Collaborator

I also had some troubles with STDIN especially when called from within bash files. That's why I reworked the stdin logic here #79 if you want to give it a try (pass - to -w parameter). Installation instructions to get the changes to your local gobuster installation are also included in the PR description.

@firefart
Copy link
Collaborator

this should work now (v3.1-cleaned branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants